Library problems during configure on RHAS 3.0 with PHP 5.1.6
| From: | Suley, Mohit \(GE, Corporate, consultant\) | Date: | Thu, 28 Sep 2006 14:00:12 +0000 |
| Subject: | Library problems during configure on RHAS 3.0 with PHP 5.1.6 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17666@lists.php.net to get a copy of this message | ||
Hello,
I am trying to compile PHP 5.1.6 on Redhat AS 3.0 , but have been hitting problems during configure.
Here are some details:
Configure:
./configure --with-apxs2=/appl/apache/bin/apxs --prefix=/appl/php-5.1.6 --with-mysql --with-xml
--with-curl=/appl/curl7/to/curl/tree --with-regex=system --with-xml --with-zlib
--enable-memory-limit --enable-bcmath --enable-shmop --enable-versioning --enable-calendar
--enable-dbx --enable-dio --enable-mbstring --enable-force-cgi-redirect --disable-debug --enable-pic
--disable-rpath --enable-inline-optimization--enable-sockets
Fails at :
... 8< ....
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation
...>8 .....
Upon trying to install libxml2 :
# rpm -ivh libxml2-2.6.26-2.1.1.i386.rpm libxml2-devel-2.6.26-2.1.1.i386.rpm
warning: libxml2-2.6.26-2.1.1.i386.rpm: V3 DSA signature: NOKEY, key ID 897da07a
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by libxml2-2.6.26-2.1.1
rtld(GNU_HASH) is needed by libxml2-2.6.26-2.1.1
/usr/bin/python is needed by libxml2-devel-2.6.26-2.1.1
pkgconfig is needed by libxml2-devel-2.6.26-2.1.1
For Glibc 2.4:
# rpm -Uvh glibc-2.4.90-22.i386.rpm
warning: glibc-2.4.90-22.i386.rpm: V3 DSA signature: NOKEY, key ID 897da07a
error: Failed dependencies:
glibc-common = 2.4.90-22 is needed by glibc-2.4.90-22
kernel < 2.6.9 conflicts with glibc-2.4.90-22
glibc > 2.3.4 conflicts with glibc-common-2.3.4-2.25
glibc = 2.3.4-2.25 is needed by (installed) glibc-headers-2.3.4-2.25
glibc = 2.3.4-2.25 is needed by (installed) glibc-devel-2.3.4-2.25
I can get rid of the dependencies for devel and common, but I do not want to move to the 2.6 kernel
yet. Is it possible to install libxml2 without this major change? I tried a force-install, but as
expected, it failed during the conftest.
Any suggestions would be helpful.
Thanks,
Mohit