Greetings.

In my solaris 2.8 environment, I installed a binary libxml2 (2.6.11)
package from CDW blastwave.org:

$ pkginfo -l CSWlibxml2  
 PKGINST:  CSWlibxml2
      NAME:  libxml2 - Xml parser library
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  2.6.11,REV=2004.07.15
    VENDOR:  http://ftp.gnome.org/pub/GNOME/sources/libxml2 for CSW by Ken Mays

This package puts libxml2 files in to /opt/csw/lib:
$ ls -l  /opt/csw/lib/libxml*
-rwxr-xr-x   1 root     bin          819 Jul 17  2004 /opt/csw/lib/libxml2.la*
lrwxrwxrwx   1 root     other         17 Apr  6 13:33
/opt/csw/lib/libxml2.so -> libxml2.so.2.6.11*
lrwxrwxrwx   1 root     other         17 Apr  6 13:33
/opt/csw/lib/libxml2.so.2 -> libxml2.so.2.6.11*
-rwxr-xr-x   1 root     bin      2091340 Jul 17  2004
/opt/csw/lib/libxml2.so.2.6.11*

So, here's my php 5.0.4 configure parameters.  Note that I point the
libxml-dir to /opt/csw/lib...

./configure 
--with-mysql=/usr/local/mysql-standard-4.1.10a-sun-solaris2.9-sparc-64bit
\
    --with-nsapi=/qaapps/iws6.0 --enable-libgcc --with-libxml-dir=/opt/csw/lib

Here's what configure complains about - missing libxml2 version:

    Configuring extensions
    checking whether to enable LIBXML support... yes
    checking libxml2 install dir... /opt/csw/lib
    configure: error : libxml2 version 2.5.10 or greater required.

I'm not sure why configure cannot find the libxml2.so in /opt/csw/lib.
 The version is 2.6.11, which should satisfy the requirement of
greater than 2.5.10.  Unforunately, I'm unable to untangle the
configure script to figure out what test is failing.

So, if someone could help me debug this or can recommend a different
configuration, I appreciate it !

Jeff

Reply via email to