[Ecls-list] 0.9l does not build on OS X 10.5

Josh Elsasser josh at elsasser.org
Sat Aug 16 21:08:21 UTC 2008


On Sat, Aug 16, 2008 at 09:33:34PM +0200, Juan Jose Garcia-Ripoll wrote:
> On 8/16/08, Thomas F. Burdick <tburdick at gmail.com> wrote:
> > At this point I'm no longer making an effort, I already have all the
> > lisp systems I'm interested in installed. But I am reporting this so
> > that you all know that 0.9l indeed does not build on clean
> > installation of OS X 10.5 plus the developer tools. You should
> > probably either add system-specific instructions or just mark it as a
> > bit-rotted port.
> 
> I understand your bitterness about not being able to build it, but I
> do have a 10.5 in my laptop (intel MacBook) and it works perfectly
> fine. The problem is related to the PPC architecture and since I do
> not have any PPC with Mac OS X 10.5, I cannot do anything about it
> right now. So, in short, I am _not_ going to mark it bit-rotted,
> trashed,etc. Works for me, may tag that the PPC port cannot be
> maintained right now.

I was able to build on PPC OSX 10.5 by simply to changing the desired
ABI in src/aclocal.m4 from mode32 to 32.  I didn't really do any
testing, but the build finished and after installing I was able to get
a REPL:

ECL (Embeddable Common-Lisp) 0.9l (CVS 2008-06-19 17:09)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> (list (software-type) (software-version) (machine-type)) 
("Darwin" "9.4.0" "Power Macintosh")

Following is the diff:

diff --git a/src/aclocal.m4 b/src/aclocal.m4
index edfbf14..01284fd 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -280,7 +280,7 @@ case "${host_os}" in
 		if test "`uname -m`" = i386; then
 		  gmp_build=none-apple-${host_os}
 		else
-		  export ABI=mode32
+		  export ABI=32
 		fi
 		# ECL, due to some of the libraries, does not build on
 		# 64 bit mode on OSX. We prevent GMP using that mode.
diff --git a/src/configure b/src/configure
index 90a0961..cae93c3 100755
--- a/src/configure
+++ b/src/configure
@@ -4220,7 +4220,7 @@ case "${host_os}" in
 		if test "`uname -m`" = i386; then
 		  gmp_build=none-apple-${host_os}
 		else
-		  export ABI=mode32
+		  export ABI=32
 		fi
 		# ECL, due to some of the libraries, does not build on
 		# 64 bit mode on OSX. We prevent GMP using that mode.




More information about the ecl-devel mailing list