Trying to use Matlisp on CMUCL

rif <[email protected]>
Newsgroups gmane.lisp.matlisp.user
Message-ID <[email protected]>
Hello.

I am a relative newbie to LISP, so I may not know some things which
are obivous, but I'm having some trouble getting Matlisp installed under
CMUCL.

I just downloaded the latest version from the CVS repository.  After
uncommenting most of the makefile (why is everything in the main makefile
commented by default?), it builds a bunch of .o files, after which I get
the following errors:

make[1]: Leaving directory `/home/rif/Software/matlisp'
/usr/bin/lisp -eval '(progn (load "start.lisp"))'
; Loading #p"/home/rif/Software/matlisp/start.lisp".
Converted SETLOGICALROOT.
Converted GETLOGICALROOT.
Converted DEFLOGICALPATH.
;; Loading #p"/home/rif/Software/matlisp/system.dcl".
;; Loading #p"/home/rif/Software/matlisp/config.lisp".


Error in function EXTENSIONS:LOAD-FOREIGN:  /usr/bin/ld failed:
/usr/bin/ld: cannot find -lmatlisp

Restarts:
  0: [CONTINUE] Return NIL from load of "start.lisp".
  1: [ABORT   ] Skip remaining initializations.

Debug  (type H for help)

(EXTENSIONS:LOAD-FOREIGN "matlisp:lib;lazy-loader.o"
                         :LIBRARIES
                         ("-L/home/rif/Software/matlisp/lib"
                          "-R/home/rif/Software/matlisp/lib" "-lmatlisp"
                          "-L/usr/lib/gcc-lib/i386-linux/3.0.4"
                          "-L/usr/lib/gcc-lib/i386-linux/3.0.4/../../.." ...)
                         :BASE-FILE
                         ...)
Source: Error finding source: 
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:  target:code/foreign.lisp.
0] 

BTW, I am running a new Debian woody installation, with cmu installed
from the debian package, and I am using gcc 3.0.4 (browing the mailing
list indicated there were some problems with gcc 2.95, so I switched
versions).

I get a library in the toplevel directory of matlisp called static.a.
Perusal of the makefile indicates that one target of make distclean is
lib/libmatlispstatic.a.  In matlisp.mk, the static target makes a
library called $(LIB)static.a, but there's nothing in matlisp.mk that
can set $(LIB).  I assume this is somehow related to the problem,
although I've tried renaming the static.a library to some other things
to no avail.

Any help you can offer is appreciated.

Cheers,

rif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.