install error xml

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
taeschd
Posts: 1
Joined: Mon Dec 12, 2005 12:21 pm

install error xml

Post by taeschd »

i try to configure php under Suse Linux 8.2.


apache runs under /usr/local/apache2

mysql runs under /usr/local/mysql

i use
"
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
"
or
"
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-libxml-dir=/usr/lib
"
in both cases i get the error msg
"
...
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/lib
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
"

i checked the xml-dirs, i find it under
"
/var/adm/SuSEconfig/run-libxml2
/usr/lib/libxml2.so.2
/usr/lib/libxmms.so.1
/usr/lib/libxml.so.1
/usr/lib/libxml.so.1.8.17
/usr/lib/libxml2.so.2.5.3
/usr/lib/libxmms.la
/usr/lib/libxmms.so
/usr/lib/libxmms.so.1.2.1
/usr/local/php-5.1.1/ext/xml/tests/bug26614_libxml.phpt
/usr/local/php-5.1.1/ext/libxml
/usr/local/php-5.1.1/ext/libxml/php_libxml.h
/usr/local/php-5.1.1/ext/libxml/php_libxml2.def
/usr/local/php-5.1.1/ext/libxml/libxml.c
/usr/local/php-5.1.1/ext/xmlrpc/libxmlrpc
"
which means it is there.
i checked it with yast2, i find
"
expat
libxml
libxml2
opensp
yast2-xml
"
which means it is there as well.

i checked it in the yast2 runlevel-editor, no xml found.

somebody can help me pls?

many thanks ahead,

peter
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Not a SUSE support board

Post by matteo »

Hi taeschd,
this is a board for supporting PMF and not SUSE or PHP :wink:
I'll suggest U to googling for "install PHP 5 SUSE" e.g.: give a try to http://www.aditus.nu/jpgraph/apache2suse.php
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Post Reply