I looked, and I can't figure out why it wouldn't set HAVE_GD_JPG, and I
couldn't find any reason, so I modified config and the Makefile so that it
is set:
#define HAVE_GD_JPG 1
However, that didn't help any. When I compile php and libphp.so, the
Makefile includes -ljpeg. When I run strings
Well, trace through the code and figure out why HAVE_GD_JPG is not defined
in php_config.h. ext/gd/config.m4 checks libgd for gdImageCreateFromJpeg
and sets HAVE_GD_JPG accordingly.
-Rasmus
On Mon, 14 Oct 2002, New Disorder Records wrote:
> my config file says nothing about not finding jpegs.
my config file says nothing about not finding jpegs. what it says is
this:
configure:22952: checking for the location of libjpeg
configure:23013: checking for jpeg_read_header in -ljpeg
no errors.
On Mon, 14 Oct 2002, Rasmus Lerdorf wrote:
> Then check your config.log file to see why the PH
Then check your config.log file to see why the PHP configure check failed
to find it.
On Mon, 14 Oct 2002, New Disorder Records wrote:
> I just tested it, and yes, GD was built with jpeg support. I wrote a
> short C program that uses gd and jpegs, and it works fine.
>
> -Ernst
>
> On Mon, 14 Oc
I doubt it, there is only one version of libgd. Here is my configuration
command:
./configure --with-gd=/home/ernst/gd-1.8.4 --with-jpeg-dir=/usr/lib
--with-sybase-ct=/opt/sybase-11.9.2 --enable-gd-native-ttf
--with-apache=../apache_1.3.26
Thanks for any help
On Mon, 14 Oct 2002, Tomasz Orz
I just tested it, and yes, GD was built with jpeg support. I wrote a
short C program that uses gd and jpegs, and it works fine.
-Ernst
On Mon, 14 Oct 2002, New Disorder Records wrote:
> but my gd library WAS built with jpeg support. as far as I can tell.
> I've built GD a number of times o
but my gd library WAS built with jpeg support. as far as I can tell.
I've built GD a number of times on other machines and always use jpegs.
Any other ideas?
On Mon, 14 Oct 2002, Rasmus Lerdorf wrote:
> Your GD library was not built with jpeg support.
>
> On Mon, 14 Oct 2002, New Disorder Re
Your GD library was not built with jpeg support.
On Mon, 14 Oct 2002, New Disorder Records wrote:
> Hi,
> I have installed php several times, but this is the first time I've
> tried to make image generation work. I compiled php against gd-1.8.4, yet
> when I run this code:
>
> header("Content