axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] wh-sandbox and aldor


From: Waldek Hebisch
Subject: Re: [Axiom-developer] wh-sandbox and aldor
Date: Wed, 6 Jun 2007 00:04:01 +0200 (CEST)

Franz Lehner wrote:
> 
> > I looked at the build logs and at src_aldor2.tgz.  AFAICS the
> > very first line in the log is wrong.  Namely, the Makefile
> > assumes old directory structure.  Currently both in wh-sandbox
> > and in build-improvements OBJ directory is gone.  Supporting
> > programs are in build/x86_64-unknown-linux/bin (where
> > x86_64-unknown-linux must be replaced by system name).  wh-sandbox
> > still uses INT directory, but it is going to change
> > (to match build-improvements).
> After creating OBJ and some linking here and there I eventually succeeded 
> in compiling src_aldor. Still this does not seem to be enough, as it says
> 
> )co aux
>      Compiling AXIOM source code from file /home/lehner/ax/lib/aux.as
>         using AXIOM-XL compiler and options
> -O -Fasy -Fao -Flsp -laxiom -Mno-AXL_W_WillObsolete -DAxiom -Y 
> $AXIOM/algebra
>         Use the system command )set compiler args to change these
>         options.
> 
>      >> System error:
>      The function GETENV is undefined.
> 

This is due to recent change in wh-sandbox.  The following patch
should fix this problem:

diff -u wh-sandbox2.bb2/src/interp/i-syscmd.boot.pamphlet 
wh-sandbox2/src/interp/i-syscmd.boot.pamphlet
--- wh-sandbox2.bb2/src/interp/i-syscmd.boot.pamphlet   2007-06-05 
23:42:04.000000000 +0200
+++ wh-sandbox2/src/interp/i-syscmd.boot.pamphlet       2007-06-05 
23:49:39.000000000 +0200
@@ -657,7 +643,8 @@
     if ^beQuiet then sayKeyedMsg("S2IZ0038A",[namestring args, asharpArgs])
 
     command :=
-<<remove TRUENAME>>
+      STRCONC(STRCONC(getEnv('"ALDORROOT"),'"/bin/"),_
+                    "aldor ", asharpArgs, '" ", namestring args)
     rc := OBEY command
 
     if (rc = 0) and doCompileLisp then


-- 
                              Waldek Hebisch
address@hidden 




reply via email to

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