From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 21:47:45 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A765B16A4CE; Thu, 13 Jan 2005 21:47:45 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECD4C43D1F; Thu, 13 Jan 2005 21:47:43 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a025.otenet.gr [212.205.215.25]) j0DLlbGh023904; Thu, 13 Jan 2005 23:47:38 +0200 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id j0DLla6o014741; Thu, 13 Jan 2005 23:47:36 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id j0DLlaTi014736; Thu, 13 Jan 2005 23:47:36 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 13 Jan 2005 23:47:35 +0200 From: Giorgos Keramidas To: Tom Huppi Message-ID: <20050113214735.GA1258@gothmog.gr> References: <20050113204932.2BAD643D54@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: Keith Bottner cc: freebsd-questions@freebsd.org cc: "Freebsd-Newbies@Freebsd. Org" Subject: Re: automake, autoconf compiling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 21:47:45 -0000 PLEASE DON'T TOP-POST. THANK YOU :-) On 2005-01-13 16:24, Tom Huppi wrote: >On Thu, 13 Jan 2005, Keith Bottner wrote: >> I am trying to get a development system setup and am having trouble >> identifying how FreeBSD handles automake, autoconf and the like. >> [...] I did chase them down in the /usr/local/libexec/automake18 and >> similar directories but placing them in the path still generates >> errors (i.e. there continues to be things that are missing at various >> stages). >> >> I guess my general question is: What is the standard way for setting >> up FreeBSD to use these (GNU tools) with the least trouble across >> disparate projects? > > I've recently been struggling with similar issues, and would be > interested to know what others might have found effective. I use autoconf/automake and libtool daily at work[1]. The programs I write have to run on at least 3 different operating systems (FreeBSD, Linux and Solaris) without the need for constant manual tweaking of the source. The best way to do that is to use the same version of autotools on all those platforms. So, I install the latest possible versions of these tools with --prefix=/opt/autotools on all the machines I have to use, and stop worrying about all the details. When I have to use the tools, I add /opt/autotools/bin at the beginning of my PATH. When I don't need them, I remove /opt/autotools/bin from my path. This has worked wonders so far. - Giorgos [1] The operative keyword here is "at work". I don't use autoconf and friends for programs I write on my own. I prefer bsd.*.mk for that.