Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17077

Summary: Problem merging mod_php ( libjpeg )
Product: Gentoo Linux Reporter: patg68 <usernet>
Component: [OLD] ServerAssignee: PHP Bugs <php-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mod_php-4.2.1-r2.ebuild (update)

Description patg68 2003-03-08 07:27:25 UTC
when checking before compiling, I get this error message :
checking for jpeg_read_header in -ljpeg... no
configure : error: libjpeg not found

ERROR: dev-php/mod_php-4.3.1 failed.
Funtion src_compile, Line 217, Exitcode 1
bad ./configure
Comment 1 Kfir Ozer 2003-03-09 08:38:24 UTC
Created attachment 9160 [details]
mod_php-4.2.1-r2.ebuild (update)

i read in the forum about this problem like a cupple of months ago. everyone
understand that --with-jpeg-dir= should be changed from /usr/lib to /usr. still
no ebuild that fixes that! why it takes so long?! so here i changed /usr/lib to
/usr for ya! :)
Comment 2 Daniel Seyffer 2003-03-11 12:20:36 UTC
Had the same problem - emerge mod_php-4.3.1-r1 always failed.

substituting:
-       use jpeg && myconf="${myconf} --with-jpeg-dir=/usr"
+       use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib"

as Kfir suggested helped. Thanks a lot! :-)

By the way - just saw that this seems to be a duplicate for bug #16910 (and probably #16465).
Comment 3 SpanKY gentoo-dev 2003-03-12 12:13:29 UTC

*** This bug has been marked as a duplicate of 16910 ***