[sword-devel] Mac Autogen question

Greg Hellings greg.hellings at gmail.com
Wed Feb 18 15:19:20 MST 2009


So I know about 0.001% of what there is to know about autotools, so I
don't know what the following means, or even if it should be thought
important.  But I just updated to -r2267 SVN on my Mac and ran
autogen.sh and got the following:

*** Recreating libtool
libtoolize
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/opt/local/share/aclocal/libtool.m4'
libtoolize:   `/opt/local/share/aclocal/ltoptions.m4'
libtoolize:   `/opt/local/share/aclocal/ltversion.m4'
libtoolize:   `/opt/local/share/aclocal/ltsugar.m4'
libtoolize:   `/opt/local/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
*** Recreating aclocal.m4
aclocal
*** Recreating configure
*** Recreating the Makefile.in files

/opt/local is where MacPorts puts its version of autotools, which are
the ones being used (obviously) by the script.  Again - not sure what
exactly all this might mean, but for those of you who deal with
autotools, just thought you might be interested in it. =)

Probably as a result of the above, I get the following error message
on an attempt to build:
MacBook:sword-svn hellings1$ make
Making all in lib
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../include  -I../include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__
-DSWICU_DATA=\"/opt/manual/lib/sword/1.5.11.99_icu_4.0\"
-D_FTPLIB_NO_COMPAT -D_ICU_ -DUSBINARY -g3 -O0 -Wall -D_ICU_
-ftemplate-depth-25 -DCURLAVAILABLE -I/opt/local/include
-I/opt/local/lib -DUSELUCENE  -MT swkey.lo -MD -MP -MF .deps/swkey.Tpo
-c -o swkey.lo `test -f '../src/keys/swkey.cpp' || echo
'./'`../src/keys/swkey.cpp
../libtool: line 460: CDPATH: command not found
/Users/hellings1/Documents/build/sword-svn/libtool: line 460: CDPATH:
command not found
/Users/hellings1/Documents/build/sword-svn/libtool: line 1138:
func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make[1]: *** [swkey.lo] Error 63
make: *** [all-recursive] Error 1

--Greg



More information about the sword-devel mailing list