Bug #21078 [Com]: configure: error: not found. Please reinstall the expat distribution.
| From: | faizal_pribadi at aol dot com | Date: | Wed, 22 Jan 2014 19:05:55 +0000 |
| Subject: | Bug #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-183958@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=21078&edit=1
ID: 21078
Comment by: faizal_pribadi at aol dot com
Reported by: r_byrne at blackdogsoft dot net
Summary: configure: error: not found. Please reinstall the
expat distribution.
Status: Not a bug
Type: Bug
Package: *Configuration Issues
Operating System: redhat linux 8.0
PHP Version: 4.3.0RC3
Block user comment: N
Private report: N
New Comment:
I Found This Solution If You Use Debian Or Ubuntu
apt-get install libvarnishapi-dev
After this, re-install pecl varnish !
Previous Comments:
------------------------------------------------------------------------
[2002-12-18 09:13:49] derick@php.net
Read my response again.
------------------------------------------------------------------------
[2002-12-18 09:12:53] r_byrne at blackdogsoft dot net
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
------------------------------------------------------------------------
[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 at blackdogsoft dot 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 https://bugs.php.net/bug.php?id=21078&edit=1