Posted by Michael on August 26, 2006
On Linux I use emacs, but wanted to give Xemacs a try on Windows and learn about the differences.
At the moment I use lispbox-0.7 with clisp-2.39 on WinXP for learning lisp. I made already a few additions to the lispbox in the past. Now only little changes where necessary and I got it working with sbcl-0.9.15 and currenct cvs version of Slime.
Then I installed XEmacs and figured how to set it up on WinXP. It worked with SBCL,
but on loading SLIME I got this error
…
ensure_space: failed to validate 41938944 bytes at 0×02000000
(hint: Try “ulimit -a”; maybe you should increase memory limits.)
…
Have no idea at the moment how to solve this.
Tried to “ulimit -s 8192″ on MSys before re-compiling SBCL as mentioned on various web pages, but MSys doesn’t allow me changing stacksize. Ok, sometime, somehow I’ll get it working.
Posted in LISP | Leave a Comment »
Posted by Michael on August 26, 2006
This is the result from this thread on comp.lang.lisp and how I got sbcl-0.9.15 compiled & working on my Windows XP System. No guarantee that this works on EVERY system.
Setting up the enviroment for compilation with MingW/MSys
- Download MingW-5.3.0 installer here.
- install
- Get MSys-1.0 here
- install
- download the other stuff (from bash to gawk) from sourceforge
- copy the contents of each into your <\MSYS\1.0> directory.
Installation of sbcl 0.9.12 binaries (you need this for compilation)
- Download sbcl-0.9.12-win32 , unzip in a temporary directory.
- Create another dir like, for example c:\SBCL
- Add this path ( c:\SBCL ) to the system path in your windows enviroment
- Add an enviroment variable SBCL_HOME and set it to a path like c:/SBCL/lib/sbcl (note the forward slashes !)
Setup will create necessary subdirectories
- I had to open the install.sh in the sbcl-0.9.12 directory in an texteditor and changed the line
cp src/runtime/sbcl $BUILD_ROOT$INSTALL_ROOT/bin/
to
cp src/runtime/sbcl.exe $BUILD_ROOT$INSTALL_ROOT/bin/
(without installation was interrupted with an Segementation fault)
- Start MSys and run following commands
- cd /path/to/sbcl-0.9.12-binaries # example: C:/sbcl-0.9.12 (note forward slashes)
- INSTALL_ROOT=”c:/SBCL” sh install.sh # this is the install command
- close MSys after installation completed
- open a DOS window and test installation with executing the command
> sbcl
- If you get an error, reboot to set the enviroment properly, and test again
Compilation of sbcl-0.9.15 (Actual release 0.9.16 was broken on my WindowsXP)
- Download sources from sourceforge
- Unzip in a directory of your choice
- Start MSys, and run following commands
- $ cd /path/to/sbcl-0.9.15/sources (example: C:/sbcl-0.9.15 – note forward slashes)
- $ sh make.sh “sbcl” (I used it with the “sbcl” arg otherwiseI got an error)
- (wait till compilation finishes)
- $INSTALL_ROOT=”c:/SBCL” sh install.sh (installation overwrites 0.9.12 files)
Now you got a working sbcl-0.9.15 system !
Have fun !
Many thanks go to Jack Unrue and K.R.Sreeram for their help.
Without I wouldn’t have managed this.
Posted in LISP | Leave a Comment »
Posted by Michael on August 6, 2006
Didn’t write much as I was quite ill for a few weeks with some kind of allergy.
Nevertheless I used the time and red a lot about development with Lisp. Understanding more and more it’s still not easy if you are spoilt by Windows Development for many years. But I don’t give up and am trying to setup working development enviroments on Linux and Windows and am still searching for a way to develop GUI’s.
BTW: I found Inflisp – Lisp Interpreter for Delphi – quite interesting stuff.
Posted in LISP | Leave a Comment »