I am attempting to install ginac on redhat 7.0. First step, get cln-1.1, and unzip, untar, etc. This resulted in a directory cln-1.1 being created. From there, I ran ./configure, make, make check and make install. Everything seemed to go fine since there were no error messages. Next step. Go to my GiNac-0.7.1 directory and run ./configure. Here is the relevant error message. <snip lots of stuff> checking for cln-config... /usr/local/bin/cln-config checking for CLN - version >= 1.1.0... no *** Could not run CLN test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding CLN or finding the wrong *** version of CLN. If it is not finding CLN, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system. <snip more stuff> **** The following problems have been detected by configure. **** Please check the messages below before running "make". **** (see the section 'Common Problems' in the INSTALL file) ** No suitable installed version of CLN could be found. Chances are a most naive error on my part. From the error messages, it appears that the configure script is not looking in the correct directory(ies). And since I got cln from its web site, I assume it is the appropriate version. Perhaps I am wrong? Any help is greatly appreciated. Thanks, Dick Fell - To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
Just a guess: did you set compiler flags? I set: export CPPFLAGS=-I/usr/local/include export CXXFLAGS=-I/usr/local/include export LDFLAGS=-L/usr/local/lib I work on cygwin (probably different from you), but this worked on a similar errormessage. regards Tilman richard noel fell schrieb:
am attempting to install ginac on redhat 7.0. First step, get cln-1.1, and unzip, untar, etc. This resulted in a directory cln-1.1 being created. From there, I ran ./configure, make, make check and make install. Everything seemed to go fine since there were no error messages. Next step. Go to my GiNac-0.7.1 directory and run ./configure. Here is the relevant error message.
<snip lots of stuff> checking for cln-config... /usr/local/bin/cln-config checking for CLN - version >= 1.1.0... no *** Could not run CLN test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding CLN or finding the wrong *** version of CLN. If it is not finding CLN, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system. <snip more stuff> **** The following problems have been detected by configure. **** Please check the messages below before running "make". **** (see the section 'Common Problems' in the INSTALL file)
** No suitable installed version of CLN could be found.
Chances are a most naive error on my part. From the error messages, it appears that the configure script is not looking in the correct directory(ies). And since I got cln from its web site, I assume it is the appropriate version. Perhaps I am wrong? Any help is greatly appreciated. Thanks, Dick Fell
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
Tilman - Thanks for the reply. Unfortuately, your suggestions did not help. The same error message appeared. Darn. Dick Fell Tilman Utz wrote:
Just a guess: did you set compiler flags? I set: export CPPFLAGS=-I/usr/local/include export CXXFLAGS=-I/usr/local/include export LDFLAGS=-L/usr/local/lib I work on cygwin (probably different from you), but this worked on a similar errormessage.
regards Tilman
richard noel fell schrieb:
am attempting to install ginac on redhat 7.0. First step, get cln-1.1, and unzip, untar, etc. This resulted in a directory cln-1.1 being created. From there, I ran ./configure, make, make check and make install. Everything seemed to go fine since there were no error messages. Next step. Go to my GiNac-0.7.1 directory and run ./configure. Here is the relevant error message.
<snip lots of stuff> checking for cln-config... /usr/local/bin/cln-config checking for CLN - version >= 1.1.0... no *** Could not run CLN test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding CLN or finding the wrong *** version of CLN. If it is not finding CLN, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system. <snip more stuff> **** The following problems have been detected by configure. **** Please check the messages below before running "make". **** (see the section 'Common Problems' in the INSTALL file)
** No suitable installed version of CLN could be found.
Chances are a most naive error on my part. From the error messages, it appears that the configure script is not looking in the correct directory(ies). And since I got cln from its web site, I assume it is the appropriate version. Perhaps I am wrong? Any help is greatly appreciated. Thanks, Dick Fell
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
On Fri, 16 Feb 2001, richard noel fell wrote:
Thanks for the reply. Unfortuately, your suggestions did not help. The same error message appeared. Darn.
Hmm, the message implies that it found the headers and compiled the test program, but could not run it. Please study config.log. My guess is that at runtime it doesn't find the shared lib. Please export LD_LIBRARY_PATH so it points to the dir where libcln.so is sitting.
Dick Fell
Tilman Utz wrote:
Just a guess: did you set compiler flags? I set: export CPPFLAGS=-I/usr/local/include export CXXFLAGS=-I/usr/local/include export LDFLAGS=-L/usr/local/lib I work on cygwin (probably different from you), but this worked on a similar errormessage.
regards Tilman
richard noel fell schrieb:
am attempting to install ginac on redhat 7.0. First step, get cln-1.1, and unzip, untar, etc. This resulted in a directory cln-1.1 being created. From there, I ran ./configure, make, make check and make install. Everything seemed to go fine since there were no error messages. Next step. Go to my GiNac-0.7.1 directory and run ./configure. Here is the relevant error message.
<snip lots of stuff> checking for cln-config... /usr/local/bin/cln-config checking for CLN - version >= 1.1.0... no *** Could not run CLN test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding CLN or finding the wrong *** version of CLN. If it is not finding CLN, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system. <snip more stuff> **** The following problems have been detected by configure. **** Please check the messages below before running "make". **** (see the section 'Common Problems' in the INSTALL file)
** No suitable installed version of CLN could be found.
Chances are a most naive error on my part. From the error messages, it appears that the configure script is not looking in the correct directory(ies). And since I got cln from its web site, I assume it is the appropriate version. Perhaps I am wrong? Any help is greatly appreciated. Thanks, Dick Fell
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
-- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/> - To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
I did as you said and exported LD_LIBRARY_PATH, but still the same problem. I am attaching the config.log. Sorry to be such a bother. Dick Fell "Richard B. Kreckel" wrote:
On Fri, 16 Feb 2001, richard noel fell wrote:
Thanks for the reply. Unfortuately, your suggestions did not help. The same error message appeared. Darn.
Hmm, the message implies that it found the headers and compiled the test program, but could not run it. Please study config.log. My guess is that at runtime it doesn't find the shared lib. Please export LD_LIBRARY_PATH so it points to the dir where libcln.so is sitting.
Dick Fell
Tilman Utz wrote:
Just a guess: did you set compiler flags? I set: export CPPFLAGS=-I/usr/local/include export CXXFLAGS=-I/usr/local/include export LDFLAGS=-L/usr/local/lib I work on cygwin (probably different from you), but this worked on a similar errormessage.
regards Tilman
richard noel fell schrieb:
am attempting to install ginac on redhat 7.0. First step, get cln-1.1, and unzip, untar, etc. This resulted in a directory cln-1.1 being created. From there, I ran ./configure, make, make check and make install. Everything seemed to go fine since there were no error messages. Next step. Go to my GiNac-0.7.1 directory and run ./configure. Here is the relevant error message.
<snip lots of stuff> checking for cln-config... /usr/local/bin/cln-config checking for CLN - version >= 1.1.0... no *** Could not run CLN test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding CLN or finding the wrong *** version of CLN. If it is not finding CLN, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system. <snip more stuff> **** The following problems have been detected by configure. **** Please check the messages below before running "make". **** (see the section 'Common Problems' in the INSTALL file)
** No suitable installed version of CLN could be found.
Chances are a most naive error on my part. From the error messages, it appears that the configure script is not looking in the correct directory(ies). And since I got cln from its web site, I assume it is the appropriate version. Perhaps I am wrong? Any help is greatly appreciated. Thanks, Dick Fell
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
-- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/>
- To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:623: checking for a BSD compatible install configure:676: checking whether build environment is sane configure:733: checking whether make sets ${MAKE} configure:779: checking for working aclocal configure:792: checking for working autoconf configure:805: checking for working automake configure:818: checking for working autoheader configure:831: checking for working makeinfo configure:850: checking for c++ configure:882: checking whether the C++ compiler (c++ -I/usr/local/include -L/usr/local/lib) works configure:898: c++ -o conftest -I/usr/local/include -I/usr/local/include -L/usr/local/lib conftest.C 1>&5 configure:924: checking whether the C++ compiler (c++ -I/usr/local/include -L/usr/local/lib) is a cross-compiler configure:929: checking whether we are using GNU C++ configure:938: c++ -E conftest.C configure:957: checking whether c++ accepts -g configure:989: checking how to run the C++ preprocessor configure:1007: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:1043: checking for a BSD compatible install configure:1171: checking host system type configure:1192: checking build system type configure:1212: checking for ranlib configure:1242: checking for gcc configure:1355: checking whether the C compiler (gcc -L/usr/local/lib) works configure:1371: gcc -o conftest -I/usr/local/include -L/usr/local/lib conftest.c 1>&5 configure:1397: checking whether the C compiler (gcc -L/usr/local/lib) is a cross-compiler configure:1402: checking whether we are using GNU C configure:1411: gcc -E conftest.c configure:1430: checking whether gcc accepts -g configure:1473: checking for ld used by GCC configure:1536: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.10.90 (with BFD 2.10.0.18) configure:1552: checking for BSD-compatible nm configure:1589: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: gcc -c -g -O2 -I/usr/local/include conftest.c 1>&5 ltconfig:629: checking for executable suffix ltconfig:630: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c 1>&5 ltconfig:776: checking if gcc PIC flag -fPIC works ltconfig:777: gcc -c -g -O2 -fPIC -DPIC -I/usr/local/include conftest.c 1>&5 ltconfig:829: checking if gcc supports -c -o file.o ltconfig:830: gcc -c -g -O2 -o out/conftest2.o -I/usr/local/include conftest.c 1>&5 ltconfig:862: checking if gcc supports -c -o file.lo ltconfig:863: gcc -c -g -O2 -c -o conftest.lo -I/usr/local/include conftest.c 1>&5 ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include conftest.c 1>&5 ltconfig:958: checking if gcc static flag -static works ltconfig:959: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib -static conftest.c 1>&5 GNU ld version 2.10.90 (with BFD 2.10.0.18) ltconfig:1653: checking if global_symbol_pipe works ltconfig:1654: gcc -c -g -O2 -I/usr/local/include conftest.c 1>&5 ltconfig:1657: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1709: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions -I/usr/local/include -L/usr/local/lib conftest.c conftstm.o 1>&5 configure:1784: checking how to run the C preprocessor configure:1805: gcc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:1869: checking for flex configure:1902: checking for flex configure:1936: checking for yywrap in -lfl configure:1955: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c -lfl 1>&5 configure:1978: checking lex output file root configure:1999: checking whether yytext is a pointer configure:2018: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c -lfl 1>&5 configure:2044: checking for bison configure:2093: checking size of long configure:2112: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c 1>&5 configure:2132: checking size of long long configure:2151: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c 1>&5 configure:2171: checking size of long double configure:2190: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c 1>&5 configure:2222: checking for unistd.h configure:2232: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2262: checking for readline/readline.h configure:2272: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2262: checking for readline/history.h configure:2272: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2309: checking for tgetent configure:2340: c++ -o conftest -I/usr/local/include -I/usr/local/include -L/usr/local/lib conftest.C 1>&5 /tmp/ccoAmJwf.o: In function `main': /tmp/ccoAmJwf.o(.text+0x7): undefined reference to `tgetent' collect2: ld returned 1 exit status configure: failed program was: #line 2314 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char tgetent(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char tgetent(); int main() { /* 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_tgetent) || defined (__stub___tgetent) choke me #else tgetent(); #endif ; return 0; } configure:2368: checking for tgetent in -lncurses configure:2390: c++ -o conftest -I/usr/local/include -I/usr/local/include -L/usr/local/lib conftest.C -lncurses 1>&5 configure:2461: checking for readline in -lreadline configure:2483: c++ -o conftest -I/usr/local/include -I/usr/local/include -L/usr/local/lib conftest.C -lreadline -lncurses 1>&5 configure:2525: checking for iostream configure:2535: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2525: checking for vector configure:2535: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2525: checking for map configure:2535: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2525: checking for string configure:2535: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2525: checking for list configure:2535: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2525: checking for typeinfo configure:2535: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2525: checking for iterator configure:2535: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2525: checking for stdexcept configure:2535: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2525: checking for algorithm configure:2535: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2566: checking for sstream configure:2576: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2566: checking for strstream configure:2576: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2644: checking for cln-config configure:2679: checking for CLN - version >= 1.1.0 configure:2775: c++ -o conftest -I/usr/local/include -I/usr/local/include -I/usr/local/include -L/usr/local/lib conftest.C -L/usr/local/lib -lcln -lgmp 1>&5 configure: failed program was: #line 2732 "configure" #include "confdefs.h" #ifdef __cplusplus extern "C" void exit(int); #endif #include <stdio.h> #include <string.h> #include <cln/version.h> /* we do not #include <stdlib.h> because autoconf in C++ mode inserts a prototype for exit() that conflicts with the one in stdlib.h */ extern "C" int system(const char *); int main(void) { int major, minor, micro; char *tmp_version; system("touch conf.clntest"); if ((CL_VERSION_MAJOR != 1) || (CL_VERSION_MINOR != 1) || (CL_VERSION_PATCHLEVEL != 0)) { printf("\n*** 'cln-config --version' returned %d.%d.%d, but the header file I found\n", 1, 1, 0); printf("*** corresponds to %d.%d.%d. This mismatch suggests your installation of CLN\n", CL_VERSION_MAJOR, CL_VERSION_MINOR, CL_VERSION_PATCHLEVEL); printf("*** is corrupted or you have specified some wrong -I compiler flags.\n"); printf("*** Please inquire and consider reinstalling CLN.\n"); return 1; } if ((cln::version_major != 1) || (cln::version_minor != 1) || (cln::version_patchlevel != 0)) { printf("\n*** 'cln-config --version' returned %d.%d.%d, but the library I found\n", 1, 1, 0); printf("*** corresponds to %d.%d.%d. This mismatch suggests your installation of CLN\n", cln::version_major, cln::version_minor, cln::version_patchlevel); printf("*** is corrupted or you have specified some wrong -L compiler flags.\n"); printf("*** Please inquire and consider reinstalling CLN.\n"); return 1; } return 0; } configure:2813: c++ -o conftest -I/usr/local/include -g -O2 -I/usr/local/include -L/usr/local/lib conftest.C -L/usr/local/lib -lcln -lgmp 1>&5 configure:2857: checking for doxygen configure:2893: checking for latex configure:2929: checking for makeindex configure:2965: checking for dvips configure:3001: checking for fig2dev
Dear Dick Fell, It appears you are having some linker confusion. Could you please ask a local Linux Guru to help you out? It is a very minor problem but nobody can do a remote analysis based on your config.log file. In case there is nobody around to help: Go to the line that begins with configure:2775, copy the code snippet to a file conftest.C and try to compile, link and run it with the command given in the log. Play with your compiler's -I, -L and -l flags until it works. Then export them appropiately. Regards -richy. -- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/> - To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
participants (3)
-
Richard B. Kreckel
-
richard noel fell
-
Tilman Utz