From owner-freebsd-questions@FreeBSD.ORG Thu Oct 4 04:54:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D20FC16A418 for ; Thu, 4 Oct 2007 04:54:36 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id B2F7913C448 for ; Thu, 4 Oct 2007 04:54:36 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from philip.hq.rws (74.93.213.161) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.0.730.1; Wed, 3 Oct 2007 21:54:35 -0700 Message-ID: <4704720A.4080904@ridecharge.com> Date: Thu, 4 Oct 2007 00:54:34 -0400 From: "Philip M. Gollucci" Organization: Rideray Inc. User-Agent: Thunderbird 2.0.0.6 (X11/20070919) MIME-Version: 1.0 To: Barry Byrne References: <003301c804eb$b75b78b0$88010c0a@dublin.wbtsystems.com> In-Reply-To: <003301c804eb$b75b78b0$88010c0a@dublin.wbtsystems.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: p5-libapreq2 port fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2007 04:54:36 -0000 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 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/ports/www/p5-libapreq2/work/libapreq2-2.08/include -I/usr/ports/www/p5-libapreq2/work/libapreq2-2.08/glue/perl/xsbuilder -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/db42 -I/usr/local/include -I/usr/local/include/apache22/modules/perl -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 files/patch-glue-perl-Makefile.PL 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 http://people.apache.org/~pgollucci/p5-libapreq2.log http://portsmon.freebsd.org/portoverview.py?category=www&portname=p5-libapreq2 locate modperl_perl_unembed.h /usr/local/include/apache22/modules/perl/modperl_perl_unembed.h locate modperl_common_util.h /usr/local/include/apache22/modules/perl/modperl_common_util.h HTH ------------------------------------------------------------------------ Philip M. Gollucci (philip@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.