problems with autoreconf on OS X

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

problems with autoreconf on OS X

Jeff Sargent
Greetings all,

I've been building Boost  and Quantlib 0.3.10 successfully under Mac  
OS X 10.4.2 with gcc 4.0.0 that comes with the XCode 2.1 development  
kit.   Builds fine, and the test suite runs without error.   Excellent!

When I bring down the latest from the CVS repository and start the  
configuration bootstrap process, I start having some issues:

 >> sh ./autogen.sh
 >> Can't exec "libtoolize": No such file or directory at /usr/share/
autoconf/Autom4te/FileUtils.pm line 288, <GEN3> line 4.
 >> autoreconf: failed to run libtoolize: No such file or directory

on OS X there is "glibtoolize", so I set the environment variable  
LIBTOOLIZE=glibtoolize and that gets me further until:

 >> configure.ac:8: `automake requires `AM_CONFIG_HEADER', not  
`AC_CONFIG_HEADER'
 >> functions/ql/Functions/Makefile.am:19: variable `PACKAGE_VERSION'  
not defined
 >> ql/Makefile.am:94: variable `PACKAGE_VERSION' not defined
 >> autoreconf: automake failed with exit status: 1

I'm definitely a rookie with respect to autoreconf, so thought I'd  
ask here to make sure I'm not missing something obvious.
If anyone else is building under OS X and has overcome some of these  
issues please drop me a note!

Thanks!
- Jeff