[Top][All Lists]

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

[Gcl-devel] Re: [Axiom-developer] Building Axiom 11/15/2004 on Solaris 9

From: Camm Maguire
Subject: [Gcl-devel] Re: [Axiom-developer] Building Axiom 11/15/2004 on Solaris 9 Sparc
Date: 01 Dec 2004 13:17:15 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2


"Kostas Oikonomou" <address@hidden> writes:

> Hello Camm,
> Thanks for the reply. I have also corresponded with Tim about this,
> and he recommended checking out of CVS a new branch (axiom--solaris--1).
> So I did that, and now I'm having fun with it.
> No, just kidding, building GCL is painful!  I've seen the .text problem you

Apologies for any difficulties you may be experiencing.  Full
configure and make output is critical for me to figure out what might
be impeding your attempts.

> are referring to on the GCL site. I assume what I checked out of CVS has
> that problem fixed.

Yes, but I would not recommend using this, as it has a lot of untested
work vis a vis 2.6.5.  I'd rather suggest grabbing the solaris patch
off the errata site and applying it.

> To proceed, let me ask you a very simple question.  Right now I'm having
> trouble just getting GCL to build.  (I am using its own bfd, as you also
> suggest.)  But there are other problems with include files not being found.
> So the question is:  can I make changes to files in lsp/gcl-2.6.5a and
> keep trying to get lisp to build, *without* running make from the top axiom
> level?  That takes a long time, because lisp is extracted from the .tgz file,
> everything is configured ...

I am confused about '2.6.5a' -- there is no such version and I feel
this may be at the heart of your problem.

To my understanding, you can configure and build gcl in its own
directory, perhaps with setting some AXIOM environment variables to
find the 'extras', 'cp unixport/saved_gcl ../../obj/solaris/bin';
'touch ../gcldir', then go to the axiom source root and make as usual.

I say to my understanding as I have little experiece with building
axiom this way, so Tim might be of more help.  An alternate path would
be to start with an external built standard gcl tree with
<sourcedir>/bin in your path, apply the following axiom patch, and
then make as usual:

--- ./lsp/Makefile.pamphlet.orig        2004-08-31 15:24:50.000000000 +0000
+++ ./lsp/Makefile.pamphlet     2004-08-31 15:25:18.000000000 +0000
@@ -618,14 +618,7 @@
        @echo 1 building ${LSP} ${GCLVERSION}
-       @echo 2 building ${GCLVERSION}
-       @tar -zxf ${ZIPS}/${GCLVERSION}.tgz
+       echo '(compiler::link nil "${OUT}/lisp" (format nil "(progn (let 
((*load-path* (cons ~S *load-path*))) (compiler::emit-fn t))(when (fboundp 
(quote si::sgc-on)) (si::sgc-on t)))" si::*system-directory*) 
"${OBJ}/${SYS}/lib/cfuns-c.o ${OBJ}/${SYS}/lib/sockio-c.o 
${OBJ}/${SYS}/lib/libspad.a")' | gcl
        @echo 13 finished system build on `date` | tee >gcldir
 ccldir: ${LSP}/ccl/Makefile
--- ./src/interp/Makefile.pamphlet.orig 2004-06-27 15:01:27.000000000 +0000
+++ ./src/interp/Makefile.pamphlet      2004-07-05 16:16:32.000000000 +0000
@@ -669,8 +669,10 @@
        @ echo '#+:akcl (setq compiler::*suppress-compiler-notes* t)' >> 
        @ echo '#+:akcl (si::gbc-time 0)' >> ${OUT}/makeint.lisp
        @ echo '#+:akcl (setq si::*system-directory* "${SPAD}/bin/")' >> 
+#      @ (cd ${OBJ}/${SYS}/bin ; \
+#        echo '(progn (gbc t) (load "${OUT}/makeint.lisp") (gbc t) 
(user::spad-save "${SAVESYS}"))' | ${LISPSYS} )
        @ (cd ${OBJ}/${SYS}/bin ; \
-         echo '(progn (gbc t) (load "${OUT}/makeint.lisp") (gbc t) 
(user::spad-save "${SAVESYS}"))' | ${LISPSYS} )
+         echo '(progn (gbc t) (setq x si::*system-directory*)(load 
"${OUT}/makeint.lisp") (setq si::*system-directory* x) (unintern (quote x))(gbc 
t)(user::spad-save "${SAVESYS}"))' | ${LISPSYS} )
        @ echo 6 ${SAVESYS} created
        @ cp ${SAVESYS} ${AXIOMSYS}
        @ echo 6a ${AXIOMSYS} created

In general, the first step is for you to use either method, making
sure you have the solaris patch applied, and then post the full GCL
configure and make output.  Or perhaps provide ssh access to your
machine if you wish and I can take a look.

Take care,

> Thanks very much for your help.
>                       Kostas

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

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