Bug 28330 - Cairo 1.8.10 fails to compile
Summary: Cairo 1.8.10 fails to compile
Status: RESOLVED NOTABUG
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.8.10
Hardware: x86-64 (AMD64) FreeBSD
: medium blocker
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 08:03 UTC by a
Modified: 2010-05-31 11:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Output of "make" done for cairo (102.35 KB, text/plain)
2010-05-31 08:03 UTC, a
Details

Description a 2010-05-31 08:03:13 UTC
Created attachment 35970 [details]
Output of "make" done for cairo

Hi,

Coming from a regular "portupgrade" I found myself in the situation, that a number of ports weren't upgraded because cairo fails to compile. To me this looks like syntax errors.

This error is absolutely reproducible - I even did a "make distclean" in order to start out with a clean state - same story.

Unfortunately a log of ports like firefox depend on cairo so I'm completely stuck in my installation tasks.

Thanks much in advance for your help - and please drop me a line if you need further information.

Kind regards,
-ewald
Comment 1 Chris Wilson 2010-05-31 08:20:48 UTC
If you can answer the question how did it detect the png headers during configure but fail to include the relevant directory during compile, you've solved the problem.

There should be a config.log which hopefully will give the details of the png tests.
Comment 2 a 2010-05-31 11:10:02 UTC
(In reply to comment #1)
> If you can answer the question how did it detect the png headers during
> configure but fail to include the relevant directory during compile, you've
> solved the problem.
> 
> There should be a config.log which hopefully will give the details of the png
> tests.

Hi Chris,

Thanks much for pointing me in the right direction (config.log):

...
configure:22497: checking for cairo's PNG functions feature
configure:22530: checking for png
configure:22537: $PKG_CONFIG --exists --print-errors "$png_REQUIRES"
gnome-config: not found
Package libpng was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpng' found
configure:22540: $? = 1
...

libpng (/usr/ports/graphics/png) was installed on the system in question, but for some reason /usr/local/libdata/pkgconfig/libpng.pc was missing which is just a link to /usr/local/libdata/pkgconfig/libpng14.pc.

I re-installed the "png"-port and now cairo is happy again.

Thanks again for your help!

-ewald


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.