Journal jvervloet's Journal: FreeBSD and the GNU autotools
Did you ever try to develop a C++ library using the GNU autotools under FreeBSD ? Well I did, and it wasn't easy.
I encountered a lot of problems, and I didn't find an answer anywhere on the Internet. But from now on, an answer can be found right here
The idea was to create a C++ library, which should be used in combination with GMP. Now here is what you should do :
FreeBSD installs its ports in
Another problem was that the configure script generated by autoconf produced this error message :
loading cache
/dev/null within ltconfig
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
I created this bootstrap script as workaround, which generates a correct configure script.
set -x
aclocal -I config
libtoolize --force --copy
autoheader
automake --add-missing --copy
autoconf
tempfile=`mktemp johan.XXXXXX`
cp configure $tempfile
sed 's/--no-verify//g' $tempfile > configure
rm $tempfile
If anyone knows something about the origin of all these troubles, or if there is a more easy way to solve all these, please let me know.
FreeBSD and the GNU autotools More Login
FreeBSD and the GNU autotools
Slashdot Top Deals