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 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 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 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 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-type: image/jpeg");
> > > > >
> > > > > $im = imagecreate(50,100);
> > > > > $white = imagecolorallocate($im, 255,255,255);
> > > > > $black = imagecolorallocate($im, 0, 0, 0);
> > > > > imagefilledrectangle($im, 0,0, 49, 99, $white);
> > > > > imagefilledrectangle($im, 15, 15, 20, 60, $black);
> > > > > imagejpeg($im, '', 75);
> > > > >
> > > > > I get this error:
> > > > >
> > > > > [Mon Oct 14 11:28:33 2002] [error] PHP Fatal error:  Call to undefined
> > > > > function:  imagejpeg() in /usr/www/gold/imgen/index.php on line 9
> > > > >
> > > > > I find it odd that none of the other image functions fail, and running
> > > > > 'strings' against libphp4.so tells me that the imagejpeg function is in
> > > > > the binary.  Any ideas?
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > New Disorder Records "you've heard of us now, so shut up and buy the damn
> > > > > Sacrilicious CD" - www.newdisorder.com
> > > > > Pirx the Pilot: One of the top three Structuralist punk rock bands in the
> > > > > country.  www.pirxthepilot.com
> > > > >
> > > > >
> > > > > --
> > > > > PHP Install Mailing List (http://www.php.net/)
> > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> > --
> > New Disorder Records "you've heard of us now, so shut up and buy the damn
> > Sacrilicious CD" - www.newdisorder.com
> > Pirx the Pilot: One of the top three Structuralist punk rock bands in the
> > country.  www.pirxthepilot.com
> >
> 
> 
> 

-- 
New Disorder Records "you've heard of us now, so shut up and buy the damn 
Sacrilicious CD" - www.newdisorder.com
Pirx the Pilot: One of the top three Structuralist punk rock bands in the 
country.  www.pirxthepilot.com


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to