Hello, I have a problem generating configure under Mac OS X 1.3 with Fink. When I run autoconf I don't receive any errors, but when I run configure script I have after a while, checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E ./configure: line 3318: CL_AS_UNDERSCORE: command not found checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c ./configure: line 3478: syntax error near unexpected token `autoconf' ./configure: line 3478: ` CL_CANONICAL_HOST(autoconf)' I'm using autoconf 2.59 is it the right version? What is the exact procedure to generate a configure? I didn't find any autogen.sh script, so I tried to use the autogen.sh present in GiNaC cvs tree. When I run autogen.sh I have some warnings: + Running aclocal: /sw/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /sw/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE /sw/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH /sw/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /sw/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT /sw/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /sw/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB done. + Running libtoolize: done. + Running autoheader: autoheader: warning: missing template: CL_USE_GMP autoheader: Use AC_DEFINE([CL_USE_GMP], [], [Description]) autoheader: warning: missing template: CL_VERSION autoheader: warning: missing template: CL_VERSION_MAJOR autoheader: warning: missing template: CL_VERSION_MINOR autoheader: warning: missing template: CL_VERSION_PATCHLEVEL done. + Running automake: configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found. configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE, configure.ac: that aclocal.m4 is present in the top-level directory, configure.ac: and that aclocal.m4 was recently regenerated (using aclocal). configure.ac: installing `autoconf/missing' automake: no `Makefile.am' found for any configure output done. + Running autoconf: done. Any idea? thanks a lot, Fausto
On Sat, 9 Apr 2005, Fausto Saporito wrote:
I have a problem generating configure under Mac OS X 1.3 with Fink.
Why can't you just use the configure script that comes with the library? Regards -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>
participants (2)
-
Fausto Saporito
-
Richard B. Kreckel