Hello,
I finally got the cusp to work properly under the sbcl lisp.
(my environment is suse linux 11.2)
Here is the secret, for anyone who has a similar problem under linux.
I went to the following site to get a version of cusp
http://www.bitfauna.com/projects/cusp/update/
In my case I downloaded the most recent version (CUSP0.9.390)
Then I went to the SBCL sourceforge area and downloaded the correct
version of SBCL 1.0.19 that works with cusp 0.9.360
http://sourceforge.net/projects/sbcl/files/
I then downloaded and unziped the cusp version 0.9.390 into my home
directory
and copied both the plugins and features directory contents of cusp
into
the eclipse plugins and features directories , in my case under
/usr/local/eclipse-helios> ls -lt
total 548
drwxrwxr-x 19 507 1109 4096 2010-09-17 00:06 features
drwxrwxr-x 16 507 1109 36864 2010-09-17 00:06 plugins
I downloaded the 1.0.19 version of sbcl for linux and installed it.
Here is that part that no one knows about which makes the whole thing
work properly.
The problem with cusp is that it expects the sbcl executable to be in
the same directory
as the sbcl.core .
With a normal installation of sbcl on linux , the sbcl.core is acually
in /usr/local/lib/sbcl/
not in /usr/local/bin, where the sbcl executable is .
The way to fix this properly, is NOT to modify the SBCL_HOME variable
to point to /usr/local/bin, instead of /usr/local/lib/sbcl,
but to copy the sbcl executable from /usr/local/bin to /usr/local/lib/
sbcl
and put a symlink to point to the /usr/local/lib/sbcl directory from
the /usr/local/bin directory.
The commands are
su - root
mv /usr/local/bin/sbcl /usr/local/lib/sbcl/sbcl
cd /usr/local/bin
ln -s /usr/local/lib/sbcl/sbcl sbcl
Like so
/usr/local/lib/sbcl> ls sbcl*
sbcl sbcl.core
/usr/local/lib/sbcl> cd ../../bin
/usr/local/bin> ls -l sbcl*
lrwxrwxrwx 1 root root 24 2010-09-17 00:51 sbcl -> /usr/local/lib/sbcl/
sbcl
(Note: One of my first mistakes, was to modify where the SBCL_HOME
variable pointed to.
From /usr/local/lib/sbcl to /usr/local/bin
This fixed the problem of sbcl not being able to load but created
another problem where
the libraries which are needed by cusp when it loads sbcl, could not
be found.
(see below)
thomas@S010600112f5fac7c:/usr/local/lib/sbcl> ls -lt
total 23912
-rwxr-xr-x 1 root root 480852 2010-09-17 00:51 sbcl
drwxr-xr-x 2 root root 4096 2010-09-17 00:04 sb-sprof
drwxr-xr-x 2 root root 4096 2010-09-17 00:04 sb-introspect
drwxr-xr-x 2 root root 4096 2010-09-17 00:04 sb-executable
drwxr-xr-x 2 root root 4096 2010-09-17 00:04 asdf
-rw-r--r-- 1 root root 23932940 2010-09-17 00:04 sbcl.core
drwxr-xr-x 2 root root 4096 2010-09-17 00:04 site-systems
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 sb-simple-streams
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 sb-aclrepl
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 sb-bsd-sockets
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 sb-cltl2
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 sb-cover
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 sb-grovel
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 sb-md5
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 sb-posix
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 sb-rotate-byte
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 sb-rt
drwxr-xr-x 2 thomas users 4096 2010-09-17 00:00 asdf-install )
The Cusp plugin is now finally working properly with the SBCL lisp
under suse 11.2 linux.
Cheers!
Tom Bracken
e-mail:
t.br...@shaw.ca
> e-mail:
t.brac...@shaw.ca