GNOME Bugzilla – Bug 132242
libcroco-0.4.0 pc-file corrupt ....
Last modified: 2004-12-22 21:47:04 UTC
The following should be in the libcroco.pc file that is generated, if not librsvg cannot be built ...... Cflags: -I${includedir}/libcroco -I${includedir}/libcroco/seleng -I${includedir}/libcroco/parser
I just ran into this problem, too. (I was checking bugzilla for it when I found this report). I suspect the problem is that the source ships with a libcroco.pc that sets prefix=/usr/local But, for me, I build outside of the srcdir, and so I end up with libcroco.pc in srcdir and libcroco.pc in builddir, and they're definitely different. I suspect that if I delete libcroco.pc from srcdir after unpacking, that it will install a correct version. Will test shortly.
Doh! I'm an idiot. I still had the build laying around, so I just deleted the .pc from srcdir, and did a make install from builddir. pkg-config --cflags libcroco now lists the proper directories. Should be careful not to ship pregenerated files (outside of those from autotools).
This should be fixed in the CVS Head now. Thank you for reporting this. Dodji.