gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Problems building GCL on Mac Os X


From: Lorenzo Costanzia di Costigliole
Subject: [Gcl-devel] Problems building GCL on Mac Os X
Date: Tue, 06 Mar 2007 00:46:29 +0100

Hi LISPers!

I'm trying to build GCL from CVS on Mac OS X 10.4.8, but no luck.
This is the furthest I got:

### The Environment
export PATH=/sw/bin:/sw/sbin:/sw/lib/qt4-x11/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin
export C_INCLUDE_PATH=/sw/include:$C_INCLUDE_PATH
export LIBRARY_PATH=/sw/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=/sw/lib:$LD_LIBRARY_PATH

### Then I modified h/powerpc-macosx.defs to avoid confusion with GNU libtool (don't know if this is still necessary though)
Index: h/powerpc-macosx.defs
===================================================================
RCS file: /sources/gcl/gcl/h/powerpc-macosx.defs,v
retrieving revision 1.9
diff -r1.9 powerpc-macosx.defs
30a31
# We need to give the absolute path to avoid confusion with the former.
33c34
< ARRS = libtool -static -o
---
ARRS = /usr/bin/libtool -static -o

### configure seems to have some bug (or, more probably, I'm just dumb):

echo $ac_n "checking for shared library/C stack ceiling to heap""... $ac_c" 1>&6 echo "configure:4930: checking for shared library/C stack ceiling to heap"
&5
if test "$use" = "mingw" ; then
 heap_ceiling=2000000000
else
if test "$enable_static" = "yes" ; then
 heap_ceiling=0x0
else
if ! test -x `which ldd` ; then #On OS X "ldd" is "otool -L" (not exactly), and the condition
                                        #should fail, but, for some obscure 
reason (at
                                        #least for me), it does NOT and 
configure quits
                                        #a few lines below.
                                        #I simply removed the NOT.
 heap_ceiling=0x0
else
... and so on...

### then make stopped on main.c because of two previously undefined symbols, IM_FIX_BASE and IM_FIX_LIM. I just commented them away (yes, I know...)
Index: o/main.c
===================================================================
RCS file: /sources/gcl/gcl/o/main.c,v
retrieving revision 1.86
diff -r1.86 main.c
732,733c732,733
<              || NULL_OR_ON_C_STACK(IM_FIX_BASE) == 0
<              || NULL_OR_ON_C_STACK((IM_FIX_BASE|IM_FIX_LIM)) == 0
---
             //|| NULL_OR_ON_C_STACK(IM_FIX_BASE) == 0
             //|| NULL_OR_ON_C_STACK((IM_FIX_BASE|IM_FIX_LIM)) == 0

### Well, and that's the end of the story (for now). Any help is appreciated!

Greetings
LCC

Attached: the long-awaited output

Attachment: out.txt
Description: Text document

Attachment: pgpIgbFzOrOV_.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]