$./configure ... an error occured: 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. ... So... cd /usr/local/bin $ ls cln-config ... $./cln-config --version 1.1.9 $ ./cln-config --libs -L/usr/local/lib -lcln -lgmp $ ./cln-config --cppflags -I/usr/local/include $ ./cln-config --exec-prefix /usr/local $ echo $LD_LIBRARY_PATH <nothing> What do I do to make configure work ? -- Kim Lux, Diesel Research Inc.
I installed cln from fc3 rpms. I did a "./configure", "make", and "make install" without any errors. When I run "make check", I get the following: ... creating times make[3]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make check-TESTS make[3]: Entering directory `/home/****/Desktop/ecco install/GiNaC-1.3.0/check' GiNaC will now take an exam with specific input (like a pupils' exam): ./exams.ref exams.out differ: byte 1, line 1 FAIL: run_exams GiNaC will now run through some rather costly random consistency checks: ./checks.ref checks.out differ: byte 1, line 1 FAIL: run_checks GiNaC will now run through some basic timings: ./times.ref times.out differ: byte 1, line 1 FAIL: run_times =================== 3 of 3 tests failed =================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0' make: *** [check] Error 2 Any ideas ??? -- Kim Lux, Diesel Research Inc.
On Thu, Feb 10, 2005 at 02:59:04PM -0700, Kim Lux wrote:
I installed cln from fc3 rpms.
I did a "./configure", "make", and "make install" without any errors.
When I run "make check", I get the following:
... creating times make[3]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make check-TESTS make[3]: Entering directory `/home/****/Desktop/ecco install/GiNaC-1.3.0/check' GiNaC will now take an exam with specific input (like a pupils' exam): ./exams.ref exams.out differ: byte 1, line 1 FAIL: run_exams GiNaC will now run through some rather costly random consistency checks: ./checks.ref checks.out differ: byte 1, line 1 FAIL: run_checks GiNaC will now run through some basic timings: ./times.ref times.out differ: byte 1, line 1 FAIL: run_times =================== 3 of 3 tests failed =================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0' make: *** [check] Error 2
Any ideas ???
1) you are using "wrong" g++, i.e. its version does NOT match the one your CLN package was compiled with; 2) you have got a) two (or more) versions of CLN installed, b) tricky combination of compiler/linker flags, e.g. CPPFLAGS pointing to headers of CLN version X, and LD_LIBRARY_PATH pointing to SOs of CLN version Y (Y!=X); etc. Best regards, Alexei P.S. What is your g++ --version ?
On Fri, 11 Feb 2005, Sheplyakov Alexei wrote:
On Thu, Feb 10, 2005 at 02:59:04PM -0700, Kim Lux wrote:
creating times make[3]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make check-TESTS make[3]: Entering directory `/home/****/Desktop/ecco install/GiNaC-1.3.0/check' GiNaC will now take an exam with specific input (like a pupils' exam): ./exams.ref exams.out differ: byte 1, line 1 FAIL: run_exams GiNaC will now run through some rather costly random consistency checks: ./checks.ref checks.out differ: byte 1, line 1 FAIL: run_checks GiNaC will now run through some basic timings: ./times.ref times.out differ: byte 1, line 1 FAIL: run_times =================== 3 of 3 tests failed =================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0' make: *** [check] Error 2
Any ideas ???
1) you are using "wrong" g++, i.e. its version does NOT match the one your CLN package was compiled with;
2) you have got a) two (or more) versions of CLN installed, b) tricky combination of compiler/linker flags, e.g. CPPFLAGS pointing to headers of CLN version X, and LD_LIBRARY_PATH pointing to SOs of CLN version Y (Y!=X);
3) Static variable initialization fiasco. There's a patch, over here: <http://thep.physik.uni-mainz.de/pipermail/ginac-devel/2005-January/000751.html>. The next version is going to have it included. Regards -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>
Thanks for the tips. I'll test these out next week and report back. Kim On Sat, 2005-02-12 at 10:57 +0100, Richard B. Kreckel wrote:
On Fri, 11 Feb 2005, Sheplyakov Alexei wrote:
On Thu, Feb 10, 2005 at 02:59:04PM -0700, Kim Lux wrote:
creating times make[3]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make check-TESTS make[3]: Entering directory `/home/****/Desktop/ecco install/GiNaC-1.3.0/check' GiNaC will now take an exam with specific input (like a pupils' exam): ./exams.ref exams.out differ: byte 1, line 1 FAIL: run_exams GiNaC will now run through some rather costly random consistency checks: ./checks.ref checks.out differ: byte 1, line 1 FAIL: run_checks GiNaC will now run through some basic timings: ./times.ref times.out differ: byte 1, line 1 FAIL: run_times =================== 3 of 3 tests failed =================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0/check' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/***/Desktop/ecco install/GiNaC-1.3.0' make: *** [check] Error 2
Any ideas ???
1) you are using "wrong" g++, i.e. its version does NOT match the one your CLN package was compiled with;
2) you have got a) two (or more) versions of CLN installed, b) tricky combination of compiler/linker flags, e.g. CPPFLAGS pointing to headers of CLN version X, and LD_LIBRARY_PATH pointing to SOs of CLN version Y (Y!=X);
3) Static variable initialization fiasco. There's a patch, over here: <http://thep.physik.uni-mainz.de/pipermail/ginac-devel/2005-January/000751.html>. The next version is going to have it included.
Regards -richy. -- Kim Lux, Diesel Research Inc.
On Thu, Feb 10, 2005 at 01:21:11PM -0700, Kim Lux wrote:
$./configure ... an error occured: 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.
...
So...
cd /usr/local/bin $ ls cln-config ...
$./cln-config --version 1.1.9
$ ./cln-config --libs -L/usr/local/lib -lcln -lgmp
$ ./cln-config --cppflags -I/usr/local/include
$ ./cln-config --exec-prefix /usr/local
$ echo $LD_LIBRARY_PATH <nothing>
What do I do to make configure work ?
Just do what `configure' said: check your /etc/ld.so.conf (add /usr/local/lib if necessary), and run ldconfig -v as root OR set LD_LIBRARY_PATH and/or LDFLAGS environment variables, like this: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export LDFLAGS="-Wl,--rpath=/usr/local/lib" ./configure --blah-blah-blah Good luck, Alexei.
I didn't run ldconfig... DOH ! I installed it via rpms anyway. On Fri, 2005-02-11 at 12:29 +0300, Sheplyakov Alexei wrote:
Just do what `configure' said:
check your /etc/ld.so.conf (add /usr/local/lib if necessary), and run
ldconfig -v
as root
OR
set LD_LIBRARY_PATH and/or LDFLAGS environment variables, like this:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export LDFLAGS="-Wl,--rpath=/usr/local/lib" ./configure --blah-blah-blah
-- Kim Lux, Diesel Research Inc.
participants (3)
-
Kim Lux
-
Richard B. Kreckel
-
varg@thsun1.jinr.ru