From owner-freebsd-ports@FreeBSD.ORG Fri Dec 29 23:51:32 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6238D16A412 for ; Fri, 29 Dec 2006 23:51:32 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id ECAAA13C43E for ; Fri, 29 Dec 2006 23:51:31 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so3959606uge for ; Fri, 29 Dec 2006 15:51:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; b=a9SQsBq8bBpoldD0aa2sAV6jDhpKmeJjIzd3QKsL+XTeJDwVICHnQGQDgjzmKWiwSqrfr6PB9MtSjZikBlFc0aVICZksYjf3mACLNn7OMgqP0DMy1MiluKgakr1a1gDSLgSdPISEk9mKBKNlpzs3tQAhsezpWamYA0Sdj0xVcss= Received: by 10.67.117.18 with SMTP id u18mr10138819ugm.1167434674694; Fri, 29 Dec 2006 15:24:34 -0800 (PST) Received: from gauss.sanabria.es ( [84.77.165.162]) by mx.google.com with ESMTP id q40sm26748140ugc.2006.12.29.15.24.33; Fri, 29 Dec 2006 15:24:34 -0800 (PST) Received: by gauss.sanabria.es (Postfix, from userid 1001) id 545EF4072; Sat, 30 Dec 2006 00:24:32 +0100 (CET) Date: Sat, 30 Dec 2006 00:24:32 +0100 From: =?iso-8859-1?Q?Jos=E9_G=2E?= Juanino To: freebsd-ports@freebsd.org Message-ID: <20061229232432.GA15899@gauss.sanabria.es> Mail-Followup-To: freebsd-ports@freebsd.org References: <200612291601.34546.durian@shadetreesoftware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <200612291601.34546.durian@shadetreesoftware.com> X-Operating-System: FreeBSD 6.1-RELEASE-p10 User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: autotools problems 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: Fri, 29 Dec 2006 23:51:32 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El s=E1bado 30 de diciembre a las 00:01:34 CET, Mike Durian escribi=F3: > Again, this relates to my working trying to build sipX. Though FreeBSD > already has almost all the dependancies required by sipX, it is > missing mod_cplusplus (http://modcplusplus.sourceforge.net/). >=20 > I've tried building this outside of the ports system without luck. > The distribution does not come with a configure script, so I need > to make one using the auto tools, or the autogen.sh script > included with the source that runs the various autotools. >=20 > I have added /usr/local/gnu-autotools/bin to the head of my PATH, but > get errors about: > macro `AM_PROG_LIBTOOL' not found in library > Libtool library used but `LIBTOOL' is undefined > etc. > I've seen posts where other people have reported similar erros, > but I've never seen a solution. I have re-installed all autotool and > gnu-auto* ports and verified there is nothing too stale in > /usr/local/share/aclocal. Copy /usr/local/share/aclocal/libtool.m4 to acinclude.m4 in your top level source directory and run again aclocal. Personally, I do not use gnu-autotools but a Makefile.autotools file with the following contents: default: all all: libtoolize --automake --copy aclocal19 autoheader259 automake19 --add-missing --copy autoconf259 After that, run make -f Makefile.autotools In order to work properly this autotools when configure.ac or some Makefile.am are changed, I have the following symlinks in my $HOME/bin: autoconf -> /usr/local/bin/autoconf259 autoheader -> /usr/local/bin/autoheader259 automake-1.9 -> /usr/local/bin/automake19 aclocal-1.9 -> /usr/local/bin/aclocal19 Regards --=20 http://personales.ya.com/banach --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) iD8DBQFFlaOwFOo0zaS9RnIRAmiAAJwPQVwqrwTxgYyOATK3WvbHR+XW5ACeIvS5 rLhdxafpfBnswX98PP/d/do= =EmcL -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--