Date: Sat, 30 Dec 2006 00:24:32 +0100 From: =?iso-8859-1?Q?Jos=E9_G=2E?= Juanino <jjuanino@gmail.com> To: freebsd-ports@freebsd.org Subject: Re: autotools problems Message-ID: <20061229232432.GA15899@gauss.sanabria.es> In-Reply-To: <200612291601.34546.durian@shadetreesoftware.com> References: <200612291601.34546.durian@shadetreesoftware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061229232432.GA15899>