|
From: Wolfgang D. <wol...@da...> - 2018-10-09 19:39:20
|
On 2018-10-09 09:15, Jinsong Zhao wrote:
> Hi there,
>
> I have just built the Maxima 5.42.0 using SBCL on Windows platform.
> All work as expected. The only thing I would like to mention is
> maxima.bat includes a line that says:
>
> for /F "tokens=* USEBACKQ" %%F in (`maxima_longnames.exe
> "%MAXIMA_TEMPDIR%"`) do set "MAXIMA_TEMPDIR=%%F"
>
> However, there is no `maxima_longnames.exe` in the system.
Hi,
I'm sorry, that was my fault.
The sourcecode for that program is in
"crosscompile-windows/maxima_longnames.c". The program can be compiled
using a C compiler and be copied to the Maxima-binary directory. It is
build when the installer is build using the crosscompiling procedure on
Linux (which is CMake-based), but it is not included in the usual
automake build.
The reason for that program was (quoting my Git commit message):
Fix the plotting problem with Clisp/Windows and long user names.
Clisp has problems with generated Windows 'short names' e.g.
echo %TMP%
C:\Users\TESTTE~1\AppData\Local\Temp
Windows generates a short name for the temporary dir, when the
username contains spaces and is longer than 8 chars.
Correct that path name to the 'long version', so that Clisp has
no problems with long user names and plotting commands.
It is also documented in 'maxima.bat':
rem change 'short names' (e.g. "C:/Users/TESTTE~1/AppData/Local/Temp" to
rem long names (e.g. "C:/Users/test test/AppData/Local/Temp" -
rem CLISP has a problem with these short names.
Don't know, if other Lisp's are affected too. I implemented that for CLISP.
Sorry for that, will fix it soon (I will be abroad for a few days, don't
know, if I have time and a good internet connection then...)
> By the way, when invoking maxima.bat, there are always two warnings:
> Warning: argument end-toplevel-options not recognized. Warning:
> argument eval not recognized. But, it does not affect any functions
> of Maxima.
I have not seen these errors. How did you build Maxima? Using a
Lisp-only build? Mingw? Cygwin?
Best regards, Wolfgang
|