Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3853 - media-libs/imlib fails to compile
Summary: media-libs/imlib fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-18 13:00 UTC by Peter Simons
Modified: 2004-05-10 22:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Simons 2002-06-18 13:00:16 UTC
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.
Comment 1 Peter Simons 2002-06-18 13:05:15 UTC
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.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-18 13:10:41 UTC
matt: another gcc-3 issue for you
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2002-07-29 07:09:28 UTC
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?
Comment 4 Spider (RETIRED) gentoo-dev 2002-09-29 13:33:45 UTC
I cant reproduce this either. Can anyone?
Comment 5 foser (RETIRED) gentoo-dev 2002-10-12 10:26:32 UTC
Can't reproduce it either, closing.
Comment 6 Aaron Wegner 2004-05-10 22:45:33 UTC
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