I'm using reduce installed from the getdeb repository package on Ubuntu linux 11.04. I have previously used the ZIB version as part of my sf hosted project mtt.
The problem is that
seems to need an absolute path name; it didn't previously. The following shows the problem:
peterg@peter-ThinkPad-X201:~/JUNK/mtt$ reduce -w
Reduce (Free CSL version), 08-Jul-11 …
1: in "/home/peterg/JUNK/mtt/foo.r";
2: in "foo.r";
+++ Error file could not be opened: "foo.r"
The getdeb version is not under my control, and so any particular issues about it as distint from the files fetched here from Sourceforge need to be referred to the very useful and helpful people at getdeb.
I observe that their version installs a file called reduce in /usr/bin that contains
I can see that they do the "cd" there (whihc is obviously what is messing up your current directory) with a view that that will let reduce find its resources, but that shoudl not be necessary. I believe that if they either changes their install scripts to make /usr/bin/reduce a symblic link to /usr/lib/reduce-algebra/reduce or to make their script just
all might behave. I HOPE. But you could try either of those changes to /usr/bin/reduce for yourself to see if they behave as required. The same will apply to csl in the getdeb version too. If this does fix it for you please ensure that the getdeb maintainers are aware…
changing /usr/bin/reduce to
does the trick. I'll now write to the getdeb people.
Log in to post a comment.