Things that needs to be changed: Build with gmake - not the FreeBSD make!
src/Makefile - Add -L/usr/local/lib to the following line so expat lib is found:
LIBS = /usr/local/lib/apache2/libapr-0.la -lm -lcrypt /usr/local/lib/apache2/libaprutil-0.la -lexpat
glue/Makefile - change invocations of make to gmake
Add the ppport.h file found here: http://marc.theaimsgroup.com/?l=apreq-dev&m=107104807218621&w=2
Add the dAX patch found here: http://marc.theaimsgroup.com/?l=apreq-dev&m=107110581723271&w=2
Now the package builds and installs but the server tests fail. I'll make some real programming tests with it tonight.
The following files have been installed, does this look reasonable?
platon# pkg_info -L bsdpan-libapreq2-0.10 Information for bsdpan-libapreq2-0.10:
Files: ///usr/local/lib/perl5/5.6.1/man/man3/Apache::Cookie.3 ///usr/local/lib/perl5/5.6.1/man/man3/Apache::Request.3 ///usr/local/lib/perl5/site_perl/5.6.1/mach/Apache2/Apache/Cookie.pm ///usr/local/lib/perl5/site_perl/5.6.1/mach/Apache2/Apache/Cookie.pod ///usr/local/lib/perl5/site_perl/5.6.1/mach/Apache2/Apache/Request.pm ///usr/local/lib/perl5/site_perl/5.6.1/mach/Apache2/Apache/Request.pod ///usr/local/lib/perl5/site_perl/5.6.1/mach/Apache2/auto/Apache/Cookie/Cookie.bs ///usr/local/lib/perl5/site_perl/5.6.1/mach/Apache2/auto/Apache/Cookie/Cookie.so ///usr/local/lib/perl5/site_perl/5.6.1/mach/Apache2/auto/Apache/Request/Request.bs ///usr/local/lib/perl5/site_perl/5.6.1/mach/Apache2/auto/Apache/Request/Request.so ///usr/local/lib/perl5/site_perl/5.6.1/mach/auto/libapreq2/.packlist
Thanks for any help making this work!
/Martin
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html