axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] Problems building wh-sandbox


From: Mike Hansen
Subject: Re: [Axiom-developer] Problems building wh-sandbox
Date: Wed, 6 Jun 2007 06:01:45 -0700

Hello,

I'm building in a directory wh-build which is different than
wh-sandbox.  I removed my copy of gcl and tried to have it build gcl
from source.  After fixing problems with bfd.h and bfdlink.h by adding
--disable-dynsysbfd --disable-statsysbfd to GCLOPTS, I get the
following error while building GCL:

cp init_pre_gcl.lsp.in init_pre_gcl.lsp.tmp
touch raw_pre_gcl_map
gcc -o raw_pre_gcl  \
              -L.  -Wl,-Map raw_pre_gcl_map   -lpre_gcl -lm  -lgmp
-lreadline -lncurses -lc -lgclp
cat init_pre_gcl.lsp.tmp | sed \
              -e "address@hidden@#(`cat ../majvers`.`cat ../minvers`) `date`#1" 
\
              -e "address@hidden@#`cat ../minvers | cut -f2 -d.`#1" \
              -e "address@hidden@#`cat ../minvers | cut -f1 -d.`#1" \
              -e "address@hidden@#`cat ../majvers`#1" \
              -e "address@hidden@#\"gcc -c -Wall -DVOL=volatile
-fsigned-char -pipe \"#1" \
              -e "address@hidden@#\"gcc -o \"#1" \
              -e "address@hidden@#\"   -lpre_gcl -lm  -lgmp
-lreadline -lncurses -lc -lgclp \"#1" \
              -e "address@hidden@#\"-O3 -fomit-frame-pointer\"#1" \
              -e "address@hidden@#\"-O\"#1" \
              -e "address@hidden@#\"init_pre_gcl.lsp\"#1" >init_pre_gcl.lsp
cp init_pre_gcl.lsp foo
echo " (in-package \"USER\")(system:save-system \"saved_pre_gcl\")" >>foo
/opt/axiom/wh-build/gcl/unixport/raw_pre_gcl
/opt/axiom/wh-build/gcl/unixport/ -libdir /opt/axiom/wh-build/gcl/ <
foo
GCL (GNU Common Lisp)  April 1994  262144 pages
Building symbol table for /opt/axiom/wh-build/gcl/unixport/raw_pre_gcl ..
I'm not an object
Lisp initialization failed.
rm raw_pre_gcl
make[2]: Leaving directory `/opt/axiom/wh-build/gcl/unixport'
(cd lsp; touch *.lsp ; make all)
make[2]: Entering directory `/opt/axiom/wh-build/gcl/lsp'
make[2]: Leaving directory `/opt/axiom/wh-build/gcl/lsp'
(cd cmpnew; touch *.lsp ; make all)
make[2]: Entering directory `/opt/axiom/wh-build/gcl/cmpnew'
make[2]: Leaving directory `/opt/axiom/wh-build/gcl/cmpnew'
[ "" == "" ] || (cd xgcl-2 && make LISP=../unixport/saved_pre_gcl)
[: 1: ==: unexpected operator
make[2]: Entering directory `/opt/axiom/wh-build/gcl/xgcl-2'
make[2]: *** No rule to make target `../unixport/saved_pre_gcl',
needed by `objects'.  Stop.
make[2]: Leaving directory `/opt/axiom/wh-build/gcl/xgcl-2'
make[1]: *** [unixport/saved_gcl] Error 2
make[1]: Leaving directory `/opt/axiom/wh-build/gcl'
make: *** [/opt/axiom/wh-build/build/x86_64-unknown-linux/bin/gcl] Error 2


--Mike

On 6/6/07, Waldek Hebisch <address@hidden> wrote:
This looks like problem with your gcl installation.  The message tells
you that the file /opt/axiom/wh-build/src/lisp/raw_lisp is not a valid
object file.  But gcl should have made a fresh
/opt/axiom/wh-build/src/lisp/raw_lisp just in previous step...

I did not see such problem before, but I have seen other problems
doing this step using gcl-2.6.7 bundled with Linux distributions.
For me the problems went away when I used gcl that I compiled myself.

So, I would suggest that you fetch gcl source from axiom repository:

cd wh-sandbox
svn co 
https://axiom.svn.sourceforge.net/svnroot/axiom/branches/build-improvements/gcl 
gcl

and start a fresh build.

BTW:  It is better to build in separate directory.

--
                              Waldek Hebisch
address@hidden





reply via email to

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