cd LIBAPREQ2.0.7
./configure --with-expat=/usr/local/apr --with-apache2-apxs=/usr/
local/apache2/bin/apxs --enable-perl-glue
make
make test
make install
note: if you're running any of the perl xml stuff on osx, you'll
also need to download and install expat from sourceforge separately.
getting perl modules to install on osx using the apache expat is damn
frustrating. having 2 sep. libs is ugly, but it works.
On Feb 23, 2006, at 5:44 PM, Boysenberry Payne wrote:
I'm getting:
ld: can't locate file for: -lexpat
While trying to build on OS X 10.3.9 / Apache 2.0.55
When I 'find /usr -name "*expat*" I get:
/usr/include/php/ext/xml/expat
/usr/include/php/ext/xml/expat/expat.h
/usr/local/apache2/include/expat.h
/usr/local/apache2/lib/libexpat.0.1.0.dylib
/usr/local/apache2/lib/libexpat.0.dylib
/usr/local/apache2/lib/libexpat.a
/usr/local/apache2/lib/libexpat.dylib
/usr/local/apache2/lib/libexpat.la
/usr/local/share/doc/libxml2-2.6.23/html/tutorial/includexpath.c
/usr/share/doc/libxml2-2.6.16/html/tutorial/includexpath.c
/usr/X11R6/include/expat.h
/usr/X11R6/lib/libexpat.1.0.dylib
/usr/X11R6/lib/libexpat.1.dylib
/usr/X11R6/lib/libexpat.a
/usr/X11R6/lib/libexpat.dylib
Am I missing expat, or is something conflicted?
Thanks,
Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com