Re: anyone compiled matlisp on OSX?

Cyrus Harmon <[email protected]> Sun, 23 Apr 2006 15:04:17 -0500
Newsgroups gmane.lisp.matlisp.user
Message-ID <[email protected]>
Hi Ossi,

i've used matlisp on OSX for both PPC and Intel. Not sure what the =20
problem is, but I can help you get to the bottom of this. PPC or Intel?

I'm guessing ppc and g95, from the looks of things.

I use gfortran from Simon Urbanek. Dig around here:

http://wiki.urbanek.info/index.cgi?HomePage

Good luck,

Cyrus

On Apr 23, 2006, at 5:15 AM, Ossi V=E4=E4n=E4nen wrote:

> Hello!
>
> I'm trying to compile matlisp on Mac OS X, but without too much =20
> success...
>
> First question, which is the way to get a bunch of working sources? =20=

> It seems there are three approaches
> 1. get matlisp-1.0b release, and try to configure using config* =20
> from /usr/share/automake-1.6, since the 1.0b release doesn't come =20
> 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 =20
> 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, =20
> see the longish copy-paste below.
>
> I'm using g95 to compile the shared libraries, with F77 and FCC =20
> environment variables set to g95. Tried with gfortran as well, but =20
> ran into lots of linking problems.
>
> Any help would be appreciated.
>
> pupu:~/installers/sf/matlisp ossi$ make
> make -f matlisp.mk
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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.
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> /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/=20
> 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 =3D
>           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 =20
> 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
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, =20
> security?
> Get stuff done quickly with pre-integrated technology to make your =20
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache =20
> Geronimo
> http://sel.as-us.falkag.net/sel?=20
> cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642
> _______________________________________________
> Matlisp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matlisp-users



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642