I installed now Maxima 5.14.0 with GCL 2.6.6 ANSI on my MS Windows XP system.
After installation the test files dont work. I get the error "unexpected end of #(input stream ..." reading the files in test mode.
On my system the following extra EOF test in the routine TYI-RAW works:
(defun tyi-raw (&optional (stream *standard-input*) eof-option)
;; added this extra EOF test, because test files generate
;; unexpected end of input-stream on my system (Windows XP, GCL 2.6.6)
(when (eq (peek-char nil stream nil eof-option) eof-option)
(return-from tyi-raw eof-option)
)
;; this is the original unchanged code
(let ((ch (read-char-no-hang stream nil eof-option)))
(if ch
ch
(progn
(when (and *prompt-on-read-hang* *read-hang-prompt*)
(princ *read-hang-prompt*)
(force-output *standard-output*)
)
(read-char stream nil eof-option)
)
)
)
)
I had the same problem with the versions 5.13.0 und 5.12.0 of Maxima on my system.
Perhaps the bug is in the routine TEST-BATCH. A reason may be the different EOF values used in Maxima at different places.
Crategus
Logged In: YES
user_id=501686
Originator: NO
Closing this report as "won't fix". I'm pretty sure the problem is due to a bug in GCL (specifically the function READ-CHAR-NO-HANG).
This bug does not appear in Maxima + GCL 2.6.8pre + Windows XP. Dunno if Maxima + GCL 2.6.7 + Windows is OK.
You might consider updating your version of GCL. Unfortunately, I don't know if GCL 2.6.8pre builds from CVS, and as for 2.6.7, I don't know if Maxima + GCL 2.6.7 + Windows XP runs correctly.
The maxima-5.xx.yy.exe installers which you can download from Sourceforge (https://sourceforge.net/project/showfiles.php?group_id=4933) are built with 2.6.8pre if I am not mistaken.
Logged In: YES
user_id=2039760
Originator: YES
Thank you very much for your answer.
I have installed GCL 2.6.7 too. But this Lisp Version don't work on my Windows XP system.
The compiler gives the error message: "undefined __flsbuf ... " loading the binaries.
Maxima starts, but the function READ-CHAR don't work.
So I will wait for a next version (I need a executable, I have no experience to build the compiler.)
Crategus