Running compiled lisp program with clisp-2.49 on OS X

427 views Asked by At

I have just started out programming in Common Lisp using GNU clisp-2.49 (compiled from source) as my implementation on OS X 10.10 Yosemite. I've written a simple "Hello World" program as follows:

(EXT:SAVEINITMEM "test"
  :INIT-FUNCTION 'main
  :EXECUTABLE t)
(defun main ()
  (format t "Hello World!")
  (EXT:EXIT))

When I run:

$ clisp test.lisp
$ ./test

I get the error:

module 'syscalls' requires package OS.

Please help, I'm totally clueless :)

1

There are 1 answers

2
sds On BEST ANSWER

This is a bug in clisp. Please report it on SF. Note that this works as it should on Ubuntu with the vanilla distribution.