#21078 [Com]: configure: error: not found. Please reinstall the expat distribution.

From: Date: Wed, 18 Dec 2002 15:12:53 +0000
Subject: #21078 [Com]: configure: error: not found. Please reinstall the expat distribution.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27971@lists.php.net to get a copy of this message
ID: 21078 Comment by: r_byrne@blackdogsoft.net Reported By: r_byrne@blackdogsoft.net Status: Bogus Bug Type: *Configuration Issues Operating System: redhat linux 8.0 PHP Version: 4.3.0RC3 New Comment: I am sorry that I was not clearer with the 'bug' part. expat is currently installed and being used by python and perl. All the appropriate files are located in /usr/lib/ and it is telling me to reinstall. I have reinstalled and installed 'expat-devel-1.95.4-1.i386.rpm' as well. I have tried configuration with and without the development rpm. Why isn't PHP seeing the expat libraries? Is it looking for a different version? Do I need to configure with a different compiler? I'm sorry if this still doesn't qualify as a bug and if that is the case I will try the support site. Sounds like PHP's not seeing expat where I have specified. Thanks in advance. Robert Byrne Previous Comments: ------------------------------------------------------------------------ [2002-12-18 08:58:42] derick@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. You need to spcify the root install dir for expat --with-expat-dir=/usr (but normally you wouldn't need to add this option at all). ------------------------------------------------------------------------ [2002-12-18 08:55:43] r_byrne@blackdogsoft.net ./configure --prefix=/apache/php/ --with-apache2 --with-apxs2=/apache/bin/apxs --with-dom --with-xmlrpc --enable-wddx --with-xml --with-dom --with-expat-dir=/usr/lib/ --enable-so --enable-tracking-vars So, obviously I am configuring PHP to work with XML. I have not yet tried the sablotron and the only bugs I have seen regarding expat are blamed on sablotron. I keep getting the error: configure: error: not found. Please reinstall the expat distribution. I am new to linux and have been writing PHP on a junior level for a year and a half. Any explanations are greatly appreciated. Thanks in advance. Robert Byrne ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21078&edit=1

« previous php.bugs (#27971) next »