php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24398 Compile fails when trying to find libxml
Submitted: 2003-06-30 00:58 UTC Modified: 2003-06-30 11:25 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: greg at destiney dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.0.0b1 (beta1) OS: RedHat 8.0
Private report: No CVE-ID: None
 [2003-06-30 00:58 UTC] greg at destiney dot com
Description:
------------
My configure line:

./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr

ends with:

checking for new DOM support... yes
not found
configure: error: Please reinstall the libxml >= 2.4.14 distribution

I installed newest libxml from ftp://xmlsoft.org/:

> rpm -qa | grep libxml
libxml2-2.5.7-1

Ran ldconfig, same errors on second attempt.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-30 01:02 UTC] derick@php.net
Can you put your "configure.log" on line, and post the link here?

regards,
Derick
 [2003-06-30 05:11 UTC] fischer at ms-net dot de
same with Mac OS 10.2
installed libxml2 via fink
./configure --with-apxs --with-libxml-dir=/sw/lib
config.log has 870 lines, so i dont attach it
 [2003-06-30 05:44 UTC] adam at indexdata dot dk
RPM user: You need to install package libxml2-devel

MAC user or any other user that don't haev libxml2 installed
in /usr or /usr/local: specify
  --with-libxml-dir=/prefix --with-simplexml=/prefix
 [2003-06-30 08:22 UTC] fischer at ms-net dot de
./configure --with-apxs --disable-xml
gives same error
 [2003-06-30 11:25 UTC] greg at destiney dot com
I installed libxml2-devel as suggested, and it satisfied the dependency.  Compiled, installed, and running..  Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 21:01:27 2024 UTC