From owner-freebsd-questions@FreeBSD.ORG Tue Nov 20 15:38:18 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34BA716A41B for ; Tue, 20 Nov 2007 15:38:18 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (prime.gushi.org [72.9.101.130]) by mx1.freebsd.org (Postfix) with ESMTP id 158ED13C465 for ; Tue, 20 Nov 2007 15:38:17 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.13.8/8.13.8) with ESMTP id lAKFboji028551 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Nov 2007 10:37:51 -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=1195573071; bh=EoEc5cZHf6nQH4eKhX3/tK4wCa8=; h=DomainKey-Signature:Date:From:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=SAMNsd/q+5EzFxH omrRD8rSz/vCZq8iHQyVpBcNTZeil227i5m/mfbpujY1Rg/ZhQIPejTJgIADCa2biY3 LrgA== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=inpwAqWqjpUjFOUb4gHj2C6uFRdPz7PChqqKyCaFm8m+30GJGPHX0sg6cH6kjcam6 G53/Aa5MfkdUB1sl8Thpg== Received: (from danm@localhost) by prime.gushi.org (8.13.8/8.13.8/Submit) id lAKFboTF028550; Tue, 20 Nov 2007 10:37:50 -0500 (EST) (envelope-from danm) Date: Tue, 20 Nov 2007 10:37:46 -0500 (EST) From: "Dan Mahoney, System Admin" To: Jerry McAllister In-Reply-To: <20071120152330.GA40738@gizmo.acns.msu.edu> Message-ID: References: <20071119190959.V51743@prime.gushi.org> <20071120024955.GA38153@gizmo.acns.msu.edu> <20071120152330.GA40738@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii Cc: questions@freebsd.org Subject: Re: Build Frustrations 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: Tue, 20 Nov 2007 15:38:18 -0000 On Tue, 20 Nov 2007, Jerry McAllister wrote: >> Apache2 is a complete piece of crap. "Portable Runtime" my ass. Was >> there something so wrong with APACI? Apache1.3 built out of the box on >> every system in the world. >> >> Using ports is no better. And again, I'll take anything anyone can offer >> to explain half this behavior: >> > > I am using Apache 2.xx with no problem on several machines. > I installed it from ports with no problem. > Since you are determined to proceed against recommendations it > is hard to help you. I wouldn't be surprised if you do not > get many responses. You know, there was a time when the handbook and man security actually recommended NOT using the port and building from scratch -- and if you want the finest-grained control over what you're building this is still the case, especially when some features haven't made it into ports yet. (Like, oh...when the whole of the ports tree goes into a freeze for a release that's "upcoming" but doesn't have a todo list, a schedule, or anything else on the FBSD site). Actually, someone (two different someones) managed to answer both issues. The ports issue was caused by stale cruft in /var/db/pkg and the fix was to remove basically all the automake/autotools/autoconf packages and start over. I also said "screw it" and nuked the apr-db42 port (for reasons mentioned earlier). Apache from ports then built fine (which meant I had an option to fall back on, if need be). Someone on the APR-devel list pointed out that I can do a setenv to define CFLAGS and LDFLAGS to include /usr/local/lib to fix build issues. This allowed apache2-non-ports to compile. However the question in my mind that still bears answering is: why apr would FIND such a library as installed (i.e. not fail at configure-time) but then fail to compile. I.e. why does the APR not set CFLAGS and LDFLAGS correctly. This is not a question for -questions, but I'm stating it here in case anyone has similar issues. -Dan -- "Is Gushi a person or an entity?" "Yes" -Bad Karma, August 25th 2001, Ezzi Computers, Quoting himself earler, referring to Gushi --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org ---------------------------