Problems with startup scripts

10 views
Skip to first unread message

Jonathan Rees

unread,
Nov 7, 2007, 1:14:04 PM11/7/07
to lsw-discuss
when I check out LSW to my Mac, the files in the trunk/bin/ directory
are not executable.

also it looks like you have to cd into trunk/ in order to get the
scripts to work. You can fix this by looking at dirname $0 - use it
if nonempty for trunk, otherwise use '.'

on an unrelated note, it's sort of annoying that control-D blows away
your lisp.

30-16-246:~/lsw jar$ chmod +x trunk/bin/*
30-16-246:~/lsw jar$ trunk/bin/lsw
find: trunk/bin/../lib: No such file or directory
java -server -Xmx1024m -Xss4M -cp -Xdock:icon=trunk/bin/../images/
lswicon.icns -Xdock:name=Armed Bear Common Lisp
org.armedbear.lisp.Main --load scripts/system-registry.lisp --load
scripts/lsw-startup.lisp
java.lang.NoClassDefFoundError: org/armedbear/lisp/Main
Exception in thread "main" 30-16-246:~/lsw jar$
30-16-246:~/lsw jar$ chmod +x trunk/lsw
30-16-246:~/lsw jar$ trunk/lsw
find: trunk/lib: No such file or directory
java -server -Xmx1024m -Xss4M -cp -Xdock:icon=trunk/images/
lswicon.icns -Xdock:name=Armed Bear Common Lisp
org.armedbear.lisp.Main --load scripts/system-registry.lisp --load
scripts/lsw-startup.lisp
java.lang.NoClassDefFoundError: org/armedbear/lisp/Main
Exception in thread "main" 30-16-246:~/lsw jar$

Reply all
Reply to author
Forward
0 new messages