automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Uprgrad problems


From: Thomas Nagler
Subject: Uprgrad problems
Date: Fri, 19 Oct 2001 19:42:32 +0200

Dear all: 

By upgrading  automake I get now the following errors:


I used:

 Autoconf version 2.13
 automake (GNU automake) 1.4a

and upgraded to:

 Autoconf version 2.13
 automake (GNU automake) 1.5

my bootstrap file looks like:
 aclocal -I m4
 autoconf
 acconfig
 autoheadercreating aux/p2t/Makefile
 automake -a 
 configure --prefix=${HOME}/TEST
 make clean 
 make CFLAGS=-O5 FFLAGS=-O5 
 make install


The configure file is quite large and is atteched below.

running bootstrap I get the following errormessage by automake:

+ aclocal -I m4
+ autoconf
configure.in:53: warning: AC_TRY_RUN called without default to allow
cross compiling
+ acconfig
+ autoheader
configure.in:53: warning: AC_TRY_RUN called without default to allow
cross compiling
+ automake -a

---------> Can't call method "target_hook" on an undefined value at
/usr/local/bin/automake line 1943.

+ configure --prefix=/home/tommy/INSAR

configure gives the error:

creating aux/m2h/Makefile
creating src/Makefile
--------> sed: can't read ./src/Makefile.in: No such file or directory
creating src/Scripts/Makefile
sed: can't read ./src/Scripts/Makefile.in

but the file src/Makefile.am looks good for me:

 #  
 SUBDIRS = m4 aux lib src doc


Can anyone show me where the error is ?



Thanxs in advance
Cheers
Tommy



============

Thats my configure.in file:AC_INIT(bootstrap)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(INSAR,1.1)

dnl Configure C-Compiler
LF_CONFIGURE_CC
AM_PROG_CC_STDC dnl checks for ANSI option of C-compiler

dnl Checks for special tools
AC_PROG_RANLIB

dnl Check for paths of programs
AC_PATH_PROGS(BOURNESHELL, sh)
AC_PATH_PROGS(PERL, perl)

LF_HOST_TYPE
LF_PROG_F77_PREFER_F2C_COMPATIBILITY
dnl LF_PROG_F77_PREFER_NATIVE_VERSION
LF_PROG_F77
LF_SET_WARNINGS

dnl Check for Header Files:
AC_HAVE_HEADERS(math.h stdio.h stdlib.h string.h sys/time.h sys/types.h)

dnl Checks for libraries.
dnl Replace `main' with a function in -lcomplib.sgimath:
AC_CHECK_LIB(complib.sgimath, cfft2d)
dnl Replace `main' with a function in -lm:
AC_CHECK_LIB(m, sin)
dnl Check for SUN library
AC_CHECK_LIB(socket, getpwnam)

dnl dnl Replace `main' with a function in -lftn:
dnl AC_CHECK_LIB(ftn, sin)
dnl dnl Replace `main' with a function in -lf77:
dnl AC_CHECK_LIB(f77, sin)
dnl Check for SUN library
AC_CHECK_LIB(socket, getpwnam)

dnl Does the C compiler handle alloca() and const correctly?
AC_ALLOCA
AC_C_CONST

dnl Check for WORDS_BIGENDIAN
dnl if for words most significant byte stored first (e.g. SPARC,
Motorola)
dnl then define WORDS_BIGENDIAN  but NOT for Intel, VAX etc.
AC_C_BIGENDIAN

dnl MDL_F77_LIBRARY_LDFLAGS
dnl AC_CONFIG_SUBDIRS(fortran/f2c fortran/libf2c)
dnl AC_OUTPUT([Makefile fortran/Makefile f2c_comp

dnl setting Default PREFIX
AC_PREFIX_DEFAULT(/usr/local/INSAR)

missing_dir='cd $ac_aux_dir && pwd'
AM_MISSING_PROG(ACLOCAL,aclocal,$missing_dir)
AM_MISSING_PROG(AUTOCONF,autoconf,$missing_dir)
AM_MISSING_PROG(AUTOMAKE,automake,$missing_dir)
AM_MISSING_PROG(AUTOHEADER,autoheader,$missing_dir)
AM_MISSING_PROG(MAKEINFO,makeinfo,$missing_dir)



AC_OUTPUT([Makefile 
          m4/Makefile
          lib/Makefile
          lib/module/Makefile
          lib/veclib/Makefile
          aux/Makefile
          aux/gendoscripts/Makefile
          aux/genmastertex/Makefile
          aux/gensynopsis/Makefile
          aux/p2man/Makefile
          aux/p2m/Makefile
          aux/p2t/Makefile
          aux/m2h/Makefile
          src/Makefile
          src/Scripts/Makefile
          src/Scripts/amplmittel/Makefile
          src/Scripts/amplstddev/Makefile
          src/Scripts/amplrasmittel/Makefile
          src/Scripts/create_insarrc/Makefile
          src/Scripts/insar/Makefile
          src/Scripts/korrmittel/Makefile
          src/Scripts/lsf/Makefile
          src/Scripts/machmask/Makefile
          src/Scripts/mbproc/Makefile
          src/Scripts/powmittel/Makefile
          src/Scripts/ratiomittel/Makefile
          src/Scripts/topomask/Makefile
          src/3rdParty/Makefile
          src/3rdParty/getorb/Makefile
          src/DatabaseTools/Makefile
          src/DatabaseTools/cim/Makefile
          src/DatabaseTools/gleitmittphase/Makefile
          src/DatabaseTools/conv/Makefile
          src/DatabaseTools/happend/Makefile
          src/DatabaseTools/convhead/Makefile
          src/DatabaseTools/headweg/Makefile
          src/DatabaseTools/data2txt/Makefile
          src/DatabaseTools/i1/Makefile
          src/DatabaseTools/i2i/Makefile
          src/DatabaseTools/fappend/Makefile
          src/DatabaseTools/i2/Makefile
          src/DatabaseTools/fmat/Makefile
          src/DatabaseTools/foper/Makefile
          src/DatabaseTools/lh/Makefile
          src/DatabaseTools/mirror/Makefile
          src/DatabaseTools/fstat/Makefile
          src/DatabaseTools/g1/Makefile
          src/DatabaseTools/gdw/Makefile
          src/DatabaseTools/ressz/Makefile
          src/DatabaseTools/g2/Makefile
          src/DatabaseTools/sfs/Makefile
          src/DatabaseTools/stdab/Makefile
          src/DatabaseTools/gl/Makefile
          src/DatabaseTools/vappend/Makefile
          src/DatabaseTools/gleitmitt/Makefile
          src/DatabaseTools/vd/Makefile
          src/GeoCod/Makefile
          src/GeoCod/insgeo/Makefile
          src/ImageProcTools/Makefile
          src/ImageProcTools/bandpass/Makefile
          src/ImageProcTools/diffampl/Makefile
          src/ImageProcTools/featuretrac/Makefile
          src/ImageProcTools/fhisto/Makefile
          src/ImageProcTools/lowpass/Makefile
          src/ImageProcTools/ms/Makefile
          src/ImageProcTools/plausimachmaske/Makefile
etc

])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]