Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install / libxml2 problem on Solaris 10 x86

Status
Not open for further replies.

MorganGreylock

Programmer
Jan 30, 2001
223
US
I am trying to run configure on my Solaris 10/x86 workstation for PHP5. I keep running into the same error:

Code:
configure: error: libxml2 version 2.6.11 or greater required.

I downloaded, configured, compiled, and installed 2.6.27 of libxml2, and it said it used the basedir of /usr/local. Here is the configure command I am trying to execute:

Code:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pgsql --with-libxml-dir=/usr/local --without-pear

And I continue to get the same error. I've tried putting /usr/local/include and several other directories in the --with-libxml-dir variable, but nothing seems to work.
I've verified that /usr/local/include/libxml2/libxml/xmlversion.h says that it is version 2.6.27. The one in /usr/include says 2.6.10, but I don't have that in my configure command anywhere, and I'm not sure what else to try. Any suggestions?

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top