Re: [GD-DEVEL] Problems installing gd on Debian Linux 4.0
| From: | Pierre Joye | Date: | Tue, 21 Oct 2008 21:12:41 +0000 |
| Subject: | Re: [GD-DEVEL] Problems installing gd on Debian Linux 4.0 | ||
| References: | 1 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-490@lists.php.net to get a copy of this message | ||
On Tue, Oct 21, 2008 at 11:07 PM, William Hudspeth <wbhk@unm.edu> wrote:
> Hello,
>
> I am trying to install gd-2.0.35 on Debian linux 4.0. I have installed
> the libpng libraries from source, and the jpeg libraries using the
> apt-cdrom installer. When I try to configure gd to use these libraries,
> it cannot find those for jpeg.
>
>
> ./configure --with-png=/usr/local/include/libpng12 --with-jpeg=/usr/lib
it sounds wrong.
it should be:
./configure --with-png=/usr/local/ --with-jpeg=/usr/
the prefix is necessary, not the include or lib directories.
hi!
> While I can see libjpeg in /usr/lib, the only possible reference to
> libjpeg I see in the configuration output is:
>
> checking for jpeg_set_defaults in -ljpeg... no
>
> ** Configuration summary for gd 2.0.34:
>
> Support for PNG library: yes
> Support for JPEG library: no
> Support for Freetype 2.x library: yes
> Support for Fontconfig library: no
> Support for Xpm library: no
> Support for pthreads: yes
>
> Otherwise, configure doesn't seem to be able to find jpeg...
>
> I would appreciate any help on what I should be looking for when I use the --with-jpeg=...
> option.
Have you installed the development packages?
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org