[elephant-devel] Some problems installing Elephant
Edi Weitz
edi at agharta.de
Tue Mar 1 08:19:44 UTC 2005
Hi!
I tried installing Elephant (0.2.1) on a Debian testing system with
Berkeley DB 4.2 last night and came across a couple of issues which
I'm reporting below. I don't know which of these are known so I'll
just list them all.
I. Allegro 7.0
1. I installed the 'libpth14' package from Debian for the threading
library but got these results when compiling/loading Elephant:
Error: Loading /usr/lib/libpthread.so failed with error:
/usr/lib/libpthread.so: invalid ELF header.
There's another package available called 'libpth2' but I get the
same error with that one. I then proceeded without libpthread.so,
i.e. I just removed the form which tried to load this library and
all else seems to work (more or less). Is this library really
needed? And what for?
2. I saw a couple of warnings during compilation:
;;; Compiling file
;;; /usr/local/lisp/source/elephant-0.2.1/src/collections.lisp
; While compiling (METHOD (SETF GET-VALUE) (T T BTREE-INDEX)):
Warning: variable BT is used yet it was declared ignored
; While compiling (METHOD CURSOR-GET-BOTH (SECONDARY-CURSOR T T)):
Warning: variable CURSOR is used yet it was declared ignored
; While compiling (METHOD CURSOR-GET-BOTH-RANGE (SECONDARY-CURSOR T T)):
Warning: variable CURSOR is used yet it was declared ignored
; While compiling (METHOD CURSOR-PUT (SECONDARY-CURSOR T)):
Warning: variable CURSOR is used yet it was declared ignored
Warning: While compiling these undefined functions were referenced:
#:G2387 from position 44023 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G2357 from position 43753 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G2296 from position 43146 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G2118 from position 40902 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G1949 from position 27052 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G1921 from position 20890 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G1646 from position 10155 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G1631 from position 8250 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G1619 from position 7935 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G1553 from position 7283 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G1266 from position 5184 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G1236 from position 4939 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
#:G906 from position 2337 in
/usr/local/lisp/source/elephant-0.2.1/src/berkeley-db.lisp
3. Running all tests with (EL-TEST::DO-ALL-TESTS) gave this:
3 out of 85 total tests failed: ELEPHANT-TESTS::ARRAYS-1,
ELEPHANT-TESTS::NO-EVAL-INITFORM, ELEPHANT-TESTS::UPDATE-CLASS.
From the docs I expected only one test to fail. What about the
other two?
II. Then I tried CMUCL 19a (from Debian) and had problems similar to
1. and 3. above, namely:
1. The Debian libthread.so doesn't work with CMUCL either:
Error in function SYSTEM::LOAD-OBJECT-FILE:
Can't open object "/usr/lib/libpthread.so": NIL
[Condition of type SIMPLE-ERROR]
2. More than one test fails:
2 out of 85 total tests failed: ELEPHANT-TESTS::NO-EVAL-INITFORM,
ELEPHANT-TESTS::UPDATE-CLASS.
Finally, I installed Berkeley DB 4.3 and gave the Elephant CVS version
a try. I haven't captured all the details but it wasn't flawless
either. I seem to remember the same problems with libpthread.so and
there were also test failures. In addition, CMUCL complained about
locked packages.
Cheers,
Edi.
More information about the elephant-devel
mailing list