From dev-return-19437-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Tue Nov 20 19:37:29 2007 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 27441 invoked from network); 20 Nov 2007 19:37:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2007 19:37:29 -0000 Received: (qmail 98180 invoked by uid 500); 20 Nov 2007 19:37:15 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 97914 invoked by uid 500); 20 Nov 2007 19:37:14 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 97903 invoked by uid 99); 20 Nov 2007 19:37:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 11:37:14 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of danm@prime.gushi.org designates 72.9.101.130 as permitted sender) Received: from [72.9.101.130] (HELO prime.gushi.org) (72.9.101.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 19:37:17 +0000 Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.13.8/8.13.8) with ESMTP id lAKJatZK086941 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 20 Nov 2007 14:36:55 -0500 (EST) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1195587416; bh=AyBLNvzPSjmQlTdcRelgKriNVG0=; h=DomainKey-Signature:Date:From:To:Subject:In-Reply-To:Message-ID: References:MIME-Version:Content-Type; b=oglSCNJYy9WGggSzNThkCzG21e JqP4BmcS/nQC7IF910ziFBnb7/Ngj7r4GMaVsevtucNW0C1y9DTTx8agpLRg== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:subject:in-reply-to:message-id: references:mime-version:content-type; b=Av332k9KUsPj59DcaHSy8U5BsNUghDidY3ZcMglSVgxkuGqP0rCGUwYGS4wChfHou fF/afAqACH2QW8bCrxT5Q== Received: (from danm@localhost) by prime.gushi.org (8.13.8/8.13.8/Submit) id lAKJasfe086936; Tue, 20 Nov 2007 14:36:54 -0500 (EST) (envelope-from danm) Date: Tue, 20 Nov 2007 14:36:54 -0500 (EST) From: "Dan Mahoney, System Admin" To: dev@apr.apache.org Subject: Re: Build difficuties for apache 2.2.6 In-Reply-To: <20071119150255.V50518@prime.gushi.org> Message-ID: References: <20071119150255.V50518@prime.gushi.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 19 Nov 2007, Dan Mahoney, System Admin wrote: Note: I managed to get past the previously posted difficulties with some help from a very helpful person who suggested I do: setenv CFLAGS "-L/usr/local/lib -I/usr/local/include" setenv LDFLAGS "$CFLAGS" However, my question goes to: Why does apache try to COMPILE against something it cannot link against. Philip M. Gollucci suggested I post this question here: My configure arguments were only this: "./configure" \ "--enable-modules=most" \ "--enable-mods-shared=most" \ "--prefix=/usr/local/apache2-pierski" \ "--with-mpm=worker" \ "--with-included-apr" \ "--with-expat=builtin" \ To get the error I got (right below). What confuses me is why I get it at COMPILE TIME, not at CONFIGURE TIME. (I.e APR should have correctly set the CFLAGS/LDFLAGS), if it didn't bomb out because it couldn't find the things. Anyone who can shed some light (or who needs access to a machine for testing) please let me know. -Dan > /home/danm/httpd-2.2.6/srclib/apr/libtool --silent --mode=link gcc -g -O2 -o > htpasswd htpasswd.lo -lm /home/danm/httpd-2.2.6/srclib/pcre/libpcre.la > /home/danm/httpd-2.2.6/srclib/apr-util/libaprutil-1.la > /home/danm/httpd-2.2.6/srclib/apr-util/xml/expat/lib/libexpat.la > /home/danm/httpd-2.2.6/srclib/apr/libapr-1.la -lcrypt -lpthread > /home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined > reference to `libiconv_open' > /home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined > reference to `libiconv_close' > /home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined > reference to `libiconv' > *** Error code 1 > > Stop in /home5/danm/httpd-2.2.6/support. > *** Error code 1 > > Stop in /home5/danm/httpd-2.2.6/support. > *** Error code 1 > > Stop in /home5/danm/httpd-2.2.6. > prime# -- "You're a daddy. I'm a mommy. She's our baby. Deal with it." -Cali, 11/7/02, about 1:35 AM --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org ---------------------------