Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 4173 invoked from network); 8 Apr 2005 11:14:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Apr 2005 11:14:37 -0000 Received: (qmail 96180 invoked by uid 500); 8 Apr 2005 11:14:32 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 96072 invoked by uid 500); 8 Apr 2005 11:14:31 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 96023 invoked by uid 99); 8 Apr 2005 11:14:31 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=FORGED_RCVD_HELO,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from c66-236-219-70.ip.panth.com (HELO piccollo.p6m7g8.net) (66.236.219.70) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 08 Apr 2005 04:14:29 -0700 Received: from [192.168.0.113] (pcp09579574pcs.rtchrd01.md.comcast.net [68.48.16.23]) (authenticated bits=0) by piccollo.p6m7g8.net (8.13.3/8.13.3) with ESMTP id j38BEQAf036701 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Fri, 8 Apr 2005 07:14:27 -0400 (EDT) (envelope-from pgollucci@p6m7g8.com) Message-ID: <4256678C.70102@p6m7g8.com> Date: Fri, 08 Apr 2005 07:14:20 -0400 From: "Philip M. Gollucci" User-Agent: Mozilla Thunderbird 1.0 (X11/20050325) X-Accept-Language: en-us, en MIME-Version: 1.0 To: apreq-dev@httpd.apache.org Subject: [PATCH] libexpat.a on FreeBSD Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, libexpat is not in /usr because its install via ports tree which goes in /usr/local by default. /usr/local is not in the APR's LTFLAGS search path. To fix this, I added an option to configure --with-expat=DIR then run ./configure .... --with-expat=/usr/local Index: acinclude.m4 =================================================================== --- acinclude.m4 (revision 160535) +++ acinclude.m4 (working copy) @@ -30,7 +30,10 @@ AC_ARG_WITH(perl-opts, AC_HELP_STRING([--with-perl-opts],[extra MakeMaker options]), [PERL_OPTS=$withval],[PERL_OPTS=""]) - + AC_ARG_WITH(expat, + AC_HELP_STRING([--with-expat=DIR], [Specify Expat location]), + [EXPAT_DIR=$withval],[EXPAT_DIR=""]) + prereq_check="$PERL build/version_check.pl" if test -n "$APACHE2_SRC"; then @@ -156,6 +159,11 @@ APR_ADDTO([APR_LDFLAGS], "`$APU_CONFIG --link-ld --ldflags`") APR_ADDTO([APR_LDFLAGS], "`$APR_CONFIG --link-ld --ldflags`") + if test -n "$EXPAT_DIR"; then + APR_ADDTO([APR_INCLUDES], "-I$EXPAT_DIR/include") + APR_ADDTO([APR_LTFLAGS], "-L$EXPAT_DIR/lib") + fi + dnl Absolute source/build directory abs_srcdir=`(cd $srcdir && pwd)` abs_builddir=`pwd` -- END ------------------------------------------------------ Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198 Consultant / http://p6m7g8.net/Resume/resume.shtml