[PHP] compiling PHP with jpeg-support

2001-01-14 Thread Joakim Bomelin

Hi.
I'm trying to compile PHP with jpeg-support, but it doesn't seem to work.
my configure-line looks like this: "./configure 
--with-apxs=/usr/local/apache/bin/apxs --with-ldap --with-mysql --with-gd 
--with-jpeg-dir=/usr --with-png --with-zlib --with-ttf" and when I run it I 
get:
checking for libjpeg (needed by gd-1.8+)... yes
checking for jpeg_read_header in -ljpeg... yes
checking for gdImageCreateFromJpeg in -lgd... no

imagePng() and imagettftext() is working, so PNG and Freetype is compiled 
in. imageJpeg(), how ever, does NOT work.

Any ideas on how I can solve this problem?

/Joakim


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] compiling PHP with jpeg-support

2001-01-14 Thread Joakim Bomelin


Your GD library probably wasn't compiled with jpeg support.

When I try to use gdImageJpeg() in a C program I get no errors. Is there a 
way of telling wheter GD has jpeg support or not?

/Joakim


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] compiling PHP with jpeg-support

2001-01-14 Thread Rasmus Lerdorf

nm -o libgd.a | grep -i jpeg

Triple-check that you don't have multiple versions of libgd.a on your
system.

-Rasmus

On Sun, 14 Jan 2001, Joakim Bomelin wrote:


 Your GD library probably wasn't compiled with jpeg support.

 When I try to use gdImageJpeg() in a C program I get no errors. Is there a
 way of telling wheter GD has jpeg support or not?

 /Joakim


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]