Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2005 23:47:35 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Tom Huppi <thuppi@huppi.com>
Cc:        "Freebsd-Newbies@Freebsd. Org" <freebsd-newbies@freebsd.org>
Subject:   Re: automake, autoconf compiling
Message-ID:  <20050113214735.GA1258@gothmog.gr>
In-Reply-To: <Pine.BSF.4.58.0501131605580.85763@nuumen.pair.com>
References:  <20050113204932.2BAD643D54@mx1.FreeBSD.org> <Pine.BSF.4.58.0501131605580.85763@nuumen.pair.com>

next in thread | previous in thread | raw e-mail | index | archive | help
PLEASE DON'T TOP-POST.  THANK YOU :-)

On 2005-01-13 16:24, Tom Huppi <thuppi@huppi.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050113214735.GA1258>