From owner-freebsd-ports@FreeBSD.ORG Mon Oct 17 15:10:08 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 5981516A41F for ; Mon, 17 Oct 2005 15:10:08 +0000 (GMT) (envelope-from enrico.sirola@statpro.com) Received: from eru.aleph.it (eru.aleph.it [194.185.246.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D31AB43D46 for ; Mon, 17 Oct 2005 15:10:07 +0000 (GMT) (envelope-from enrico.sirola@statpro.com) Received: from localhost.localdomain (unknown [194.185.246.48]) by eru.aleph.it (Postfix) with ESMTP id 8EC702BC20 for ; Mon, 17 Oct 2005 17:10:58 +0200 (CEST) Sender: sirolae@localhost.localdomain To: freebsd-ports@freebsd.org From: enrico.sirola@gmail.com Date: 17 Oct 2005 17:10:05 +0200 Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: autotools on freebsd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: enrico.sirola@gmail.com 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:10:08 -0000 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 and I see the AC_PROG_LIBTOOL is undefined, so I guess the libtool15.m4 macro file is in the wrong directory. Running aclocal19 --print-ac-dir shows /usr/local/share/aclocal19 while libtools' macros are in /usr/local/share/aclocal What i've done in order to make aclocal happy is to add a dirlist file to /usr/local/share/aclocal19 containing /usr/local/share/aclocal, anyway I guess this isn't the right way to do things. What is the canonical way to use libtool on freebsd? Thanks in advance, enrico -- Enrico Sirola