Home > Solaris > compile php 5.2 error with : libxml build works… no on Solaris

compile php 5.2 error with : libxml build works… no on Solaris

Here is some guide if you encountered error when compiling php5.2 on solaris 8 or 9.Below is the error :

checking whether to enable LIBXML support… yes
checking libxml2 install dir… no
checking for xml2-config path… /usr/local/bin/xml2-config
checking whether libxml build works… no
configure: error: build test failed.  Please check the config.log for details.

I’ve tried download and install the libxml2 package from http://www.sunfreeware.com but still cannot solved the problem.

to solve the issue, I’ve install the libxml2 package from http://www.xmlsoft.org . I used libxml2-2.7.2.tar.gz source file to install

After that the compilation of php5.2 on solaris run smoothly…

 

 

 

 

 

Categories: Solaris
  1. Mario Gonzales D.
    09/03/2012 at 8:30 pm

    Thanks ansari…it works.

  2. wschloss
    28/01/2014 at 9:35 pm

    ……to solve the issue, I’ve install the libxml2 package from http://www.xmlsoft.org . I used libxml2-2.7.2.tar.gz source file to install

    After that the compilation of php5.4 on solaris run smoothly…..like ansari says!!! even now JAN 2014 for solaris 10

  1. No trackbacks yet.

Leave a comment