FriCAS Old Issue

I downloaded and unzipped the 'fricas-1.0.8.amd64.tar.bz2' from http://sourceforge.net/projects/fricas/files/

file structure

In the extracted file structure I copied

~/usr/local/lib/*

to

/usr/share/*

I then copied the fricas and efricas scripts from ~/usr/local/bin to my home directory

I edited the fricas file to change this line:

AXIOM='/usr/local/lib/fricas/target/x86_64-unknown-linux'

to

AXIOM='/usr/share/fricas/target/x86_64-unknown-linux'

I also did this in the /usr/share/fricas/target/x86_64-unknown-linux'/bin/axiom file which is the same as the fricas file.

I then tried running fricas by typing ./fricas

Alternativly this can be done from the command line:

I also tried a similar thing from the command line as suggested by Waldek

martin@suse111:~> su root
Password:
suse111:/home/martin # md /usr/share/fricas
suse111:/home/martin # cd /usr/share/fricas
suse111:/usr/share/fricas # tar -xjf /home/master/mjbLinuxPrograms/maths/fricasbin/fricas-1.0.8.amd64.tar.bz2
suse111:/usr/share/fricas # mv /usr/share/fricas/usr/local/bin /usr/share/fricas
suse111:/usr/share/fricas # exit
exit

<script file edited to set AXIOM done at this point>

martin@suse111:~> ./fricas

Possible Issues

Originally (using openSUSE 11.1) I had a problem where every time I run the script the cursor steped down about 3 lines and then, after a short delay, returned to the command line prompt.

fricas fail

Since I upgraded to openSUSE 11.2 the problem is the same but at least there is an error message.

fricas memory problem

Bill Page pointed out that on openSuSE the virtual memory limit is set rather low by default.

So I needed to add the command:

ulimit -v unlimited

To the script that starts friCAS.

So if you have a similar problem, especcially if you are running on openSuSE then this may be the answer.


metadata block
see also:
Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

flag flag flag flag flag flag Axiom Volume 1: Tutorial. Documentation is freely availible from: http://www.axiom-developer.org/axiom-website/documentation.html

 

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2017 Martin John Baker - All rights reserved - privacy policy.