axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] Building Axiom


From: Brent Fulgham
Subject: Re: [Axiom-developer] Building Axiom
Date: Sat, 10 Feb 2007 12:49:20 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Feb 10, 2007, at 12:32 AM, Gabriel Dos Reis wrote:

Brent Fulgham <address@hidden> writes:

| Trying to get Axiom to build on the Mac is pretty frustrating, mainly
| because the build fails on GCL.

There have been documented successful build reports on Mac OS/ PowerPC. So,
could you be more specific?

I have not tried the Gold branch, but working from the "build improvements" branch (following the instructions shown on http:// wiki.axiom-developer.org/BuildAxiom):

Chaz:~/Projects/Lisp/Axiom/build-improvements brent$ ./configure
checking build system type... powerpc-apple-darwin8.8.0
checking host system type... powerpc-apple-darwin8.8.0
checking target system type... powerpc-apple-darwin8.8.0
checking for gmake... no
[...]
config.status: creating src/doc/Makefile
config.status: creating build/scripts/document
config.status: creating config/axiom-c-macros.h
config.status: config/axiom-c-macros.h is unchanged
building list of Algebra bootstrap files...done
extracting list of SPAD type definitions...done
Chaz:~/Projects/Lisp/Axiom/build-improvements brent$ make
if test "." != "." -a ! -d gcl; then \
   cp -r ./gcl .; \
fi; cd gcl; \
./configure --prefix=/Users/brent/Projects/Lisp/Axiom/build- improvements/build/powerpc-apple-darwin8.8.0 --disable-statsysbfd --enable-machine=powerpc-macosx -- enable-vssize=65536*2 --disable-tkconfig --disable-x --disable-xgcl && \
        make && make install
loading cache ./config.cache
checking host system type... powerpc-apple-darwin8.8.0
host=powerpc-apple-darwin8.8.0
enable_machine=powerpc-macosx
use=powerpc-macosx
checking for gcc... (cached) gcc
[...]

So far, so good.  But then terror strikes!

checking emacs info/dir... /Users/brent/Projects/Lisp/Axiom/build- improvements/build/powerpc-apple-darwin8.8.0/share/info/
checking for tcl/tk... checking for tclsh... (cached) tclsh
checking for main in -llieee... (cached) no
not found
checking alloca... yes
checking Checking for buggy gcc version from redhat... no
creating ./config.status
creating makedefc
sed: 62: conftest.s1: unescaped newline inside substitute pattern
creating windows/gcl.iss
sed: 62: conftest.s1: unescaped newline inside substitute pattern
creating windows/sysdir.bat
sed: 62: conftest.s1: unescaped newline inside substitute pattern
creating windows/install.lsp
sed: 62: conftest.s1: unescaped newline inside substitute pattern
creating h/gclincl.h
makedefc
add-defs1 powerpc-macosx
using powerpc-macosx.defs

The sed stuff is failing due to some kind of line-ending problem. Perhaps a UNIX/WINDOWS/MAC EOL issue? Looking in a text editor doesn't show anything helpful. Of course, once the autogeneration phase fails, everything else is broken after that point:

echo "ECHO start %1\lib\gcl-`cat majvers`.`cat minvers`\unixport\.exe - -dir %1\lib\gcl-`cat majvers`.`cat minvers`\unixport -libdir %1\lib \gcl-`cat majvers`.`cat minvers` -eval \"(setq si::*allow-gzipped- file* t)\" %1 %2 %3 %4 %5 %6 %7 %8 %9 >> gcli.bat" ) > /Users/brent/ Projects/Lisp/Axiom/build-improvements/gcl/bin/gclfinal.bat ; fi
(cd xbin ; cp ../bin/gcl .)
cd cmpnew && make gcl_collectfn.o
../unixport/saved_pre_gcl ../unixport/ -compile gcl_collectfn.lsp
make[2]: ../unixport/saved_pre_gcl: Command not found
make[2]: *** [gcl_collectfn.o] Error 127
make[1]: *** [cmpnew/gcl_collectfn.o] Error 2
make: *** [build/powerpc-apple-darwin8.8.0/bin/gcl] Error 2
Chaz:~/Projects/Lisp/Axiom/build-improvements brent$


Grr!

Waldek's version is no better for this error.

I could diff the 'official' GCL and Axiom GCL directories to see what's wrong, if that might be helpful.

If anyone has successfully built on Mac, please let me know if you had to do anything fancy. I already tried adjusting my pathing to exclude my MacPorts stuff, but that didn't seem to help (using or not using it resulted in the same problem).

Thanks,

- -Brent


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFzi/WzGDdrzfvUpURAm29AJ9/lyZ7/zFdEjEHWYcoVR8iOA96jgCeNtx2
FJyMwfn7zPTYZwS0/lDDDFk=
=I9m3
-----END PGP SIGNATURE-----




reply via email to

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