axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] build-improvements without external noweb: is it s


From: Bill Page
Subject: Re: [Axiom-developer] build-improvements without external noweb: is it supposed to work?
Date: Wed, 14 Feb 2007 10:59:50 -0500
User-agent: Webmail 4.0

Quoting "Andrey G. Grozin" <address@hidden>:


I've installed noweb and did

./configure --prefix=/usr --infodir=/usr/share/info \
--mandir=/usr/share/man --without-gcl

(because my external gcl is ansi), then make. After some time, I've got

./../..//build/i686-pc-linux/bin/lisp -batch -eval \
                 '(progn (mapcar (function (lambda (x) (load x))) \
                         (quote ( "boothdr.o"  "exports.o"  "npextras.o"
"stage0/ptyout.o"  "stage0/btincl2.o"  "stage0/btscan2.o"
"stage0/typrops.o"  "stage0/btpile2.o"  "stage0/typars.o"
"stage0/tytree1.o"))) \
                         (system::save-system "bootsys"))'

Error: The variable |
| is unbound.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by PROGN.
Broken at MAPCAR.  Type :H for Help.


What should I do next?


Here is a patch that I use to solve this problem. It seems that at least
on some platforms, i.e. combinations of shell and/or make, gcl cannot
process the '-batch -eval' arguments in the the way one would expect.

---------

address@hidden axiom.build-improvements]$ diff -u src/boot/Makefile.pamp
hlet.orig src/boot/Makefile.pamphlet.new
--- src/boot/Makefile.pamphlet.orig     2007-02-14 09:53:36.000000000 -0600
+++ src/boot/Makefile.pamphlet.new      2007-02-14 09:55:32.000000000 -0600
@@ -1341,10 +1341,10 @@
 and saving the resulting image back on disk.
 <<build bootsys>>=
 bootsys$(EXEEXT): $(OBJECTS)
-       $(LOADSYS) -batch -eval \
+       echo \
                '(progn (mapcar (function (lambda (x) (load x))) \
                        (quote ($(patsubst %, "%", $(OBJECTS))))) \
-                       (system::save-system "$@"))'
+                       (system::save-system "$@"))' | $(LOADSYS
 @

 The make rule [[bootsys]] is executed through a recursive call to [[$(MAKE)]]

-------------

Regards,
Bill Page.




reply via email to

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