---------- Forwarded message ----------
From: maxthemouse <adamwebb_...@yahoo.com>
Date: Thu, Jun 18, 2009 at 7:26 AM
Subject: Re: fricas and ECL
To: Bill Page <bill.p...@newsynthesis.org>


Sorry,

I think I sent you the wrong version. That was the before the reply
from Waldek Hebisch. The following should be correct.

#!/bin/sh

check_error() {
   if [ $? -ne 0 ]; then
       echo "***********************************************************"
       echo $1
       echo "***********************************************************"
       exit 1
   fi
}

FRICAS_CLISP=ecl
mkdir build-dir
cd build-dir
../src/configure --prefix=$SAGE_LOCAL --with-lisp="$FRICAS_CLISP"
check_error "Failed to configure FriCAS."
make
check_error "Failed to make FriCAS."
# also install asq
#cp target/*/bin/asq $SAGE_LOCAL/bin && make install
make install
check_error "Failed to install FriCAS."
# force 'axiom' script to call AXIOMsys
sed 's/sman \$otheropts -ws \$serverws/AXIOMsys/' < $SAGE_LOCAL/bin/
axiom > tmpaxiom && mv tmpaxiom $SAGE_LOCAL/bin/axiom
chmod a+x $SAGE_LOCAL/bin/axiom
check_error "Failed to patch Axiom."


Cheers,
Adam Webb

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to