It's suse 10 actually, hence the desire to compile without Mercurial. Does this affect whether gromacs needs to be compiled as shared?
Here is the contents of csg/config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by votca-csg configure 1.1, which was generated by GNU Autoconf 2.65. Invocation command line was $ ./configure --prefix /root/votca --enable-all-static --disable- shared --with-libgmx=libgmx_d ## --------- ## ## Platform. ## ## --------- ## hostname = dingo uname -m = x86_64 uname -r = 2.6.22.17-0.1-default uname -s = Linux uname -v = #1 SMP 2008/02/10 20:01:04 UTC /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /root/votca/bin PATH: /usr/sbin PATH: /bin PATH: /usr/bin PATH: /sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2443: checking for a BSD-compatible install configure:2511: result: /usr/bin/install -c configure:2522: checking whether build environment is sane configure:2572: result: yes configure:2713: checking for a thread-safe mkdir -p configure:2752: result: /bin/mkdir -p configure:2765: checking for gawk configure:2781: found /bin/gawk configure:2792: result: gawk configure:2803: checking whether make sets $(MAKE) configure:2825: result: yes configure:2967: checking for g++ configure:2983: found /usr/bin/g++ configure:2994: result: g++ configure:3021: checking for C++ compiler version configure:3030: g++ --version >&5 g++ (GCC) 4.2.1 (SUSE Linux) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3041: $? = 0 configure:3030: g++ -v >&5 Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr -- with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/ share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable- languages=c,c++,objc,fortran,obj-c++,java,ada --enable- checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 -- enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 -- with-system-zlib --enable-shared --enable-__cxa_atexit --enable- libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 --enable-version-specific-runtime-libs --without-system-libunwind -- with-cpu=generic --host=x86_64-suse-linux Thread model: posix gcc version 4.2.1 (SUSE Linux) configure:3041: $? = 0 configure:3030: g++ -V >&5 g++: '-V' option must have argument configure:3041: $? = 1 configure:3030: g++ -qversion >&5 g++: unrecognized option '-qversion' g++: no input files configure:3041: $? = 1 configure:3061: checking whether the C++ compiler works configure:3083: g++ conftest.cpp >&5 configure:3087: $? = 0 configure:3136: result: yes configure:3139: checking for C++ compiler default output file name configure:3141: result: a.out configure:3147: checking for suffix of executables configure:3154: g++ -o conftest conftest.cpp >&5 configure:3158: $? = 0 configure:3180: result: configure:3202: checking whether we are cross compiling configure:3210: g++ -o conftest conftest.cpp >&5 configure:3214: $? = 0 configure:3221: ./conftest configure:3225: $? = 0 configure:3240: result: no configure:3245: checking for suffix of object files configure:3267: g++ -c conftest.cpp >&5 configure:3271: $? = 0 configure:3292: result: o configure:3296: checking whether we are using the GNU C++ compiler configure:3315: g++ -c conftest.cpp >&5 configure:3315: $? = 0 configure:3324: result: yes configure:3333: checking whether g++ accepts -g configure:3353: g++ -c -g conftest.cpp >&5 configure:3353: $? = 0 configure:3394: result: yes configure:3428: checking for style of include used by make configure:3456: result: GNU configure:3481: checking dependency style of g++ configure:3591: result: gcc3 configure:3641: checking build system type configure:3655: result: x86_64-unknown-linux-gnu configure:3675: checking host system type configure:3688: result: x86_64-unknown-linux-gnu configure:3729: checking how to print strings configure:3756: result: printf configure:3825: checking for gcc configure:3841: found /usr/bin/gcc configure:3852: result: gcc configure:4081: checking for C compiler version configure:4090: gcc --version >&5 gcc (GCC) 4.2.1 (SUSE Linux) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4101: $? = 0 configure:4090: gcc -v >&5 Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr -- with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/ share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable- languages=c,c++,objc,fortran,obj-c++,java,ada --enable- checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 -- enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 -- with-system-zlib --enable-shared --enable-__cxa_atexit --enable- libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 --enable-version-specific-runtime-libs --without-system-libunwind -- with-cpu=generic --host=x86_64-suse-linux Thread model: posix gcc version 4.2.1 (SUSE Linux) configure:4101: $? = 0 configure:4090: gcc -V >&5 gcc: '-V' option must have argument configure:4101: $? = 1 configure:4090: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:4101: $? = 1 configure:4105: checking whether we are using the GNU C compiler configure:4124: gcc -c conftest.c >&5 configure:4124: $? = 0 configure:4133: result: yes configure:4142: checking whether gcc accepts -g configure:4162: gcc -c -g conftest.c >&5 configure:4162: $? = 0 configure:4203: result: yes configure:4220: checking for gcc option to accept ISO C89 configure:4284: gcc -c -g -O2 conftest.c >&5 configure:4284: $? = 0 configure:4297: result: none needed configure:4319: checking dependency style of gcc configure:4429: result: gcc3 configure:4444: checking for a sed that does not truncate output configure:4508: result: /bin/sed configure:4526: checking for grep that handles long lines and -e configure:4584: result: /bin/grep configure:4589: checking for egrep configure:4651: result: /bin/grep -E configure:4656: checking for fgrep configure:4718: result: /bin/grep -F configure:4753: checking for ld used by gcc configure:4820: result: /usr/x86_64-suse-linux/bin/ld configure:4827: checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld configure:4842: result: yes configure:4854: checking for BSD- or MS-compatible name lister (nm) configure:4903: result: /usr/bin/nm -B configure:5033: checking the name lister (/usr/bin/nm -B) interface configure:5040: g++ -c -g -O2 conftest.cpp >&5 configure:5043: /usr/bin/nm -B "conftest.o" configure:5046: output 0000000000000000 B some_variable configure:5053: result: BSD nm configure:5056: checking whether ln -s works configure:5060: result: yes configure:5068: checking the maximum length of command line arguments configure:5193: result: 98304 configure:5210: checking whether the shell understands some XSI constructs configure:5220: result: yes configure:5224: checking whether the shell understands "+=" configure:5230: result: yes configure:5265: checking for /usr/x86_64-suse-linux/bin/ld option to reload object files configure:5272: result: -r configure:5341: checking for objdump configure:5357: found /usr/bin/objdump configure:5368: result: objdump configure:5400: checking how to recognize dependent libraries configure:5602: result: pass_all configure:5662: checking for ar configure:5678: found /usr/bin/ar configure:5689: result: ar configure:5767: checking for strip configure:5783: found /usr/bin/strip configure:5794: result: strip configure:5866: checking for ranlib configure:5882: found /usr/bin/ranlib configure:5893: result: ranlib configure:5995: checking command to parse /usr/bin/nm -B output from gcc object configure:6113: g++ -c -g -O2 conftest.cpp >&5 configure:6116: $? = 0 configure:6120: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\ ([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:6123: $? = 0 configure:6177: g++ -o conftest -g -O2 conftest.cpp conftstm.o >&5 configure:6180: $? = 0 configure:6218: result: ok configure:6314: g++ -c -g -O2 conftest.cpp >&5 configure:6317: $? = 0 configure:7059: checking how to run the C preprocessor configure:7090: gcc -E conftest.c configure:7090: $? = 0 configure:7104: gcc -E conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:7104: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "votca-csg" | #define PACKAGE_TARNAME "votca-csg" | #define PACKAGE_VERSION "1.1" | #define PACKAGE_STRING "votca-csg 1.1" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_URL "" | #define PACKAGE "votca-csg" | #define VERSION "1.1" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:7129: result: gcc -E configure:7149: gcc -E conftest.c configure:7149: $? = 0 configure:7163: gcc -E conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:7163: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "votca-csg" | #define PACKAGE_TARNAME "votca-csg" | #define PACKAGE_VERSION "1.1" | #define PACKAGE_STRING "votca-csg 1.1" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_URL "" | #define PACKAGE "votca-csg" | #define VERSION "1.1" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:7192: checking for ANSI C header files configure:7212: gcc -c -g -O2 conftest.c >&5 configure:7212: $? = 0 configure:7285: gcc -o conftest -g -O2 conftest.c >&5 configure:7285: $? = 0 configure:7285: ./conftest configure:7285: $? = 0 configure:7296: result: yes configure:7309: checking for sys/types.h configure:7309: gcc -c -g -O2 conftest.c >&5 configure:7309: $? = 0 configure:7309: result: yes configure:7309: checking for sys/stat.h configure:7309: gcc -c -g -O2 conftest.c >&5 configure:7309: $? = 0 configure:7309: result: yes configure:7309: checking for stdlib.h configure:7309: gcc -c -g -O2 conftest.c >&5 configure:7309: $? = 0 configure:7309: result: yes configure:7309: checking for string.h configure:7309: gcc -c -g -O2 conftest.c >&5 configure:7309: $? = 0 configure:7309: result: yes configure:7309: checking for memory.h configure:7309: gcc -c -g -O2 conftest.c >&5 configure:7309: $? = 0 configure:7309: result: yes configure:7309: checking for strings.h configure:7309: gcc -c -g -O2 conftest.c >&5 configure:7309: $? = 0 configure:7309: result: yes configure:7309: checking for inttypes.h configure:7309: gcc -c -g -O2 conftest.c >&5 configure:7309: $? = 0 configure:7309: result: yes configure:7309: checking for stdint.h configure:7309: gcc -c -g -O2 conftest.c >&5 configure:7309: $? = 0 configure:7309: result: yes configure:7309: checking for unistd.h configure:7309: gcc -c -g -O2 conftest.c >&5 configure:7309: $? = 0 configure:7309: result: yes configure:7324: checking for dlfcn.h configure:7324: gcc -c -g -O2 conftest.c >&5 configure:7324: $? = 0 configure:7324: result: yes configure:7512: checking for objdir configure:7527: result: .libs configure:7798: checking if gcc supports -fno-rtti -fno-exceptions configure:7816: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:7820: $? = 0 configure:7833: result: no configure:7853: checking for gcc option to produce PIC configure:8138: result: -fPIC -DPIC configure:8150: checking if gcc PIC flag -fPIC -DPIC works configure:8168: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:8172: $? = 0 configure:8185: result: yes configure:8209: checking if gcc static flag -static works configure:8237: result: yes configure:8252: checking if gcc supports -c -o file.o configure:8273: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8277: $? = 0 configure:8299: result: yes configure:8307: checking if gcc supports -c -o file.o configure:8354: result: yes configure:8387: checking whether the gcc linker (/usr/x86_64-suse- linux/bin/ld -m elf_x86_64) supports shared libraries configure:9462: result: yes configure:9707: checking dynamic linker characteristics configure:10175: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:10175: $? = 0 configure:10397: result: GNU/Linux ld.so configure:10504: checking how to hardcode library paths into programs configure:10529: result: immediate configure:11069: checking whether stripping libraries is possible configure:11074: result: yes configure:11109: checking if libtool supports shared libraries configure:11111: result: yes configure:11114: checking whether to build shared libraries configure:11135: result: no configure:11138: checking whether to build static libraries configure:11142: result: yes configure:11165: checking how to run the C++ preprocessor configure:11192: g++ -E conftest.cpp configure:11192: $? = 0 configure:11206: g++ -E conftest.cpp conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory configure:11206: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "votca-csg" | #define PACKAGE_TARNAME "votca-csg" | #define PACKAGE_VERSION "1.1" | #define PACKAGE_STRING "votca-csg 1.1" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_URL "" | #define PACKAGE "votca-csg" | #define VERSION "1.1" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:11231: result: g++ -E configure:11251: g++ -E conftest.cpp configure:11251: $? = 0 configure:11265: g++ -E conftest.cpp conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory configure:11265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "votca-csg" | #define PACKAGE_TARNAME "votca-csg" | #define PACKAGE_VERSION "1.1" | #define PACKAGE_STRING "votca-csg 1.1" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_URL "" | #define PACKAGE "votca-csg" | #define VERSION "1.1" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:11433: checking for ld used by g++ configure:11500: result: /usr/x86_64-suse-linux/bin/ld -m elf_x86_64 configure:11507: checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld configure:11522: result: yes configure:11577: checking whether the g++ linker (/usr/x86_64-suse- linux/bin/ld -m elf_x86_64) supports shared libraries configure:12509: result: yes configure:12537: g++ -c -g -O2 conftest.cpp >&5 configure:12540: $? = 0 configure:12722: checking for g++ option to produce PIC configure:13044: result: -fPIC -DPIC configure:13053: checking if g++ PIC flag -fPIC -DPIC works configure:13071: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:13075: $? = 0 configure:13088: result: yes configure:13109: checking if g++ static flag -static works configure:13137: result: yes configure:13149: checking if g++ supports -c -o file.o configure:13170: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:13174: $? = 0 configure:13196: result: yes configure:13201: checking if g++ supports -c -o file.o configure:13248: result: yes configure:13278: checking whether the g++ linker (/usr/x86_64-suse- linux/bin/ld -m elf_x86_64) supports shared libraries configure:13306: result: yes configure:13449: checking dynamic linker characteristics configure:14073: result: GNU/Linux ld.so configure:14126: checking how to hardcode library paths into programs configure:14151: result: immediate configure:14210: checking for ANSI C header files configure:14314: result: yes configure:14322: checking whether ln -s works configure:14326: result: yes configure:14386: checking for pkg-config configure:14404: found /usr/bin/pkg-config configure:14416: result: /usr/bin/pkg-config configure:14441: checking pkg-config is at least version 0.9.0 configure:14444: result: yes configure:14455: creating ./config.lt ## ------------------ ## ## Running config.lt. ## ## ------------------ ## config.lt:683: creating libtool configure:16149: checking for VOTCA_TOOLS configure:16156: $PKG_CONFIG --exists --print-errors "libvotca_tools" configure:16159: $? = 0 configure:16172: $PKG_CONFIG --exists --print-errors "libvotca_tools" configure:16175: $? = 0 configure:16224: result: yes configure:16234: checking for votca::tools::ToolsVersionStr in - pthread -L/root/votca/lib -L/usr/local/lib -lvotca_tools -lexpat - lboost_program_options -lgsl -lgslcblas -lfftw3 -lm configure:16250: /bin/sh ./libtool --mode=link g++ -o conftest -g -O2 - pthread -I/root/votca/include -I/usr/local/include conftest.cpp - pthread -L/root/votca/lib -L/usr/local/lib -lvotca_tools -lexpat - lboost_program_options -lgsl -lgslcblas -lfftw3 -lm >&5 libtool: link: g++ -o conftest -g -O2 -pthread -I/root/votca/include - I/usr/local/include conftest.cpp -pthread -L/root/votca/lib -L/usr/ local/lib /root/votca/lib/libvotca_tools.a -L/usr/lib64 -lexpat - lboost_program_options /usr/local/lib/libgsl.so /usr/local/lib/ libgslcblas.so /usr/local/lib/libfftw3.a -lm -pthread configure:16250: $? = 0 configure:16252: result: yes configure:16273: checking votca/tools/version.h usability configure:16273: g++ -c -g -O2 -pthread -I/root/votca/include -I/usr/ local/include conftest.cpp >&5 configure:16273: $? = 0 configure:16273: result: yes configure:16273: checking votca/tools/version.h presence configure:16273: g++ -E -pthread -I/root/votca/include -I/usr/local/ include conftest.cpp configure:16273: $? = 0 configure:16273: result: yes configure:16273: checking for votca/tools/version.h configure:16273: result: yes configure:16295: checking votca/tools/application.h usability configure:16295: g++ -c -g -O2 -pthread -I/root/votca/include -I/usr/ local/include conftest.cpp >&5 configure:16295: $? = 0 configure:16295: result: yes configure:16295: checking votca/tools/application.h presence configure:16295: g++ -E -pthread -I/root/votca/include -I/usr/local/ include conftest.cpp configure:16295: $? = 0 configure:16295: result: yes configure:16295: checking for votca/tools/application.h configure:16295: result: yes configure:16319: checking votca/tools/thread.h usability configure:16319: g++ -c -g -O2 -pthread -I/root/votca/include -I/usr/ local/include conftest.cpp >&5 configure:16319: $? = 0 configure:16319: result: yes configure:16319: checking votca/tools/thread.h presence configure:16319: g++ -E -pthread -I/root/votca/include -I/usr/local/ include conftest.cpp configure:16319: $? = 0 configure:16319: result: yes configure:16319: checking for votca/tools/thread.h configure:16319: result: yes configure:16376: checking for GMX pkg-config files configure:16379: $PKG_CONFIG --exists --print-errors "lib$libgmx" Package libgmx_d was not found in the pkg-config search path. Perhaps you should add the directory containing `libgmx_d.pc' to the PKG_CONFIG_PATH environment variable No package 'libgmx_d' found configure:16382: $? = 1 configure:16390: result: no configure:16392: checking for GMXLDLIB configure:16395: result: no configure:16397: WARNING: Could not find GMXLDLIB environment variable, assuming you have gromacs files in defaults paths configure:16421: checking for GMX configure:16428: $PKG_CONFIG --exists --print-errors "lib$libgmx" Package libgmx_d was not found in the pkg-config search path. Perhaps you should add the directory containing `libgmx_d.pc' to the PKG_CONFIG_PATH environment variable No package 'libgmx_d' found configure:16431: $? = 1 configure:16444: $PKG_CONFIG --exists --print-errors "lib$libgmx" Package libgmx_d was not found in the pkg-config search path. Perhaps you should add the directory containing `libgmx_d.pc' to the PKG_CONFIG_PATH environment variable No package 'libgmx_d' found configure:16447: $? = 1 configure:16460: result: no No package 'libgmx_d' found configure:16485: setting GMX_LIBS to "-lgmx_d" configure:16517: checking for GromacsVersion in -lgmx_d configure:16537: /bin/sh ./libtool --mode=link g++ -o conftest -g - O2 conftest.cpp -lgmx_d >&5 libtool: link: g++ -o conftest -g -O2 conftest.cpp -lgmx_d /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/ bin/ld: cannot find -lgmx_d collect2: ld returned 1 exit status configure:16537: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "votca-csg" | #define PACKAGE_TARNAME "votca-csg" | #define PACKAGE_VERSION "1.1" | #define PACKAGE_STRING "votca-csg 1.1" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_URL "" | #define PACKAGE "votca-csg" | #define VERSION "1.1" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_VOTCA_TOOLS_VERSION_H 1 | #define HAVE_VOTCA_TOOLS_APPLICATION_H 1 | #define HAVE_VOTCA_TOOLS_THREAD_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char GromacsVersion (); | int | main () | { | return GromacsVersion (); | ; | return 0; | } configure:16545: result: no configure:16557: error: Could not link against GROMACS, please choose libraries to link against with --with-libgmx=XXX or specify it in GMX_LIBS (e.g. export GMX_LIBS="-L<gromacs-path>/lib - lgmx") or disable GROMACS support with --without-libgmx. If you are using a mpi version of gromacs, make sure that CXX is something like mpic++. (e.g. export CXX="mpic++" and export GMX_LIBS="-L<gromacs-path>/lib - lgmx_mpi") In gromacs version 5.0 libgmx has been renamed to libgromacs, so GMX_LIBS should contain '-lgromacs' ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= 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_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_GMXLDLIB_set= ac_cv_env_GMXLDLIB_value= ac_cv_env_GMX_CFLAGS_set= ac_cv_env_GMX_CFLAGS_value= ac_cv_env_GMX_LIBS_set= ac_cv_env_GMX_LIBS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/root/votca/lib/pkgconfig ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_VOTCA_TOOLS_CFLAGS_set= ac_cv_env_VOTCA_TOOLS_CFLAGS_value= ac_cv_env_VOTCA_TOOLS_LIBS_set= ac_cv_env_VOTCA_TOOLS_LIBS_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_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_header_votca_tools_application_h=yes ac_cv_header_votca_tools_thread_h=yes ac_cv_header_votca_tools_version_h=yes ac_cv_host=x86_64-unknown-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/x86_64-suse-linux/bin/ld lt_cv_path_LDCXX='/usr/x86_64-suse-linux/bin/ld -m elf_x86_64' lt_cv_path_NM='/usr/bin/nm -B' lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW] [ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]* \) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \ ([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/ ^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \ ([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/ ^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/ p'\''' lt_cv_sys_max_cmd_len=98304 pkg_cv_VOTCA_TOOLS_CFLAGS='-pthread -I/root/votca/include -I/usr/local/ include ' pkg_cv_VOTCA_TOOLS_LIBS='-pthread -L/root/votca/lib -L/usr/local/lib - lvotca_tools -lexpat -lboost_program_options -lgsl -lgslcblas -lfftw3 - lm ' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/pjk38/votca/src/csg/config/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/pjk38/votca/src/csg/config/missing --run tar' AR='ar' AUTOCONF='${SHELL} /home/pjk38/votca/src/csg/config/missing --run autoconf' AUTOHEADER='${SHELL} /home/pjk38/votca/src/csg/config/missing --run autoheader' AUTOMAKE='${SHELL} /home/pjk38/votca/src/csg/config/missing --run automake-1.11' AWK='gawk' BIN_LDFLAGS='-all-static ' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CXX='/bin/sh ./libtool --mode=link g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DOXYGEN='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GMXLDLIB='' GMX_CFLAGS='' GMX_FALSE='' GMX_LIBS='-lgmx_d' GMX_TRUE='' GREP='/bin/grep' HAVE_DOXYGEN_FALSE='' HAVE_DOXYGEN_TRUE='' HAVE_TXT2TAGS_FALSE='' HAVE_TXT2TAGS_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/x86_64-suse-linux/bin/ld -m elf_x86_64' LDFLAGS='' LIBOBJS='' LIBS='-lgmx_d ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/pjk38/votca/src/csg/config/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' NO_LA_FILES_FALSE='' NO_LA_FILES_TRUE='#' NO_RC_FILES_FALSE='' NO_RC_FILES_TRUE='#' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='votca-csg' PACKAGE_BUGREPORT='[email protected]' PACKAGE_NAME='votca-csg' PACKAGE_STRING='votca-csg 1.1' PACKAGE_TARNAME='votca-csg' PACKAGE_URL='' PACKAGE_VERSION='1.1' PATH_SEPARATOR=':' PKGCFLAGSGMX='' PKGGMX='' PKGLIBSGMX='' PKG_CONFIG='/usr/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/root/votca/lib/pkgconfig' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' TXT2TAGS='' VERSION='1.1' VOTCA_TOOLS_CFLAGS='-pthread -I/root/votca/include -I/usr/local/ include ' VOTCA_TOOLS_LIBS='-pthread -L/root/votca/lib -L/usr/local/lib - lvotca_tools -lexpat -lboost_program_options -lgsl -lgslcblas -lfftw3 - lm ' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/pjk38/votca/src/csg/config/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/root/votca' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "votca-csg" #define PACKAGE_TARNAME "votca-csg" #define PACKAGE_VERSION "1.1" #define PACKAGE_STRING "votca-csg 1.1" #define PACKAGE_BUGREPORT "[email protected]" #define PACKAGE_URL "" #define PACKAGE "votca-csg" #define VERSION "1.1" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define STDC_HEADERS 1 #define HAVE_VOTCA_TOOLS_VERSION_H 1 #define HAVE_VOTCA_TOOLS_APPLICATION_H 1 #define HAVE_VOTCA_TOOLS_THREAD_H 1 configure: exit 1 On Feb 25, 4:41 pm, "Victor Rühle" <[email protected]> wrote: > Please post your config.log. Btw, suse 11.? and static linking does not > work. In this case you will have to recompile gromacs as shared > (--enable-shared) > > Patrick Kiley <[email protected]> schrieb: > > > > >Hi Christoph, > > >No luck. I tried to build it again like this: > >./build.sh --static --conf-opts "--disable-shared --with- > >libgmx=libgmx_d" --release 1.1 tools csg > > >with > >GMX_LIBS="-L/usr/local/gromacs/lib/ -lgmx_d" > >or > >GMX_LIBS="-L/usr/local/gromacs/lib/ -lgmx" > > >But I get the same error. > > >On Feb 25, 3:12 pm, Christoph Junghans <[email protected]> > >wrote: > >> Am 02/25/2011 02:15 PM, schrieb Patrick Kiley:> Hi Christoph, > > >> > Here is the contents of /usr/local/gromacs/lib and as you can see > >its > >> > double precision - not sure if that makes a difference: > >> > libgmxana_d.a libgmx_d.a libgmxpreprocess_d.a libmd_d.a > >> > pkgconfig > >> > libgmxana_d.la libgmx_d.la libgmxpreprocess_d.la libmd_d.la > > >> Well, for double precision you will need to specify an extra > >--conf-opts > >> "--with-libgmx=libgmx_d". > > >> Cheers, > > >> Christoph > > >> > ./build.sh failed like this: > >> > checking for GMX pkg-config files... no > >> > checking for GMXLDLIB... no > >> > configure: WARNING: Could not find GMXLDLIB environment variable, > >> > assuming you have gromacs files in defaults paths > >> > checking for GMX... no > >> > configure: setting GMX_LIBS to "-lgmx" > >> > checking for GromacsVersion in -lgmx... no > >> > configure: error: > > >> > Could not link against GROMACS, please choose libraries to link > >> > against with --with-libgmx=XXX > >> > or specify it in GMX_LIBS (e.g. export > >GMX_LIBS="-L<gromacs-path>/lib - > >> > lgmx") > >> > or disable GROMACS support with --without-libgmx. > > >> > and here is the part of csg/config.log that failed (somewhat > >> > long . . .): > >> > configure:16319: result: yes > >> > configure:16362: $PKG_CONFIG --exists --print-errors "libgromacs" > >> > Package libgromacs was not found in the pkg-config search path. > >> > Perhaps you should add the directory containing `libgromacs.pc' > >> > to the PKG_CONFIG_PATH environment variable > >> > No package 'libgromacs' found > >> > configure:16365: $? = 1 > >> > configure:16376: checking for GMX pkg-config files > >> > configure:16379: $PKG_CONFIG --exists --print-errors "lib$libgmx" > >> > Package libgmx was not found in the pkg-config search path. > >> > Perhaps you should add the directory containing `libgmx.pc' > >> > to the PKG_CONFIG_PATH environment variable > >> > No package 'libgmx' found > >> > configure:16382: $? = 1 > >> > configure:16390: result: no > >> > configure:16392: checking for GMXLDLIB > >> > configure:16395: result: no > >> > configure:16397: WARNING: Could not find GMXLDLIB environment > >> > variable, assuming you have gromacs files in defaults paths > >> > configure:16421: checking for GMX > >> > configure:16428: $PKG_CONFIG --exists --print-errors "lib$libgmx" > >> > Package libgmx was not found in the pkg-config search path. > >> > Perhaps you should add the directory containing `libgmx.pc' > >> > to the PKG_CONFIG_PATH environment variable > >> > No package 'libgmx' found > >> > configure:16431: $? = 1 > >> > configure:16444: $PKG_CONFIG --exists --print-errors "lib$libgmx" > >> > Package libgmx was not found in the pkg-config search path. > >> > Perhaps you should add the directory containing `libgmx.pc' > >> > to the PKG_CONFIG_PATH environment variable > >> > No package 'libgmx' found > >> > configure:16447: $? = 1 > >> > configure:16460: result: no > >> > No package 'libgmx' found > >> > configure:16485: setting GMX_LIBS to "-lgmx" > >> > configure:16517: checking for GromacsVersion in -lgmx > >> > configure:16537: /bin/sh ./libtool --mode=link g++ -o conftest -g - > >> > O2 conftest.cpp -lgmx>&5 > >> > libtool: link: g++ -o conftest -g -O2 conftest.cpp -lgmx > > >/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/ > >> > bin/ld: cannot find -lgmx > >> > collect2: ld returned 1 exit status > >> > configure:16537: $? = 1 > >> > configure: failed program was: > >> > | /* confdefs.h */ > >> > | #define PACKAGE_NAME "votca-csg" > >> > | #define PACKAGE_TARNAME "votca-csg" > >> > | #define PACKAGE_VERSION "1.1" > >> > | #define PACKAGE_STRING "votca-csg 1.1" > >> > | #define PACKAGE_BUGREPORT "[email protected]" > >> > | #define PACKAGE_URL "" > >> > | #define PACKAGE "votca-csg" > >> > | #define VERSION "1.1" > >> > | #define STDC_HEADERS 1 > >> > | #define HAVE_SYS_TYPES_H 1 > >> > | #define HAVE_SYS_STAT_H 1 > >> > | #define HAVE_STDLIB_H 1 > >> > | #define HAVE_STRING_H 1 > >> > | #define HAVE_MEMORY_H 1 > >> > | #define HAVE_STRINGS_H 1 > >> > | #define HAVE_INTTYPES_H 1 > >> > | #define HAVE_STDINT_H 1 > >> > | #define HAVE_UNISTD_H 1 > >> > | #define HAVE_DLFCN_H 1 > >> > | #define LT_OBJDIR ".libs/" > >> > | #define STDC_HEADERS 1 > >> > | #define HAVE_VOTCA_TOOLS_VERSION_H 1 > >> > | #define HAVE_VOTCA_TOOLS_APPLICATION_H 1 > >> > | #define HAVE_VOTCA_TOOLS_THREAD_H 1 > >> > | /* end confdefs.h. */ > >> > | > >> > | /* Override any GCC internal prototype to avoid an error. > >> > | Use char because int might match the return type of a GCC > >> > | builtin and then its argument prototype would still apply. */ > >> > | #ifdef __cplusplus > >> > | extern "C" > >> > | #endif > >> > | char GromacsVersion (); > >> > | int > >> > | main () > >> > | { > >> > | return GromacsVersion (); > >> > | ; > >> > | return 0; > >> > | } > >> > configure:16545: result: no > >> > configure:16557: error: > > >> > Could not link against GROMACS, please choose libraries to link > >> > against with --with-libgmx=XXX > >> > or specify it in GMX_LIBS (e.g. export > >GMX_LIBS="-L<gromacs-path>/lib - > >> > lgmx") > >> > or disable GROMACS support with --without-libgmx. > > >> > If you are using a mpi version of gromacs, make sure that CXX is > >> > something like mpic++. > >> > (e.g. export CXX="mpic++" and export GMX_LIBS="-L<gromacs-path>/lib > >- > >> > lgmx_mpi") > > >> > In gromacs version 5.0 libgmx has been renamed to libgromacs, so > >> > GMX_LIBS should contain '-lgromacs' > > >> > On Feb 25, 12:57 pm, Christoph Junghans > >> > <[email protected]> wrote: > >> >> On Feb 25, 1:30 pm, Patrick Kiley<[email protected]> wrote:> > > Could not link against GROMACS, please choose libraries to link > >> >>> against with --with-libgmx=XXX > >> >>> or specify it in GMX_LIBS (e.g. export > >GMX_LIBS="-L<gromacs-path>/lib - > >> >>> lgmx") > >> >>> or disable GROMACS support with --without-libgmx. > > >> >>> I set GMX_LIBS like this: > >> >>> export GMX_LIBS="-L/usr/local/gromacs/lib/ -lgmx" > > >> >>> but still get this error. Does anyone know how to fix this > >problem? > > >> >> Do you have the libgmx.a or libgmx.so in your /usr/local/gromacs/ > >> >> lib/ ? > > >> >> Try to find the part in csg/config.log, where the error happens > >and > >> >> post it here. > > >> >> Cheers, > > >> >> Christoph > > >> -- > >> Dr. Christoph Junghans > >> Max Planck Institute for Polymer Research > >> Theory Group > >> POBox 3148 > >> D 55021 Mainz, Germany > > >> Phone: +49 6131 379 335 > >> Web:http://www.mpip-mainz.mpg.de/~junghans > > >-- > >You received this message because you are subscribed to the Google > >Groups "votca" group. > >To post to this group, send email to [email protected]. > >To unsubscribe from this group, send email to > >[email protected]. > >For more options, visit this group at > >http://groups.google.com/group/votca?hl=en. > > -- > Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. -- You received this message because you are subscribed to the Google Groups "votca" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/votca?hl=en.
