Automatic builds need TERM=xterm exported to the environment

32 views
Skip to first unread message

Salamanka A. Serge

unread,
Feb 26, 2010, 10:23:18 AM2/26/10
to sage...@googlegroups.com
Hello everyone,

It is found that building Sage from source with job submition through
Grid (using WMS) or directly through PBS job submition doesn't work
without specifying explicitly a parameter TERM=xterm in the shell
environment.
So the only thing that is required in a submition script is the line:
export TERM=xterm

Otherwise it gets the following error message in install.log (attached).

I guess the error could be reproduced by simply running a cron job with
a simple script telling BASH to build the sources:

#!/bin/bash
SAGEVERSION=4.3.3
tar xvf sage-$SAGEVERSION.tar
cd sage-$SAGEVERSION
make
./sage examples/example.sage


Regards,
Serge A. Salamanka

install.log
Reply all
Reply to author
Forward
0 new messages