Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257240 - x11-libs/gtk+-2.14.7-r1 doesn't emerge due to configure error
Summary: x11-libs/gtk+-2.14.7-r1 doesn't emerge due to configure error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-01 16:10 UTC by MATSUI Tetsushi
Modified: 2009-02-20 06:05 UTC (History)
0 users

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 MATSUI Tetsushi 2009-02-01 16:10:02 UTC
Emerging x11-libs/gtk+-2.14.7-r1 fails in econf at point of checking libjpeg.
(Or at tiff, if you are enabling it, maybe.)



Reproducible: Always

Steps to Reproduce:
1. make sure you have libjpeg on prefixed library path, but not on /usr/lib.
2. emerge =gtk+-2.14.7-r1

Actual Results:  
checking whether dynamic modules work... yes
checking for jpeg_destroy_decompress in -ljpeg... no
configure: WARNING: *** JPEG loader will not be built (JPEG library not found) ***
configure: error:
*** Checks for JPEG loader failed. You can build without it by passing
*** --without-libjpeg to configure but some programs using GTK+ may
*** not work properly

!!! Please attach the following file when seeking support:
!!! /Users/tetsushi/Gentoo/var/tmp/portage/x11-libs/gtk+-2.14.7-r1/work/gtk+-2.14.7/config.log
 * ERROR: x11-libs/gtk+-2.14.7-r1 failed:
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2889: <call econf '--libdir=/Users/tetsushi/Gentoo/usr/lib' '--disable-gtk-doc' '--with-libjpeg' '--without-libjasper' '--without-libtiff' '--disable-xinerama' '--disable-cups' '--with-libpng' '--with-gdktarget=quartz'>
 *               ebuild.sh: 543: 			die "econf failed"
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.


Expected Results:  
checking whether dynamic modules work... yes
checking for jpeg_destroy_decompress in -ljpeg... yes


This happens because autoconf macros doesn't know the prefixed path.
Specifying it as --libdir is not enough; we have to pass it as LDFLAGS.

I have 2.14.5 installed with no problems, so something has changed after it.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-02-19 23:06:13 UTC
eh? I have it installed here. USE="X jpeg tiff" Still have issues?
Comment 2 MATSUI Tetsushi 2009-02-20 06:02:24 UTC
You're right. It's working now.
Thank you.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-02-20 06:05:38 UTC
resolving then, thx for the reply