You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Glenn Gallien <gl...@gallien.net> on 2005/06/17 19:25:17 UTC
Re: expat install libapreq2-2.0.5-dev
Marc Lambrichs wrote:
> Marc Lambrichs wrote:
>
>> I'm trying to install libapreq2-2.0.5-dev on freebsd 5.4 box. Error
>> "/usr/bin/ld: cannot find -lexpat" pops up. I've checked
>> /usr/local/lib/libexpat.a exists and in the Makefile
>> libdir is ok ( /usr/local/lib ) and
>> APR_LDFLAGS contains -L/usr/local/lib
>> What's wrong?
>>
>> Cheers,
>> Marc
>>
>>
> Creating links in /usr/local/lib/apache2 solved that problem.
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?
Thanks,
Glenn
Re: [PATCH] Makefile.PL
Posted by Joe Schaefer <jo...@sunstarsys.com>.
"Philip M. Gollucci" <pg...@p6m7g8.com> writes:
> Here's an official patch based on this to complete my --with-expat to
> ./configure from before.
Thanks, applied.
--
Joe Schaefer
[PATCH] Makefile.PL
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
>
>> Glenn Gallien wrote:
>>
>>> 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.
>>
>> Score one for me :)
>
Here's an official patch based on this to complete my --with-expat to
./configure from before.
Thanks Glen.
Index: Makefile.PL
===================================================================
--- Makefile.PL (revision 202418)
+++ Makefile.PL (working copy)
@@ -18,7 +18,8 @@
my %opts;
undef @opts{qw(with-apache2-apxs with-apache1-apxs with-apache2-src
with-perl with-apache2-httpd
- with-apr-config with-apu-config apxs)};
+ with-apr-config with-apu-config apxs
+ with-expat)};
undef @opts{qw(with-apache2)} if (WIN32);
my @flags = qw/enable-maintainer-mode enable-perl-glue disable-perl-glue/;
--
END
---------------------------------------------------------
What doesn't kill us can only make us stronger.
Nothing is impossible.
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
http://www.liquidityservicesinc.com
http://www.liquidation.com
http://www.uksurplus.com
http://www.govliquidation.com
http://www.gowholesale.com
Re: expat install libapreq2-2.0.5-dev
Posted by Jonathan Vanasco <jv...@mastersofbranding.com>.
Just so its google-able for the next person with the issue:
Installing libapreq2-2.0.5-dev on Mac OSX ( OS X ) 10.3 jaguar and 10.4
tiger
cd LIBAPREQ2
./configure --enable-perl-glue --with-expat=/usr/local/apr
--with-apache2-apxs=/usr/local/apache2/bin/apxs
make
make test
make install
On Jun 19, 2005, at 11:32 PM, Philip M. Gollucci wrote:
> Glenn Gallien wrote:
>> 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.
> Score one for me :)
Re: expat install libapreq2-2.0.5-dev
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Glenn Gallien wrote:
> 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.
Score one for me :)
--
END
------------------------------------------------------------
What doesn't kill us, can only make us stronger.
Nothing is impossible.
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
http://www.liquidityservicesinc.com
Re: expat install libapreq2-2.0.5-dev
Posted by Glenn Gallien <gl...@gallien.net>.
Joe Schaefer wrote:
>Glenn Gallien <gl...@gallien.net> 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
Re: expat install libapreq2-2.0.5-dev
Posted by Joe Schaefer <jo...@sunstarsys.com>.
Glenn Gallien <gl...@gallien.net> 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
--
Joe Schaefer