Compiling PHP on solaris

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • markvr

    Compiling PHP on solaris

    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
    --with-apxs2=/usr/local/apache-2.0.55/bin/apxs
    --with-mysql=/opt/sfw/mysql
    --with-pear
    --with-libxml-dir=/opt/csw/
    --with-config-file-path=/etc/php5
    --with-curl
    --with-dom
    --with-zlib
    --with-oci8=instantcli ent,/usr/local/oracle/instantclient_1 0_2
    --with-gd
    --with-jpeg-dir=/usr/sfw/lib

    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.

    BUT

    [/usr/local/src/php-5.2.0]# ls /usr/sfw/lib
    <snip>
    libjpeg.so libjpeg.so.62

    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!

    Cheers
    Mark

Working...