autotools problems

José G. Juanino jjuanino at gmail.com
Fri Dec 29 15:51:32 PST 2006


El sábado 30 de diciembre a las 00:01:34 CET, Mike Durian escribió:
> 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/).
> 
> 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.
> 
> 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

-- 
http://personales.ya.com/banach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20061229/17ff57c7/attachment.pgp


More information about the freebsd-ports mailing list