Libtool and autoconf issues.

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

Libtool and autoconf issues.

Alan Grimes
I managed to trace the problems I was having yesterday building squeak
to libtool. Apparently if you decide to use libtool at all, you need to
use it for both the main program and everything it links to, The current
version uses "ar" directly, and that is what is screwing things up. I
got it to work just fine without libtool at all but that's not a very
good solution.


Today I accidentally deleted my ./unix/config directory instead of ./bld,

When I reverted it and attempted to fix configure.ac again, I failed.
Here are some of the errors:

###########################
configure.ac:44: error: possibly undefined macro: AC_VM_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

###
NOTE: this appears to set the version string to a version that has
nothing to do with the version of the gererated sources...
###

configure.ac:56: error: possibly undefined macro: AC_CHECK_VMM_DIR
configure.ac:128: error: possibly undefined macro: AC_PROG_CC_WALL
configure.ac:129: error: possibly undefined macro: AC_PROG_AS_GNU
configure.ac:138: error: possibly undefined macro: AC_REQUIRE_SIZEOF
configure.ac:141: error: possibly undefined macro: AC_CHECK_INT64_T
configure.ac:156: error: possibly undefined macro: AC_NEED_SUNOS_H
configure.ac:167: error: possibly undefined macro: AC_CHECK_SOCKLEN_T
configure.ac:168: error: possibly undefined macro: AC_CHECK_ATEXIT
configure.ac:169: error: possibly undefined macro: AC_CHECK_TZSET
configure.ac:170: error: possibly undefined macro: AC_CHECK_GMTOFF
configure.ac:171: error: possibly undefined macro: AC_CHECK_TIMEZONE
configure.ac:172: error: possibly undefined macro: AC_CHECK_GETHOSTNAME
configure.ac:229: error: possibly undefined macro: AC_GNU_OPT
configure.ac:230: error: possibly undefined macro: AC_GNU_INTERP
configure.ac:231: error: possibly undefined macro: AC_MODULE_LIB_PREFIX
configure.ac:232: error: possibly undefined macro: AC_64BIT_ARCH
configure.ac:236: error: possibly undefined macro: AC_C_BYTEORDER
configure.ac:237: error: possibly undefined macro: AC_C_DOUBLE_ALIGNMENT
configure.ac:238: error: possibly undefined macro: AC_C_DOUBLE_ORDER
configure.ac:374: error: possibly undefined macro: AC_PLUGIN_DISABLE
configure.ac:626: error: possibly undefined macro: AC_PLUGIN_DEFINE_UNQUOTED
configure.ac:699: error: possibly undefined macro: AC_PLUGIN_USE_LIB
make: *** [configure] Error 1
bash-2.05b$
######################

A configure script is still generated but it is completely broken:

bash-2.05b$ ../platforms/unix/config/configure
../platforms/unix/config/configure: line 1507: syntax error near
unexpected token `3,7b,5,'
../platforms/unix/config/configure: line 1507: `AC_VM_VERSION(3,7b,5,
3,7b,5868)'
bash-2.05b$