Re: GD Question
| From: | Sam Masiello | Date: | Tue, 09 Oct 2001 16:25:57 +0000 |
| Subject: | Re: GD Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70507@lists.php.net to get a copy of this message | ||
I guess that is what I get for trusting the documentation in the script
instead of the help :)
I have libjpeg installed (it came installed as part of my installation) and
the files are in:
/usr/lib/libjpeg.so.62.0.0
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.a
/usr/lib/libjpeg.la
/usr/lib/libjpeg.so
however whenever I recompile PHP with either --with-jpeg-dir
or --with-jpeg-dir=/usr/lib I still get the same warning message (I
recompiled Apache as well) that I was previously getting:
Warning: ImageCreateFromJpeg: No JPEG support in this PHP build
Am I not doing something correctly? Do I need to have something else
installed? I am really quite confused here.
TIA! :)
--Sam
----- Original Message -----
From: "Kees Hoekzema" <kees@tweakers.net>
To: "Sam Masiello" <smasiello@synacor.com>; <php-general@lists.php.net>
Sent: Monday, October 08, 2001 8:32 PM
Subject: RE: [PHP] GD Question
> hello,
>
> from the ./configure --help:
>
> --with-gd[=DIR] Include GD support (DIR is GD's install dir).
> Set DIR to shared to build as a dl, or
> shared,DIR to build as a dl and still specify
DIR.
> --enable-gd-native-ttf GD: Enable TrueType string function in gd
> --with-jpeg-dir=DIR GD: Set the path to libjpeg install prefix.
> --with-png-dir=DIR GD: Set the path to libpng install prefix.
> --with-xpm-dir=DIR GD: Set the path to libXpm install prefix.
> --with-freetype-dir=DIR GD: Set the path to freetype2 install prefix.
> --with-ttf[=DIR] GD: Include FreeType 1.x support
> --with-t1lib[=DIR] GD: Include T1lib support.
>
> Goodluck :)
>
> Kees
>
>
> > -----Original Message-----
> > From: Sam Masiello [mailto:smasiello@synacor.com]
> > Sent: Tuesday, October 09, 2001 2:20 AM
> > To: php-general@lists.php.net
> > Subject: [PHP] GD Question
> >
> >
> > On a page that I am working on, I get the following warning
> > message: Warning: ImageCreateFromJpeg: No JPEG support in this
> > PHP build. In searching through the manual, someone mentioned
> > that this situation calls for a re-compile of PHP including the
> > --with-jpeg-dir option. In looking at the configure script, the
> > description of this switch is the "JPEG directory for libcpdf."
> > Does this mean that I need to download and install libcpdf? Has
> > anyone else experienced this and can possibly offer a little
> > assistance? TIA! --Sam Masiello
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>