Re: freebsd-5.2.1+ php-4.3.9 + gd-2.0.33
From: lark (lark1341-widgetaccount_at_yahoo.com)
Date: Tue, 31 May 2005 16:26:15 GMT
> Hello there,
> I am tryin to compile PHP with GD support under FreeBSD-5.2.1:
> # cd php-4.3.11
> # ./configure \
> --with-gd=/usr/local/src/gd-2.0.33/ \
> --with-png-dir=/usr/local/src/libpng-1.2.8/ \
> --with-zlib-dir=/usr/local/src/zlib/ \
> checking for GD support... yes
> checking for the location of libpng... /usr/local/src/libpng-1.2.8/
> If configure fails try --with-jpeg-dir=<DIR>
> configure: error: libpng.(a|so) not found.
> why libpng.(a|so) not found ?
> # ls -l /usr/local/src/libpng-1.2.8/libpng.a
> -rw-r--r-- 1 root wheel 160448 May 31 12:48
> What is my mistake? Where to read about correct way to install php
> + gd + libjpeg + libpng ?
doesn't look like you have compiled your png and zlib and jpeg code! i
think you need to compile those babies first and then provide the path
of the compiled code to php for compilation.
i think you can read a lot of php related stuff and how to compile
different sources into it at their site php.net
hope this helps.