[armedbear-devel] Fwd: How to compile and run Maxima with ABCL?

Rudi Schlatte rudi at constantly.at
Tue Jun 19 13:29:43 UTC 2012

On Jun 19, 2012, at 15:24 , Phuc Luoi wrote:

> I have ready tried it. The error "PermGen" is corrected. But I even
> got the error "Can't intern zero-length symbol."
> I have search in google but can not find any useful article.

This error is fixed in the development version of abcl, on Jan 12.  It might not yet have arrived in any released version.

The patch (taken from source control version history) looks like this:

--- a/src/org/armedbear/lisp/Stream.java
+++ b/src/org/armedbear/lisp/Stream.java
@@ -1136,8 +1136,10 @@ public class Stream extends StructureObject {
                                                  packageName + '.',
+        } else {                // token.length == 0
+            Package pkg = (Package)Symbol._PACKAGE_.symbolValue(thread);
+            return pkg.intern("");
-        return error(new ReaderError("Can't intern zero-length symbol.", this));
     private final BitSet _readToken(StringBuilder sb, Readtable rt)

Unfortunately, this is in the Java part of abcl and cannot be patched in an init file.  You will have to recompile the whole of abcl yourself.


More information about the armedbear-devel mailing list