Jeremie Courreges-Anglas: > > imlib2-config and pkg-config imlib2 don't agree: > > I think that "-L/usr/local/lib -L/usr/X11R6/lib -lImlib2" and > "-I/usr/local/include -I/usr/X11R6/include" should be enough.
Yes to "-I/usr/local/include -I/usr/X11R6/include". However, in "-L/usr/local/lib -L/usr/X11R6/lib -lImlib2" the X11R6 path is useless. It should be either just -L/usr/local/lib -lImlib2 or -L/usr/local/lib -L/usr/X11R6/lib -lImlib2 -lfreetype -lz -lm -lXext -lX11 For imlib2.pc, something like Libs: -L${libdir} -lImlib2 Libs.private: -L${X11BASE}/lib -lfreetype -lz -lm -lXext -lX11 Cflags: -I${includedir} -I${X11BASE}/include may make sense. But then again, we have stopped listing interlibrary dependencies... -- Christian "naddy" Weisgerber na...@mips.inka.de