p5-libapreq2 port fails to build

Philip M. Gollucci pgollucci at ridecharge.com
Wed Oct 3 21:54:36 PDT 2007

Barry Byrne wrote:
> Hi All,
> Not sure if it's related to the upgrade to autoconf 2.61, but libapreq2 now
> fails to build.
> Running on 6.2-RELEASE-p7 with ports tree up to date.
> The header files referenced in the first two lines below do existin in:
>         /usr/local/include/apache22/modules/perl/
Hmmmm -- very odd -- this actually works for me.  Likely your ports tree
was in flux.  What was the actual compile line -- the one with the
-I<include> stuff?

Should be similiar to this:
cd perl; make
cp lib/Apache2/Cookie.pm blib/lib/Apache2/Cookie.pm
cp lib/Apache2/Upload.pm blib/lib/Apache2/Upload.pm
cp lib/Apache2/Request.pm blib/lib/Apache2/Request.pm
cp Request.pm ../../../blib/lib/APR/Request.pm
cp Request.pod ../../../blib/lib/APR/Request.pod
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap
/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Apache2/typemap -typemap
../../typemap  Request.xs > Request.xsc && mv Request.xsc Request.c
cc -c  -I/usr/ports/www/p5-libapreq2/work/libapreq2-2.08/glue/perl/xs
-I/usr/local/include/apache22  -I/usr/local/include/apr-1
-I/usr/local/include/db42 -I/usr/local/include
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include
-I/usr/local/lib/perl5/5.8.8/mach/CORE -DMOD_PERL -DMP_COMPAT_1X -O
-pipe -march=pentium4    -DVERSION=\"2.08\"  -DXS_VERSION=\"2.08\" -DPIC
-fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"

Look like a variant of this patch is already there in

cd /var/db/pkg ; ls -ld auto* apache* *perl* m4*
Oct  4 00:38:06 2007 apache-2.2.6_2
Oct  3 17:49:15 2007 autoconf-2.61_2
Oct  3 17:49:15 2007 autoconf-wrapper-20070404
Oct  3 17:49:15 2007 automake-wrapper-20070404
Oct  3 17:49:18 2007 m4-1.4.9
Oct  4 00:38:06 2007 mod_perl2-2.0.3_2,3
Oct  4 00:38:05 2007 perl-5.8.8



locate modperl_perl_unembed.h

locate modperl_common_util.h


Philip M. Gollucci (philip at ridecharge.com) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

More information about the freebsd-questions mailing list