-
-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FriCAS X.Y.Z #6517
Comments
comment:1
This might depends on or related to ticket #6318. |
Author: Adam Webb |
comment:3
Ticket #6318 is related. The patches on that ticket were tested with this package. |
comment:4
I tested the patches from #6318 related to fricas. ./sage -t --long --optional devel/sage/sage/interface/fricas.py alls tests passed. Positive review. Jaap |
Reviewer: jsp |
Changed reviewer from jsp to Jaap Spies |
comment:5
Replying to @maxthemouse:
So what is the order of merging patches here? Is it
|
comment:6
Replying to @sagetrac-mvngu:
I think it is independent of #6318 in the sense that it updates the fricas optional spkg. And than it fixes the fricas.py failures mentioned in #6318, Not the axiom issues. Jaap |
comment:7
I've uploaded Adam's FriCAS 1.0.7 spkg to http://sage.math.washington.edu/home/mvngu/patch/fricas-1.0.7.p0.spkg I install it as in the following transcript, but received "configure: error: Unable to determine Lisp flavor":
Am I doing something wrong or missing something? |
comment:9
This package depends on #6318 for the fricas interface to work therefore that patch needs to go in first. adam |
comment:10
In previous versions there was an install option for the lisp flavour but according to the fricas mailing list, this is depreciated and fricas is supposed to detect which lisp is used. I have not yet tested with 4.1.1.alpha0 but it worked for me on 4.0 and 4.1. |
comment:11
update: Tested package with 4.1.1.alpha0 and it worked. This could be sensitive to the lisp install but I am not an expert on this. The long path name might also be a problem but this only speculation. |
comment:12
Could someone comment on the relation between the two pairs of issues:
Is the package here built on the one at #4461? Are the changes on #4036 independent of the ones at #6318? Thanks. Burcin |
comment:13
Sorry, Adam |
comment:14
Just a comment. As a guess: 1. apply #4036 to a new version (and rebase), 2. apply #6318 and test, 3. check/make a new fricas spkg. Adam PS I will not have computer access for at least a week but can look at it after that if no one else has. |
comment:16
Replying to @burcin:
The patches at #4036 are already in and I only added a few fricas tests. I would apply #6318 first, then #4036 (trac_4036-axiom_interface.patch only) and of course axiom and fricas need to be installed to test everything. Adam |
I've created an spkg builder at http://boxen.math.washington.edu:29792 . On sage.math the following should work. WARNING, before you start compiling FriCAS, you should read the top of the Makefile, in particular the part connected to an X server. It's unwise to have the X server running on a different machine from where you compile the spkg!!! The X server is not needed for actually installing the .spkg into Sage. Get the FriCAS sources:
Use the installed Aldor from my HOME (or install aldor from http://www.aldor.org).
Make sure you have ecl 9.8.4.
Installing FriCAS inside Sage
The VERSION of the spkg will automatically be extracted from FriCAS configure script.
and running the fricas-aldor-spkg/Makefile will produce VERSION=1.0.8. Ralf |
comment:26
Replying to @maxthemouse:
If it works, someone should upload it to http://sagemath.org/packages/optional/ . |
comment:27
I think it just needs to be reviewed. If it works then it should be set to 'positive review' and then the current release manager looks at it. If they are happy than they put it in the optional packages. The package works for me and I ran a quick test from inside sage so I would give it a positive review. If the package also works for you than I guess the status can be changed. BTW I used sage 4.2.1.alpha0 for building the package and testing it. This includes ecl 9.10.2. Adam |
comment:28
Replying to @maxthemouse:
Exactly right. |
comment:29
I just tried it on Solaris, and it fails very quickly:
|
comment:30
Oops, ignore that comment. I realised I downloaded the package into an incomplete build of Sage. Dave |
comment:31
Replying to @sagetrac-drkirkby:
The error message says it all. And http://boxen.math.washington.edu:29792/file/25ab4f31480e/SPKG.txt.fricas#l1 also lists ecl as a dependency. If there were a proper package management in Sage, I would have made ecl a formal dependency, but adding "sage -i ecl-9.8.4" to the install script is also not fool proof, since specifying a version number is bad. Giving no version number is bad as well. I'd rather wish to be able to specify a range of versions that should work for the fricas-1.0.8.
|
Changed reviewer from Jaap Spies, Adam Webb to Jaap Spies, Adam Webb, Mike Hansen |
comment:32
I've merged this into the optional packages. |
Author: Adam Webb, Ralf Hemmecke |
Merged: sage-4.3.alpha0 |
comment:34
FriCAS 1.0.9 and FriCAS-Aldor is available from http://sage.math.washington.edu/home/hemmecke/pub/fricas-1.0.9.spkg http://sage.math.washington.edu/home/hemmecke/pub/fricasaldor-1.0.9.spkg |
comment:37
Thanks for the packages. I guess it is mentioned somewhere that installing fricasaldor depends on the source of fricas. This means that the following is needed:
I had a problem with an example for fricasaldor.
where fib.as is
I get get this with ecl but not with sbcl but I think this is a known problem. Another example with a simple factorial function worked. I did some simple things and the fricas package seemed to work fine. Adam |
comment:38
There seems to be an API change. A few tests fail in the Sage interface. This is now ticket #9258. It appears to be a change in the return string. Note that these tests still work for axiom. Adam |
comment:39
Replying to @maxthemouse:
That is not so! As explained above, the commands are simply:
Dependency is included in the package fricasaldor.
Yes that seems to be an ecl problem and I have no idea how to track that. So unfortunately, I cannot fix it. I think the link to Aldor is not as stable as it should be. There might also be a problem on 64bit machines with respect to internal hash codes. But since the Aldor sources are not free, it's up to a person who agrees with the Aldor Public License 2.0 to sync with FriCAS. Ralf |
comment:40
Replying to @hemmecke:
I got the following when installing fricasaldor. The message says that the build directory is missing so I assumed that I had made a mistake.
Adam |
comment:41
Replying to @hemmecke:
I agree Adam |
comment:42
Yes. The whole problem is due to the Aldor Public License 2. :-( That's the only reason why there are two packages. The fricas spkg is mBSD and the fricasaldor spkg is APL2. It's all not so easy since currently fricasaldor needs the build directory of the build of the fricas package. It basically copies copies some files into this directory and then starts the build. So saying
will not work, because the build directory of fricas is gone. I guess that might be the problem with your error. The other thing is
Do you have an idea who is printing that warning? |
comment:43
Replying to @hemmecke:
Exactly,
This worked for me since the -s keeps the build directory in the first step.
I think I see it everytime I use sage -i to install something. I assume that it is part of the Sage installing process somewhere. I don't know why the SAGE_ROOT would need to be changed though. |
Changed author from Adam Webb, Ralf Hemmecke to Ralf Hemmecke |
comment:44
I am not sure of the procedure of who should give the positive review and in any case several people should look at it. As I have not been very active lately I will just give a comment. This seems to be a simple upgrade of two optional packages and so I don't have any major concerns. I installed the packages on two Linux systems (32 bit SL 5.1, 64 bit Ubuntu 10.04) and ran some tests without severe problems (small issues noted above). I am aware that there are problems with the Sage interface but I think that is a separate issue. Therefore, I would give the packages a positive review. Adam |
This is an update to fricas to use ecl and to update to the recent fricas release.
Adam
CC: @sagetrac-bpage @mwhansen @hemmecke
Component: packages: optional
Author: Ralf Hemmecke
Reviewer: Jaap Spies, Adam Webb, Mike Hansen
Merged: sage-4.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6517
The text was updated successfully, but these errors were encountered: