[elephant-cvs] CVS update: elephant/INSTALL

Update of /project/elephant/cvsroot/elephant In directory common-lisp.net:/tmp/cvs-serv29548 Modified Files: INSTALL Log Message: linux / sbcl Date: Sun Aug 29 09:43:19 2004 Author: blee Index: elephant/INSTALL diff -u elephant/INSTALL:1.1 elephant/INSTALL:1.2 --- elephant/INSTALL:1.1 Fri Aug 27 19:28:09 2004 +++ elephant/INSTALL Sun Aug 29 09:43:19 2004 @@ -37,14 +37,16 @@ /usr/local/lib/db42/libdb.so and /usr/local/include/db42/db.h.) -3) Compile src/libsleepycat.c. I'm no gcc master but under -FreeBSD I did +3) Compile src/libsleepycat.c. I'm no gcc master but under +FreeBSD this worked for me: -gcc -L/usr/local/lib/db42 -I/usr/local/include -fPIC -shared -O3 -o libsleepycat.so src/libsleepycat.c -ldb +gcc -L/usr/local/lib/db42 -I/usr/local/include/db42 -fPIC -shared -O3 -o libsleepycat.so src/libsleepycat.c -ldb you may or may not need a trailing -ldb at the end. Put -libsleepycat.so somewhere you can get at it, like -/usr/local/lib/. +libsleepycat.so somewhere you can get at it, like in your +common-lisp elephant system dir + +/usr/local/share/common-lisp/elephant/ 4) Compile and load Elephant. @@ -59,10 +61,16 @@ (asdf:operate 'asdf:load-op :elephant) This will load and compile Elephant. This will also -automatically load UFFI. +automatically load UFFI. You will get some errors about +redefining constants probably. Go ahead and redefine them, +they are safe to bash, and won't happen again once you've +compiled. At this point I advise quitting lisp before using Elephant. -I get symbol conflicts otherwise. (Help?) +I get symbol conflicts otherwise. (Help?) I also (under +CMUCL) get strange behavior which indicates you might get +better performance if you compile everything again with +everything loaded. ----------- Quick Start @@ -147,4 +155,4 @@ "my string" T -CL-USER> \ No newline at end of file +CL-USER>
participants (1)
-
blee@common-lisp.net