Problem installing CUSP

195 views
Skip to first unread message

Carter

unread,
Sep 12, 2008, 10:00:24 AM9/12/08
to Cusp Development
Hi,

This is probably something rather simple but I am having difficulties
installing CUSP and getting it to interact properly with a version of
sbcl 1.0.20 which I have installed in my home directory. I have
SBCL_HOME pointing to the directory where sbcl.core is. I assume this
is correct but for some reason the system says it isnt detecting the
lisp instanced. Additionally I tried starting SBCL manually and
pointing it to the swank-loader but this did not seem to do anything.

If anyone has any pointers I would appreciate it.

Thanks in advance,

Carter.

Sergey Kolos

unread,
Sep 12, 2008, 2:16:38 PM9/12/08
to Cusp Development
What OS are you using and which version of cusp?

Several possible workarounds:

1) Try specifying executable (leaving other fields: Initialization
file and Path to system difinition, empty) in Preferences->Lisp-
>Implementations

2) Try putting sbcl into cusp directory:
Find jasko.tim.lisp folder in eclipse/plugins folder
create sbcl folder there: i.e.
eclipse/plugins/jasko.tim.lisp/sbcl/
copy sbcl executable and sbcl.core into root of jasko.tim.lisp/sbcl
folder.
Then copy to the same folder other folders:
jasko.tim.lisp/sbcl/asdf
jasko.tim.lisp/sbcl/asdf-install
jasko.tim.lisp/sbcl/sb-aclrepl
jasko.tim.lisp/sbcl/sb-bsd-sockets
jasko.tim.lisp/sbcl/sb-cltl2
jasko.tim.lisp/sbcl/sb-cover
jasko.tim.lisp/sbcl/sb-executable
jasko.tim.lisp/sbcl/sb-grovel
jasko.tim.lisp/sbcl/sb-introspect
jasko.tim.lisp/sbcl/sb-md5
jasko.tim.lisp/sbcl/sb-posix
jasko.tim.lisp/sbcl/sb-rotate-byte
jasko.tim.lisp/sbcl/sb-rt
jasko.tim.lisp/sbcl/sb-sprof
jasko.tim.lisp/sbcl/site
jasko.tim.lisp/sbcl/site-systems

Restarting eclipse and start cusp. Report here if you still have
problems or this was successful.



Possible reason for this problem: The only officially supported way to
run sbcl right now is from jasko.tim.lisp/sbcl folder. Lookup of path
through environment variable was experimental and I tested it only on
WinXP. More robust ways of starting lisp is planned for after the 1.0
release. Sorry for inconvenience.

Carter

unread,
Sep 12, 2008, 2:52:56 PM9/12/08
to Cusp Development
Hi Sergey,

Thanks. I tried the second of these and managed to get REPL working
but I tried opening *.lisp file and all I
get at the moment is a bluish line across the screen and the word
ERROR under it. Is there a reason why
the cusp module would be having problems opening a file?

Again thanks in advance,

Carter.

Carter

unread,
Sep 12, 2008, 2:54:12 PM9/12/08
to Cusp Development
Oh yes I am running under Fedora 9 with Eclipse 3.4.0. Sorry I forgot
to
mention that.

Sergey Kolos

unread,
Sep 12, 2008, 3:36:21 PM9/12/08
to Cusp Development
Cusp doesn't support editing lisp files outside of Lisp projects.

Actually I found that it probably does, but first you need to create
at lest one Lisp project. Then you'll be able to open other lisp
files.

Also - try reading tutorial.

http://www.sergeykolos.com/cusp/intro/

Carter

unread,
Sep 14, 2008, 7:28:52 AM9/14/08
to Cusp Development
Thanks I figured this out after I posted.
Reply all
Reply to author
Forward
0 new messages