From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 22:55:13 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 3625E16A57E for ; Thu, 13 Jan 2005 22:55:13 +0000 (GMT) Received: from pluto.phpwebhosting.com (pluto.phpwebhosting.com [69.0.209.128]) by mx1.FreeBSD.org (Postfix) with SMTP id 7C9FF43D46 for ; Thu, 13 Jan 2005 22:55:12 +0000 (GMT) (envelope-from keith@barkinglizards.com) Received: (qmail 20559 invoked from network); 13 Jan 2005 22:55:10 -0000 Received: from unknown (HELO Rand) (69.152.101.1) by pluto.phpwebhosting.com with SMTP; 13 Jan 2005 22:55:10 -0000 From: "Keith Bottner" To: "'Giorgos Keramidas'" , "'Tom Huppi'" Date: Thu, 13 Jan 2005 16:55:15 -0600 Organization: Barking Lizards Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <20050113214735.GA1258@gothmog.gr> Thread-Index: AcT5uY6anJToVyYkQM6Bq3pRJ1NIvQACO+Mg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-Id: <20050113225512.7C9FF43D46@mx1.FreeBSD.org> 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 22:55:13 -0000 All of the information both of your provided is helpful. I will have to investigate further. Some of the information that Tom specified helped me to track down the problem. Basically I have multiple versions of the tools installed and there are two different directories with aclocal m4 files. If I explicitly change the shell script to also include the other directory then everything seems to continue on until compile time when there is a header that cannot be found. It appears this header alloca.h is located in /usr/src/gnu/usr.bin/sort/alloca.h. I was just wondering if Giorgos method would also alleviate these problems or if this is just par for the course when using projects that people have not moved into the ports collection? Keith -----Original Message----- From: owner-freebsd-newbies@freebsd.org [mailto:owner-freebsd-newbies@freebsd.org] On Behalf Of Giorgos Keramidas Sent: Thursday, January 13, 2005 3:48 PM To: Tom Huppi Cc: Keith Bottner; freebsd-questions@freebsd.org; Freebsd-Newbies@Freebsd. Org Subject: Re: automake, autoconf compiling 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. _______________________________________________ freebsd-newbies@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 1/12/2005