[ matlisp-Bugs-1065640 ] Compile fails out-of-the-box on OS X

"SourceForge.net" <[email protected]> Tue, 22 Mar 2011 16:20:04 +0000
Newsgroups gmane.lisp.matlisp.devel
Message-ID <[email protected]>
Bugs item #1065640, was opened at 2004-11-13 06:22
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104511&aid=1065640&group_id=4511

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compilation bugs
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Denis Bueno (dbueno)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compile fails out-of-the-box on OS X

Initial Comment:
The compilation of matlisp under OS X will fail for various reasons 
in the CVS version of matlisp.

I configure'd with:
    ./configure --with-lisp-exec=/usr/local/bin/sbcl --build=powerpc-
apple

This will fail unless the user (presumably) has followed the advice 
given at http://lists.gnu.org/archive/html/autoconf/2003-07/
msg00102.html. However, it didn't end up working immediately for 
me, and I ended up configure'ing with:
    FLIBS='-L/sw/lib/gcc/powerpc-apple-darwin7.6.0/3.4.1 -L/sw/
lib/gcc/powerpc-apple-darwin7.6.0/3.4.1/../../.. -lfrtbegin -lg2c 
-lSystem' ./configure --with-lisp-exec=/usr/local/bin/sbcl --
build=powerpc-apple

This works, but it creates a flawed matlisp.mk, which is fixed by 
patch [1] below.

System details:

- uname -a: Darwin johngalt.local 7.6.0 Darwin Kernel 
Version 7.6.0: Sun Oct 10 12:05:27 PDT 2004; root:xnu/xnu
-517.9.4.obj~1/RELEASE_PPC  Power Macintosh powerpc
- gcc --version: gcc (GCC) 3.3 20030304 (Apple Computer, Inc. 
build 1640)

Patches

[1]
--- matlisp.mk  Sat Nov 13 01:10:53 2004
+++ matlisp.mk.fixed    Sat Nov 13 01:15:35 2004
@@ -81,9 +81,9 @@
 CC = gcc
 CLIBS = 
 LIBS = 
-LD = ld
+LD = gcc
 LDFLAGS = 
-SHARED_LIB_LDFLAGS = -G
+SHARED_LIB_LDFLAGS = -bundle
 AR = ar
 ARFLAGS = rv
 LISPEXEC = /usr/local/bin/sbcl


----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2011-03-22 16:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Raymond Toy (rtoy)
Date: 2011-03-08 15:48

Message:
Latest GIt version of matlisp should have this issue fixed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104511&aid=1065640&group_id=4511

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar