Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8918 - mod_php-4.2.2-r1.ebuild and php-4.2.2-r1.ebuild both lack jpeg image support with pdflib enabled
Summary: mod_php-4.2.2-r1.ebuild and php-4.2.2-r1.ebuild both lack jpeg image support ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-08 22:54 UTC by PJ
Modified: 2003-02-04 19:42 UTC (History)
2 users (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 PJ 2002-10-08 22:54:02 UTC
Hi. In the latest revision of the php and mod_php ebuilds, the following code 
was added:

        # rphillips - should fix #2708
        if [ "`use pdflib`" ] ; then
                myconf="${myconf} --with-pdflib=/usr"
        else
                use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib"
                use tiff && myconf="${myconf} --with-tiff-dir=/usr"
        fi

When I spoke with rphillips, he said this was due to pdflib having support for 
the jpeg image functions. With at least PHP 4.2.2, this is not the case. In 
both PHP and Mod_PHP, when the ebuild is left as is, with pdflib support 
enabled there all jpeg image manipulation functions are disabled.

When editing the ebuild to look as follows, I recieve no errors. The jpeg image 
functions also work:
        
        use pdflib && myconf="${myconf} --with-pdflib=/usr"
        use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib"
        use tiff && myconf="${myconf} --with-tiff-dir=/usr"

I am not sure if a php version change altered this, or what. Thanks.

-PJ
http://www.elitegamer.com
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-10-31 15:25:26 UTC
PJ - Has this been resolved?
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-11-26 17:27:24 UTC
should be resolved in 4.2.3