Compiling PHP on solaris

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Not sure if this is the best place to ask this, if not please can
someone point in the right direction.

I am trying to compile PHP 5.2 on a Solaris 9 system.  I need Oracle DB
support so can't use the pre compiled packages on blastwave as I don't
think anyof them include Oracle.

The configure script is:
./configure --prefix=/usr/local/php-5.2.0

And I get the error:
checking for the location of libjpeg... /usr/sfw/lib
checking for the location of libpng... no
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... no
checking for floorf... no
configure: error: libjpeg.(a|so) not found.


[/usr/local/src/php-5.2.0]# ls /usr/sfw/lib

So why is it complaining?  Does anyone know?  I am puzzled why it bales
out after the "checking for floorf... no" line and not straight after
the libjpeg line 9 lines above.

I am using gnu gcc and ld.

Any help would be appreciated!


Site Timeline