A temporary report on autotools before I leave:
The bootstrap script requires the following versions of autotools etc.
# - autoconf 2.50+
# - automake 1.7+
# - libtool 1.4+
which is not what Apple darwin has as installed. I have 10.4.7 and the latest Xcode tools, so this is a bit surprising, or I missed something.
Install darwinports (
http://www.darwinports.org)
and do
port install autoconf
port install automake
port install libtool (which is accessed by the name of glibtool and glibtoolize)
All of these are installed at /opt/local/bin.
I don't want to interfere with the system I do not touch the native versions. and I also skip changing the path order for now.
Instead I change the 'bootstrap' file, see bootstrap.txt:
So I run the bootstrap script:
[Tiger:OpenSource/CBtest/trunk] bnilsson% ./bootstrap
You should add the contents of `/opt/local/share/aclocal/libtool.m4' to `aclocal.m4'.
/opt/local/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
run info '(automake)Extending aclocal'
or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal/opt/local/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/opt/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/opt/local/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/opt/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/opt/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/opt/local/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/plugins/astyle/Makefile.am: installing `./depcomp'
I cannot judge wether the warnings are serious.
At the top I get an order to do something about aclocal.m4, so I do as I'm told:
[Tiger:OpenSource/CBtest/trunk] bnilsson% cat aclocal.m4 /opt/local/share/aclocal/libtool.m4 > aclocal.m4
[Tiger:OpenSource/CBtest/trunk] bnilsson%
Run it again:
[Tiger:OpenSource/CBtest/trunk] bnilsson% ./bootstrap
/opt/local/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
run info '(automake)Extending aclocal'
or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal/opt/local/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/opt/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/opt/local/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/opt/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/opt/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/opt/local/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
[Tiger:OpenSource/CBtest/trunk] bnilsson%
Now configure and Makefile are created.
configure and make behaves as expected.
Well, not quite, since make never succeeds since it does not link properly to wxwidgets, lots of unresolved wx symbols.
I cannot tell wether this is another problem or if it actually is because of a problem in the autotools.
Bye for now.