Steven G. Johnson <stevenj <at> fftw.org> writes: > > On Fri, 28 Jul 2006, Codrin Alexandru Grajdeanu wrote: > > configure: WARNING: ctl.h: accepted by the compiler, rejected by the > > preprocessor! > > configure: WARNING: ctl.h: proceeding with the preprocessor's result > > Something is weird in your system. You should look at the config.log file > to find out what the exact error message was. > > Cordially, > Steven G. Johnson >
Hi, I get exactly the same problem on a ROCKS system (based on Red Hat Enterprise Linux AS release 3) After much time in dependency hell, the configure line that almost works is ./configure --with-lapack=/usr/local/LAPACK/lapack_LINUX.a --with-hdf5=/usr/local/hdf5-1.8.0-alpha4/hdf5/lib/libhdf5.a --with-libctl=/usr/local/share/libctl --includedir=/usr/local/include but this also terminates with: checking for ctl_get_vector3 in -lctl... yes checking ctl.h usability... yes checking ctl.h presence... no configure: WARNING: ctl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: ctl.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to [EMAIL PROTECTED] ## configure: WARNING: ## ------------------------------------ ## checking for ctl.h... no configure: error: Couldn't find the libctl header. the relevant part of the config.log file follows below. I did report this as a bug to [email protected] and they replied to say thatthe maintainer of the mpb/libctl would have a better idea how to fix this, and using a newer version of autoconf may fix this problem. Thanks in advance for any help, Rhys Morris ______________________________________________________________________ Dr Rhys Morris - Astrophysics/Unix/Linux Computing Support, Room 4.33A HH Wills Physics Laboratory, Tyndall Avenue, Bristol, BS8 1TL, UK [extracted from config.log] configure:7975: checking for libctl dir configure:7991: result: /usr/local/share/libctl configure:7997: checking for gen-ctl-io configure:8013: found /usr/local/bin/gen-ctl-io configure:8024: result: yes configure:8042: checking for ctl_get_vector3 in -lctl configure:8079: cc -o conftest -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic conftest.c -lctl -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm /usr/local/LAPACK/lapack_LINUX.a -lcblas -lf77blas -latlas -lfftw -lm -L/usr/lib/gcc-lib/i386-pc-linux/3.2.3 -L/usr/lib/gcc-l ib/i386-pc-linux/3.2.3/../../.. -lfrtbegin -lg2c -lm -lgcc_s >&5 configure:8082: $? = 0 configure:8085: test -s conftest configure:8088: $? = 0 configure:8100: result: yes configure:8126: checking ctl.h usability configure:8139: cc -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer- arith -Wcast-align -pedantic conftest.c >&5 configure:8142: $? = 0 configure:8145: test -s conftest.o configure:8148: $? = 0 configure:8158: result: yes configure:8162: checking ctl.h presence configure:8173: conftest.c ./configure: line 1: conftest.c: command not found configure:8179: $? = 127 configure: failed program was: | #line 8164 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define SCALAR_COMPLEX 1 | #define HAVE_LIBM 1 | #define F77_FUNC(name,NAME) name ## _ | #define F77_FUNC_(name,NAME) name ## __ | #define HAVE_LIBFFTW 1 | #define HAVE_BLAS 1 | #define HAVE_LAPACK 1 | #define HAVE_SCM_MAKE_SMOB_TYPE 1 | #define HAVE_SCM_SMOB_PREDICATE 1 | #define HAVE_SCM_SMOB_DATA 1 | #define HAVE_SCM_NEWSMOB 1 | #define HAVE_LIBCTL 1 | /* end confdefs.h. */ | #include <ctl.h> configure:8198: result: no configure:8204: WARNING: ctl.h: accepted by the compiler, rejected by the preprocessor! configure:8206: WARNING: ctl.h: proceeding with the preprocessor's result configure:8234: checking for ctl.h configure:8241: result: no configure:8248: error: Couldn't find the libctl header. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_f77_compiler_gnu=yes ac_cv_f77_dummy_main=none ac_cv_f77_mangling='lower case, underscore, extra underscore' ac_cv_flibs=' -L/usr/lib/gcc-lib/i386-pc-linux/3.2.3 -L/usr/lib/gcc-lib/i386-pc-linux/3.2.3/../../.. -lfrtbegin -lg2c -lm -lgcc_s' ac_cv_func_scm_make_smob_type=yes ac_cv_func_sgemm_=no ac_cv_header_ctl_h=no ac_cv_lib_atlas_ATL_xerbla=yes ac_cv_lib_cblas_cblas_dgemm=yes ac_cv_lib_ctl_ctl_get_vector3=yes ac_cv_lib_dfftw_fftw=no ac_cv_lib_f77blas_sgemm_=yes ac_cv_lib_fftw_fftw=yes ac_cv_lib_m_sqrt=yes ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_CC=cc ac_cv_prog_F77=f77 ac_cv_prog_HAVE_GUILE_CONFIG=yes ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_f77_g=yes ac_cv_prog_f77_v=-v ac_cv_prog_gen_ctl_io_ok=yes ac_cv_prog_guile_ok=yes ac_cv_prog_make_make_set=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACTIVATE_READLINE='(use-modules (ice-9 readline)) (activate-readline)' BLAS_LIBS='-lcblas -lf77blas -latlas' BUILD_MPB_DATA='mpb-data' CC='cc' CFLAGS='-g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic' CPP='' CPPFLAGS=' ' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EIGS_FLAGS_SCM='' EXEEXT='' F77='f77' FFLAGS='-g -O2' FLIBS=' -L/usr/lib/gcc-lib/i386-pc-linux/3.2.3 -L/usr/lib/gcc-lib/i386-pc-linux/3.2.3/../../.. -lfrtbegin -lg2c -lm -lgcc_s' GEN_CTL_IO='gen-ctl-io' HAVE_GUILE_CONFIG='yes' INSTALL_DATA='${INSTALL} -m 644' INSTALL_MPB_SPLIT='install-mpb-split' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LAPACK_LIBS='/usr/local/LAPACK/lapack_LINUX.a' LDFLAGS='' LIBCTL_DIR='/usr/local/share/libctl' LIBOBJS='' LIBS='-lctl -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm /usr/local/LAPACK/lapack_LINUX.a -lcblas -lf77blas -latlas -lfftw -lm -L/usr/lib/gcc-lib/i386-pc-linux/3.2.3 -L/usr/lib/gcc-lib/i386-pc-linux/3.2.3/../../.. -lfrtbegin -lg2c -lm -lgcc_s' LTLIBOBJS='' MPB_VERSION='1.4.2' MPICC='' MPILIBS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='ranlib' SCALAR_TYPE='complex' SET_MAKE='' SHELL='/bin/sh' SH_JOB='' ac_ct_CC='' ac_ct_F77='' ac_ct_RANLIB='ranlib' bindir='${exec_prefix}/bin' build_alias='' datadir='${prefix}/share' exec_prefix='NONE' gen_ctl_io_ok='yes' guile_ok='yes' host_alias='' includedir='/usr/local/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define F77_FUNC(name,NAME) name ## _ #define F77_FUNC_(name,NAME) name ## __ #define HAVE_BLAS 1 #define HAVE_LAPACK 1 #define HAVE_LIBCTL 1 #define HAVE_LIBFFTW 1 #define HAVE_LIBM 1 #define HAVE_SCM_MAKE_SMOB_TYPE 1 #define HAVE_SCM_NEWSMOB 1 #define HAVE_SCM_SMOB_DATA 1 #define HAVE_SCM_SMOB_PREDICATE 1 #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define SCALAR_COMPLEX 1 configure: exit 1 _______________________________________________ mpb-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss
