Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7333 - mod_php-4.2.2-r1.ebuild problems with imagecreatefromjpeg
Summary: mod_php-4.2.2-r1.ebuild problems with imagecreatefromjpeg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-01 11:15 UTC by Julian J.
Modified: 2003-02-04 19:42 UTC (History)
3 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 Julian J. 2002-09-01 11:15:21 UTC
With this release (-r1) if you have pdflib in your USE, the function
imagecreatefromjpeg() doesn't work. Looking at the ebuild, you can see:

        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

That is... if you USE pdflib, jpeg and tiff libraries won't be found by the
configure script.

Greetings

Julian J.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-01 14:06:33 UTC
which package is this for, please?
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-09-01 20:54:07 UTC
I'm quite confident this is a non-issue.  pdflib comes with jpeg and tiff
support built in... If this isn't the case, and I'm following someone off of a
cliff please correct me.
Comment 3 Julian J. 2002-09-02 18:23:20 UTC
It is an issue... If you USE pdflib, mod_php says imagecreatefromjpeg() is
unresolved. I guess pdflib has jpeg and tiff support, but is it exported? or is
it used only internally?

You can check jpg support, with a call to phpinfo(), under the GD section.

It didn't happen with mod_php-4.2.2.ebuild. Also, according to bug #2708, the
problematic USE was java...

Anyway, I now have it working... Greetings