Joe Schaefer wrote:

Glenn Gallien <[EMAIL PROTECTED]> writes:

I'm having the same problem while installing libapreq2-2.0.5-dev on
FreeBSD 5.4. Error: /usr/bin/ld: cannot find -lexpat

Apache 2 and mod_perl are installed from souce.  Libtool, autoconf and
automake where installed from ports.  I've tried creating links to
libexpat.a, but it didn't help.
Any suggestions?

 ./configure --help | grep expat

Thanks, that's what I was looking for, --with-expat=/usr/local did the trick.
Works fine with ./configure, but not with Makefile.PL.  Adding --with-expat
to @opts in Makefile.PL worked.

Thanks,
Glenn

Reply via email to