Closed AviSteiner closed 1 year ago
Presumably Macaulay2 could only find gfan 0.5 on your system. The minimum version of gfan was bumped to 0.6 in Macaulay2 1.18 because of #1962. Upgrading gfan should fix this.
One way to see how exactly Macaulay2 is finding gfan is to run findProgram
(which is what the gfanInterface
package uses internally) with the Verbose
option:
i1 : findProgram("gfan", "gfan _version --help", Verbose => true)
-- /usr/libexec/Macaulay2/bin/gfan does not exist
-- /home/profzoom/.local/bin/gfan does not exist
-- /usr/local/sbin/gfan does not exist
-- /usr/local/bin/gfan does not exist
-- /usr/sbin/gfan does not exist
-- /usr/bin/gfan exists and is executable
-- running "/usr/bin/gfan _version --help":
This program writes out version information of the Gfan installation.
-- return value: 0
o1 = gfan
o1 : Program
Presumably Macaulay2 could only find gfan 0.5 on your system. The minimum version of gfan was bumped to 0.6 in Macaulay2 1.18 because of #1962. Upgrading gfan should fix this.
How do I update gfan? I was under the impression that it updates automatically with Macaulay2.
EDIT: Never mind. I just went to the gfan website (https://users-math.au.dk/jensen/software/gfan/gfan.html) and followed the installation instructions there. That worked.
How do I update gfan? I was under the impression that it updates automatically with Macaulay2.
It should. Maybe you had a separate installation that should be removed so the one by M2 is found.
findProgram("gfan", "gfan _version --help", Verbose => true)
?I'm guessing this is fixed, Avi? If not feel free to reopen the issue.
I just updated to M2 version 1.18 a couple hours ago. I got the following error when I tried to use gfan on an ideal:
stdio:3:1:(3): error: found gfan, but version (0.5) is too low
. Here's the code I used: