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
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.
(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.