Library problems during configure on RHAS 3.0 with PHP 5.1.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux