Blitz logo

Blitz Support :

From: Andreas R. (andreasreifschneider_at_[hidden])
Date: 2004-06-15 11:49:44


Checking out:
bash-2.05b$ cvs -z3 -d:pserver:anonymous_at_[hidden]:/cvsroot/blitz co blitz
bash-2.05b$ cd blitz/

There is no configure, so I try to generate it:
bash-2.05b$ autoconf
configure.in:13: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:18: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.in:41: error: possibly undefined macro: AC_FORTRAN_FLAGS_PRESET
configure.in:46: error: possibly undefined macro: AC_CXX_FLAGS_PRESET
configure.in:49: error: possibly undefined macro: AC_PROG_DOXYGEN
configure.in:52: error: possibly undefined macro: AM_DISABLE_SHARED
configure.in:53: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.in:57: error: possibly undefined macro: AC_LIB_BLAS
configure.in:61: error: possibly undefined macro: AC_CXX_ENABLE_OPTIMIZE
configure.in:62: error: possibly undefined macro: AC_CXX_ENABLE_DEBUG
configure.in:66: error: possibly undefined macro: AC_COMPILERS_ENABLE_64BITS
configure.in:69: error: possibly undefined macro: AC_CHECK_CXX_FEATURES
configure.in:77: error: possibly undefined macro: AC_ENV
configure.in:120: error: possibly undefined macro: AC_INFO

Then according to what I found on:
http://www.oonumerics.org/MailArchives/blitz-support/msg00650.php
I try another approach:
bash-2.05b$ aclocal
bash-2.05b$ autoheader
bash-2.05b$ automake -a
configure.in:9: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
configure.in: installing `config/install-sh'
configure.in: installing `config/mkinstalldirs'
configure.in: installing `config/missing'
configure.in:13: require version 1.8, but have 1.6.3
benchmarks/Makefile.am:20: F90_COMPILER does not appear in AM_CONDITIONAL
benchmarks/Makefile.am:88: F90_COMPILER does not appear in AM_CONDITIONAL
benchmarks/Makefile.am:124: F90_COMPILER does not appear in AM_CONDITIONAL
benchmarks/Makefile.am: installing `config/depcomp'
doc/doxygen/Makefile.am:5: DOC does not appear in AM_CONDITIONAL
Use of uninitialized value in concatenation (.) or string
at /usr/bin/automake-1
.6 line 8449.
: installing `config/config.guess'
Use of uninitialized value in concatenation (.) or string
at /usr/bin/automake-1
.6 line 8449.
: installing `config/config.sub'
aclocal.m4:811: required file `config/ltmain.sh' not found
benchmarks/Makefile.am:20: F90_COMPILER does not appear in AM_CONDITIONAL
benchmarks/Makefile.am:88: F90_COMPILER does not appear in AM_CONDITIONAL
benchmarks/Makefile.am:124: F90_COMPILER does not appear in AM_CONDITIONAL
doc/doxygen/Makefile.am:5: DOC does not appear in AM_CONDITIONAL
bash-2.05b$ autoconf
configure.in:41: error: possibly undefined macro: AC_FORTRAN_FLAGS_PRESET
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:46: error: possibly undefined macro: AC_CXX_FLAGS_PRESET
configure.in:49: error: possibly undefined macro: AC_PROG_DOXYGEN
configure.in:57: error: possibly undefined macro: AC_LIB_BLAS
configure.in:61: error: possibly undefined macro: AC_CXX_ENABLE_OPTIMIZE
configure.in:62: error: possibly undefined macro: AC_CXX_ENABLE_DEBUG
configure.in:66: error: possibly undefined macro: AC_COMPILERS_ENABLE_64BITS
configure.in:69: error: possibly undefined macro: AC_CHECK_CXX_FEATURES
configure.in:77: error: possibly undefined macro: AC_ENV
configure.in:120: error: possibly undefined macro: AC_INFO

Configure then fails too:

bash-2.05b$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure:

Configuring blitz 0.7 for i686-pc-linux-gnu

checking for xlf... no
checking for f77... no
checking for g77... g77
checking for Fortran 77 compiler default output file name... a.out
checking whether the Fortran 77 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 Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking for xlf90... no
checking for f90... no
checking for ifort... no
checking for ifc... no
checking for pgf90... no
checking whether we are using the GNU Fortran compiler... no
checking whether accepts -g... no
./configure: line 2826: AC_FORTRAN_FLAGS_PRESET: command not found
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
./configure: line 3331: AC_CXX_FLAGS_PRESET: command not found
./configure: line 3333: AC_PROG_DOXYGEN: command not found
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for sin in -lm... yes
./configure: line 9258: AC_LIB_BLAS: command not found
./configure: line 9260: AC_CXX_ENABLE_OPTIMIZE: command not found
./configure: line 9261: AC_CXX_ENABLE_DEBUG: command not found
./configure: line 9263: AC_COMPILERS_ENABLE_64BITS: command not found
./configure: line 9265: AC_CHECK_CXX_FEATURES: command not found
./configure: line 9271: AC_ENV: command not found
./configure: line 9279: AX_CREATE_PKGCONFIG_INFO: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/Makefile
config.status: creating blitz/Makefile
config.status: creating blitz/array/Makefile
config.status: creating blitz/generate/Makefile
config.status: creating blitz/meta/Makefile
config.status: creating random/Makefile
config.status: creating lib/Makefile
config.status: creating manual/Makefile
config.status: creating manual/examples/Makefile
config.status: creating manual/stencils/Makefile
config.status: creating testsuite/Makefile
config.status: creating examples/Makefile
config.status: creating benchmarks/Makefile
config.status: creating benchmarks/plot_benchmarks.m
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/stencils/Makefile
config.status: creating doc/doxygen/Makefile
config.status: creating doc/doxygen/Doxyfile
config.status: creating blitz/config.h
config.status: executing depfiles commands
./configure: line 10704: AC_INFO: command not found

I have autoconf-2.59-r4 and automake-1.8.5 of latest gentoo build.
Do I need other version of autoconf (the latest one that I found on internet
is 2.59)?
Do I need other packages (macro packages for autoconf)?

Regards,
  Andreas