Hi Frank,<div><br></div><div>Thanks for the patch. I verified the build failure and just committed your fix to svn!</div><div><br></div><div>Thanks for your help!</div><div>Kevin<br><br><div class="gmail_quote">On Sun, May 23, 2010 at 7:14 PM, Frank Pursel <span dir="ltr"><<a href="mailto:purself@yahoo.com">purself@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">All,<br>
<br>
I downloaded the latest version of J a couple of days ago (J version<br>
0.23.0) and had some difficulties getting it to compile using<br>
java-6-sun's compiler version 1.6 update 20. Here are the modifications<br>
I made to LispShell.java to get it to compile cleanly against a fresh build of<br>
the newest abcl (ver 0.19.1, though I don't think it matters):<br>
<br>
diff -c /home/fpp/src/tmp/j-0.23.0/src/org/armedbear/j/LispShell.java<br>
/home/fpp/src/j-0.23.0/src/org/armedbear/j/LispShell.java<br>
*** /home/fpp/src/tmp/j-0.23.0/src/org/armedbear/j/LispShell.java 2010-04-03<br>
15:04:08.000000000 -0400<br>
--- /home/fpp/src/j-0.23.0/src/org/armedbear/j/LispShell.java 2010-05-22<br>
18:42:29.963613502 -0400<br>
***************<br>
*** 110,120 ****<br>
}<br>
else<br>
{<br>
! File lispHome = File.getInstance(Site.getLispHome());<br>
if (lispHome == null)<br>
return null; // FIXME Error message?<br>
! File swankLoader = File.getInstance(lispHome,<br>
! "swank-loader.lisp");<br>
if (swankLoader == null)<br>
return null; // FIXME Error message?<br>
if (shellCommand.indexOf("sbcl") >= 0<br>
--- 110,121 ----<br>
}<br>
else<br>
{<br>
! Pathname lispHome = (Pathname)Site.getLispHome();<br>
if (lispHome == null)<br>
return null; // FIXME Error message?<br>
! File swankLoader = File.getInstance(<br>
! Pathname.mergePathnames(lispHome,<br>
! new Pathname("swank-loader.lisp")));<br>
if (swankLoader == null)<br>
return null; // FIXME Error message?<br>
if (shellCommand.indexOf("sbcl") >= 0<br>
***************<br>
*** 902,908 ****<br>
sb.append(" -Xmx256M");<br>
if (Platform.isPlatformUnix())<br>
{<br>
! Pathname lispHome = org.armedbear.lisp.Site.getLispHome();<br>
if (lispHome != null)<br>
{<br>
sb.append(" -Xrs -Djava.library.path=");<br>
--- 903,909 ----<br>
sb.append(" -Xmx256M");<br>
if (Platform.isPlatformUnix())<br>
{<br>
! Pathname lispHome = (Pathname)org.armedbear.lisp.Site.getLispHome();<br>
if (lispHome != null)<br>
{<br>
sb.append(" -Xrs -Djava.library.path=");<br>
<br>
Diff finished. Sun May 23 19:30:24 2010<br>
<br>
I hope it's helpful. I was unable to get abcl to compile cleanly<br>
using the lisp build method. It failed with messages telling me that<br>
it, variously, could not autoload load or that it could not load<br>
'system'. When I used ant I had no problems.<br>
<br>
Best wishes on an excellent project.<br>
<br>
Sincerely,<br>
Frank Pursel<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
armedbear-devel mailing list<br>
<a href="mailto:armedbear-devel@common-lisp.net">armedbear-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel</a><br>
</blockquote></div><br></div>