These are the steps I use to install libapreq2.

# ./configure --with-apache2-apxs=/path/to/apache/apxs --with-expat=/usr/local --enable-perl-glue
# gmake
# gmake test
# gmake install

Except for the --with-expat flag, this is what is in the INSTALL doc. If you checkout from svn, run ./buildconf first.

It is best to compile everything with the same compiler and the same version perl, otherwise you will likely have problems.

I hope that's of some help.

-Glenn



How do I find out what *all* the special options needed are?

Thanks,
Joe N.

----- Original Message ----- From: <gl...@gallien.net>
To: "mod_perl list" <modperl@perl.apache.org>
Sent: Thursday, October 29, 2009 12:14 PM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


I've been using apache2/mod_perl2 on FreeBSD for years. Currently using 6.3 and 7.2. Installing from ports should work fine, but I prefer to install separate versions of apache2 and mod_perl2 from source. Haven't had a problem installing either of those in sometime. Installing libapreq2 on FreeBSD requires some special options, like passing --with-expat=/usr/local to configure and using gmake.

-Glenn



--

Glenn Gallien
Gallien Consulting, Inc.
www.gallien.net

Reply via email to