Re: jpeg libraries.
| From: | Curt Zirzow | Date: | Fri, 29 Aug 2003 16:42:46 +0000 |
| Subject: | Re: jpeg libraries. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161168@lists.php.net to get a copy of this message | ||
* Thus wrote Jason Wong (php-general@gremlins.biz):
> On Friday 29 August 2003 23:19, Mike At Spy wrote:
> > > * Thus wrote Mike At Spy (spycobalt@spyproductions.com):
> > > > It did install some jpeg stuff under /usr/local/bin, but I don't see
> > > > anything added to /usr/local/lib.
> > > >
> > > > After that, I re-compiled php with:
> > > >
> > > > --with-jpeg
> > > >
> > > > But nothing changed.
> > > >
> > > > I re-compiled again with:
> > > >
> > > > --with-jpeg=/usr/local/bin
> > >
> > > try --with-jpeg=/usr/local
> >
> > Thanks - tried that, but it didn't work. i.e. jpeg is still not enabled
> > in gd. :\
> >
> > Does anyone know how to get jpeg enabled in gd?
>
> Yes.
>
> > I'm using php 4.3.3.
>
> Unless dramatic changes were made in 4.3.3 then the procedure should be the
> same as the previous versions. Namely:
>
> --with-gd --with-jpeg-dir=/directory/where/jpeg/libs/are/installed
This is correct. I should have looked at my config to say that it
should be:
--with-jpeg-dir=/usr/local
instead of --with-jpeg=/usr/local
Curt
--
"I used to think I was indecisive, but now I'm not so sure."