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




On Jun 18, 4:45 am, Bill Page <bill.p...@newsynthesis.org> wrote:
> On Wed, Jun 17, 2009 at 9:09 PM, Waldek Hebisch wrote:
> > maxthemouse wrote:
> > ...
> >> What was not clear to me was where I should send a mail/patch
> >> for this. i.e. Who is charge of the fricas.spkg?
>
> > The packages were created by Bill Page.  He also uploaded
> > them to some testing area on sagemath.org and asked for testing.
> > IIRC if the packages worked for few testers one of core Sage
> > developers (M. Abshoff?) moved them the spkg repository.
>
> > I think Bill will not object if this time you do what he did.
>
> :-)
>
> Indeed I would be very happy and appreciative if someone else took
> care of this! I think it would be a good idea to co-ordinate this on
> the sage-devel list. If you feel motivated you could make use of Sage
> trac but FriCAS is an optional package so I guess that is optional.
>
> Please ask if you have questions - but I think everything has been
> answered but others so far.  I look forward to testing FriCAS in Sage
> under ECL.
>
> Regards,
> Bill Page.

Bill,

Below is the spkg-install script that I used. It appeared to work but
was not tested extensively. I am now trying to figure out what changed
between yesterday and today to break my install. I had simple examples
working yesterday but now I get an error “TypeError: Unable to start
fricas”. I have no idea why. In any case, perhaps you will have better
luck.

I left the part about the 'axiom' script alone.

Cheers,
Adam Webb

#!/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" --
with-lisp-flavor=ecl
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."

--~--~---------~--~----~------------~-------~--~----~
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