...
configure:5882: checking matheval.h usability
configure:5882: c++ -c -O -fPIC -Wall -pedantic -ansi -I/home/cneale/exec/MATHEVAL/libmatheval-1.1.11/exec/include conftest.cpp >&5
configure:5882: $? = 0
configure:5882: result: yes
configure:5882: checking matheval.h presence
configure:5882: c++ -E -I/home/cneale/exec/MATHEVAL/libmatheval-1.1.11/exec/include conftest.cpp
configure:5882: $? = 0
configure:5882: result: yes
configure:5882: checking for matheval.h
configure:5882: result: yes
configure:5885: checking for evaluator_create
configure:5885: c++ -o conftest -O -fPIC -Wall -pedantic -ansi -I/home/cneale/exec/MATHEVAL/libmatheval-1.1.11/exec/include -L/home/cneale/exec/MATHEVAL/libmatheval-1.1.11/exec/lib conftest.cpp -ldl >&5
/tmp/ccZG41Pi.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `evaluator_create'
collect2: error: ld returned 1 exit status
configure:5885: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PLUMED"
| #define PACKAGE_TARNAME "plumed"
| #define PACKAGE_VERSION "2"
| #define PACKAGE_STRING "PLUMED 2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #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 __PLUMED_HAS_MOLFILE_PLUGINS 1
| /* end confdefs.h. */
| /* Define evaluator_create to an innocuous variant, in case <limits.h> declares evaluator_create.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define evaluator_create innocuous_evaluator_create
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char evaluator_create (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef evaluator_create
|
| /* 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 evaluator_create ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_evaluator_create || defined __stub___evaluator_create
| choke me
| #endif
|
| int
| main ()
| {
| return evaluator_create ();
| ;
| return 0;
| }
configure:5885: result: no
configure:5889: checking for evaluator_create in -lmatheval
configure:5914: c++ -o conftest -O -fPIC -Wall -pedantic -ansi -I/home/cneale/exec/MATHEVAL/libmatheval-1.1.11/exec/include -L/home/cneale/exec/MATHEVAL/libmatheval-1.1.11/exec/lib conftest.cpp -lmatheval -ldl >&5
/home/cneale/exec/MATHEVAL/libmatheval-1.1.11/exec/lib/libmatheval.so: undefined reference to `yywrap'
collect2: error: ld returned 1 exit status
configure:5914: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PLUMED"
| #define PACKAGE_TARNAME "plumed"
| #define PACKAGE_VERSION "2"
| #define PACKAGE_STRING "PLUMED 2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #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 __PLUMED_HAS_MOLFILE_PLUGINS 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 evaluator_create ();
| int
| main ()
| {
| return evaluator_create ();
| ;
| return 0;
| }
configure:5923: result: no
configure:5940: WARNING: cannot enable __PLUMED_HAS_MATHEVAL
...
Chris.