Elephant

84 views
Skip to first unread message

petter

unread,
Mar 12, 2012, 2:17:24 AM3/12/12
to Quicklisp
After a (ql:quickload "elephant") quicklisp/dists/quicklisp/software/
elephant-20120107-darcs/my-config.sexp contains

(:BERKELEY-DB-LIB . "/usr/local/BerkeleyDB.4.5/lib/libdb-4.5.so")

Are there any hooks available to modify the the content or supply my
own version of my-config.sexp during quickload? If not is there a bdb
distribution which has all files in the correct location according to
the default my-config.sexp?

Zach Beane

unread,
Mar 12, 2012, 9:44:35 AM3/12/12
to quic...@googlegroups.com
petter <petter...@gmail.com> writes:

Unfortunately, there isn't a way to do preconfiguration like
that. Elephant is unique among Quicklisp projects in that it requires
some special pre-build setup before it will build. I'm not sure what the
best way to work around it might be, sorry.

Zach

petter

unread,
Mar 14, 2012, 5:13:07 PM3/14/12
to Quicklisp
Thanks, I'm aware of the Elephant installation quirks. I was just
wondering if it was some generic hook into Quicklisp which could be
used to replace the my-config.sexp file. If not the best is probably
to make a bdb installation in the location given by the Elephant
Quicklisp installation.

Josef Wolf

unread,
Jun 18, 2014, 5:00:40 AM6/18/14
to quic...@googlegroups.com
Do you have any hints, how to properly install elephant? I had the same
problem like Petter. I tried

ln -s /usr /usr/local/BerkeleyDB.4.5

to make the system libraries available instead. It isn't really surprising
that this did not work. I get errors like:

Error finding package for symbol "THREAD-YIELD":
The name "BORDEAUX-THREADS" does not designate any package.
[Condition of type SB-KERNEL:SIMPLE-PACKAGE-ERROR]

or:

Berkeley DB error #22: Invalid argument
[Condition of type ELEPHANT:BDB-DB-ERROR]

I also tried to fix the paths in my-config.sexp. But the result is the same.

So how would I install BDB properly?

--
Josef Wolf
j...@raven.inka.de
Reply all
Reply to author
Forward
0 new messages