|
From: <os...@ka...> - 2006-04-23 10:20:23
|
Hello!
I'm trying to compile matlisp on Mac OS X, but without too much success...
First question, which is the way to get a bunch of working sources? It
seems there are three approaches
1. get matlisp-1.0b release, and try to configure using config* from
/usr/share/automake-1.6, since the 1.0b release doesn't come with
autoconf support for darwin
2. get the last matlisp2 beta, which is a couple years old
3. get matlisp from CVS
Well, 1. and 2. fails when trying to compile the libmatlisp shared library:
ld: Undefined symbols:
dyld_stub_binding_helper
___fixdfdi
___fixsfdi
restFP
saveFP
___udivdi3
___divdi3
___moddi3
___umoddi3
___ashldi3
___lshrdi3
make[1]: *** [lib/libmatlisp.so] Error 1
make: *** [all] Error 2
3. fails too, it is possible to compile the libmatlisp.so on OSX, see
the longish copy-paste below.
I'm using g95 to compile the shared libraries, with F77 and FCC
environment variables set to g95. Tried with gfortran as well, but ran
into lots of linking problems.
Any help would be appreciated.
pupu:~/installers/sf/matlisp ossi$ make
make -f matlisp.mk
===============================================
Required fortran libraries have been built.
The following statement will sometimes fail.
If it fails, manually start your lisp and
load the file start.lisp.
==============================================
/Applications/acl80/alisp8 -e '(progn (load "start.lisp"))'
; Loading /Users/ossi/installers/sf/matlisp/start.lisp
; Loading /Users/ossi/installers/sf/matlisp/system.dcl
; Loading /Users/ossi/installers/sf/matlisp/defsystem.lisp
; Loading /Users/ossi/installers/sf/matlisp/config.lisp
; - Loading defsystem "matlisp-packages"
; - Loading binary file
"/Users/ossi/installers/sf/matlisp/packages.fasl"
; Fast loading /Users/ossi/installers/sf/matlisp/packages.fasl
; - Providing system matlisp-packages
; - Loading defsystem "lazy-loader"
; - Compiling source file
; "/Users/ossi/installers/sf/matlisp/lib/lazy-loader.lisp"
;;; Compiling file
;;; /Users/ossi/installers/sf/matlisp/lib/lazy-loader.lisp
; Loading matlisp:lib;libmatlisp.so
; (/Users/ossi/installers/sf/matlisp/lib/libmatlisp.so)
; While compiling (:TOP-LEVEL-FORM "lazy-loader.lisp" 4726):
Warning: An error occurred
(Can't have unescaped whitespace in token. [file position =
16])
during the reading or evaluation of -e
"(progn (load \"start.lisp\"))"
Allegro CL Professional Edition
8.0 [Mac OS X] (Dec 30, 2005 9:49)
Copyright (C) 1985-2005, Franz Inc., Oakland, CA, USA. All Rights Reserved.
This development copy of Allegro CL is licensed to:
[TC13706] University of Oulu
;; Optimization settings: safety 1, space 1, speed 1, debug 2.
;; For a complete description of all compiler switches given the
;; current optimization settings evaluate (EXPLAIN-COMPILER-SETTINGS).
CL-USER(1):
- osku
|