Re: --with-xmlrpc fails to detect expat

From: Date: Tue, 16 Apr 2002 07:48:42 +0000
Subject: Re: --with-xmlrpc fails to detect expat
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-5133@lists.php.net to get a copy of this message
Tomas V.V.Cox wrote:
checking whether to enable XML support... yes checking external libexpat install dir... no checking for XMLRPC-EPI support... yes checking libexpat dir for XMLRPC-EPI... no configure: error: XML-RPC support requires libexpat. Use --with-expat-dir=<DIR> My configure: CFLAGS="-fPIC" ./configure --prefix=/usr \ --with-config-file-path=/etc/php/phpcvs \ --with-xml \ --with-xmlrpc
Hmm. IIRC, I didn't have this problem, but --with-xslt option caused link error due to missing -lexpat in Makefile. --with-expat-dir option fixes link error, but it's not nice. It's better to use bandled expat by default for all extension uses expat, IMHO... -- Yasuo Ohgaki

« previous php.qa (#5133) next »