From owner-freebsd-ports@FreeBSD.ORG Mon Oct 17 15:37:46 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABE5416A41F for ; Mon, 17 Oct 2005 15:37:46 +0000 (GMT) (envelope-from matthias.andree@uni-dortmund.de) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.uni-dortmund.de [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE89043D5A for ; Mon, 17 Oct 2005 15:37:45 +0000 (GMT) (envelope-from matthias.andree@uni-dortmund.de) Received: from localhost (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 43B33444E2; Mon, 17 Oct 2005 17:37:44 +0200 (CEST) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04461-01; Mon, 17 Oct 2005 17:37:42 +0200 (CEST) Received: from [140.118.123.79] (shaka.et.ntust.edu.tw [140.118.123.79]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 38D3F440A6; Mon, 17 Oct 2005 17:37:40 +0200 (CEST) Message-ID: <4353C512.9060400@uni-dortmund.de> Date: Mon, 17 Oct 2005 23:36:50 +0800 From: Matthias Andree User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: enrico.sirola@gmail.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at dt.e-technik.uni-dortmund.de Cc: freebsd-ports@freebsd.org Subject: Re: autotools on freebsd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 15:37:46 -0000 enrico.sirola@gmail.com wrote: > Hello, > I'm going to use automake/libtool/autoconf on freebsd. The project is > a library using libtool. I installed the autotools from the ports and > defined the following environment variables: > > export AUTOCONF="/usr/local/bin/autoconf259" > export AUTOHEADER="/usr/local/bin/autoheader259" > export AUTOMAKE="/usr/local/bin/automake19" > export ACLOCAL="/usr/local/bin/aclocal19" > export AUTOPOINT="/usr/local/bin/autopoint" > export LIBTOOLIZE="/usr/local/bin/libtoolize15" > > then I run > > autoreconf259 --force --install I'll tell you a trick (I fell into the same pit before): the corresponding ports are named gnu-autoconf (and similar) and you need to add /usr/local/gnu-autotools/bin (or something similar, I don't recall the exact spelling off-hand, use pkginfo -L to figure) to your PATH variable. Then you can use the regular autoreconf and friends without suffix. Those with the 259 or 19 suffix are for the ports system, those with gnu- in the port name are for us programmers. It would be nice if this could be documented more clearly, or perhaps the auto* packages be renamed to ports-auto* and gnu-auto* to auto* to remove this confusion. I concede this is a larger change and cannot happen before 6.0. HTH, Matthias