I'm trying to work my way through the external module building process, and I figured I'd start with one of the internal pike modules, to be built outside the tree. I copied the Math module someplace nice and ran this command:
pike -x module --source=.
and this is what I get:
$ cd /tmp/Math $ pike -x module --source=. autoheader WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define templates for `config.h.in' WARNING: is deprecated and discouraged.
WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h':
WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.])
WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. autoheader: `config.h.in' is updated autoconf --localdir=/usr/local/pike/7.4.10/include/pike autoconf: warning: --localdir is obsolete, use --include configure.in:10: error: AC_REQUIRE: circular dependency of _AC_INCLUDES_DEFAULT_REQUIREMENTS configure.in:10: _AC_INCLUDES_DEFAULT_REQUIREMENTS is required by... autoconf/headers.m4:271: AC_INCLUDES_DEFAULT is expanded from... autoconf/lang.m4:217: AC_LANG_SOURCE is expanded from... autoconf/general.m4:2157: AC_COMPILE_IFELSE is expanded from... autoconf/headers.m4:90: AC_CHECK_HEADER is expanded from... autoconf/headers.m4:193: AC_CHECK_HEADERS is expanded from... autoconf/headers.m4:255: _AC_INCLUDES_DEFAULT_REQUIREMENTS is expanded from... configure.in:10: _AC_INCLUDES_DEFAULT_REQUIREMENTS is required by... autoconf/headers.m4:271: AC_INCLUDES_DEFAULT is expanded from... autoconf/lang.m4:217: AC_LANG_SOURCE is expanded from... autoconf/lang.m4:227: AC_LANG_PROGRAM is expanded from... autoconf/lang.m4:249: AC_LANG_BOOL_COMPILE_TRY is expanded from... autoconf/general.m4:2157: AC_COMPILE_IFELSE is expanded from... autoconf/general.m4:1797: AC_CACHE_VAL is expanded from... autoconf/general.m4:1806: AC_CACHE_CHECK is expanded from... autoconf/c.m4:840: AC_C_CHAR_UNSIGNED is expanded from... configure.in:10: the top level autom4te: /usr/local/bin/m4 failed with exit status: 1
$ autoconf --version autoconf (GNU Autoconf) 2.54 Written by David J. MacKenzie and Akim Demaille.
Obviously something is not right here, but I don't know enough about autoconf to know what might be the problem. I believe it has something to do with the aclocal.m4 in the include/pike directory, but I don't want to fiddle with that if I don't have to.
I'm testing on a solaris 7 box with autoconf 2.54 and gm4 1.4.
Any ideas?
Bill
Upgrade to autoconf 2.52.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-02-21 21:42: Subject: Problems with pike -x module
I'm trying to work my way through the external module building process, and I figured I'd start with one of the internal pike modules, to be built outside the tree. I copied the Math module someplace nice and ran this command:
pike -x module --source=.
and this is what I get:
$ cd /tmp/Math $ pike -x module --source=. autoheader WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define templates for `config.h.in' WARNING: is deprecated and discouraged.
WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h':
WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.])
WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. autoheader: `config.h.in' is updated autoconf --localdir=/usr/local/pike/7.4.10/include/pike autoconf: warning: --localdir is obsolete, use --include configure.in:10: error: AC_REQUIRE: circular dependency of _AC_INCLUDES_DEFAULT_REQUIREMENTS configure.in:10: _AC_INCLUDES_DEFAULT_REQUIREMENTS is required by... autoconf/headers.m4:271: AC_INCLUDES_DEFAULT is expanded from... autoconf/lang.m4:217: AC_LANG_SOURCE is expanded from... autoconf/general.m4:2157: AC_COMPILE_IFELSE is expanded from... autoconf/headers.m4:90: AC_CHECK_HEADER is expanded from... autoconf/headers.m4:193: AC_CHECK_HEADERS is expanded from... autoconf/headers.m4:255: _AC_INCLUDES_DEFAULT_REQUIREMENTS is expanded from... configure.in:10: _AC_INCLUDES_DEFAULT_REQUIREMENTS is required by... autoconf/headers.m4:271: AC_INCLUDES_DEFAULT is expanded from... autoconf/lang.m4:217: AC_LANG_SOURCE is expanded from... autoconf/lang.m4:227: AC_LANG_PROGRAM is expanded from... autoconf/lang.m4:249: AC_LANG_BOOL_COMPILE_TRY is expanded from... autoconf/general.m4:2157: AC_COMPILE_IFELSE is expanded from... autoconf/general.m4:1797: AC_CACHE_VAL is expanded from... autoconf/general.m4:1806: AC_CACHE_CHECK is expanded from... autoconf/c.m4:840: AC_C_CHAR_UNSIGNED is expanded from... configure.in:10: the top level autom4te: /usr/local/bin/m4 failed with exit status: 1
$ autoconf --version autoconf (GNU Autoconf) 2.54 Written by David J. MacKenzie and Akim Demaille.
Obviously something is not right here, but I don't know enough about autoconf to know what might be the problem. I believe it has something to do with the aclocal.m4 in the include/pike directory, but I don't want to fiddle with that if I don't have to.
I'm testing on a solaris 7 box with autoconf 2.54 and gm4 1.4.
Any ideas?
Bill
/ hww3
Nope. Might be a good idea to add something like --configure-args='' for that purpose though...
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-02-21 21:52: Subject: Problems with pike -x module
While I'm at it, is there any way to specify configure arguments besides editing BUILD_BASE/specs?
/ hww3
pike-devel@lists.lysator.liu.se