I tried to emerge media-libs/imlib, but the configure stage fails with the error message: | checking for jpeglib.h... no What is weird because the header file is clearly there and I can include it from other programs just fine. My guess is that the configure script that comes with the library is broken and needs to be patched.
I found the problem: I compile the package with gcc 3.1, which issues the following warning during the configure stage: | cpp0: warning: changing search order for system directory "/usr/X11R6/include" | cpp0: warning: as it has already been specified as a non-system directory This is interpreted as failure by the configure script, thus it doesn't find the any of the header files, though they're clearly there.
matt: another gcc-3 issue for you
i can't reproduce this with gcc3.2pre and i'm pretty sure i didn't see it with gcc3.1 (since this machine was boostrapped with gcc3.1). Can you tell me more about your config?
I cant reproduce this either. Can anyone?
Can't reproduce it either, closing.
I'm also getting errors. I tried to troubleshoot for a while, but didn't get too far. If you just type ./configure and make, it builds just fine, but then it will not be recognized by the emerge dependency system? Don't know. checking X11/extensions/XShm.h... yes checking for jpeg_destroy_decompress in -ljpeg... yes checking for jpeglib.h... no configure: error: *** JPEG header file not found *** !!! ERROR: media-libs/imlib-1.9.14-r1 failed. !!! Function econf, Line 365, Exitcode 1 !!! econf failed