Hi Stefan, Polymake had some issues with gcc 7 in the past. I do not know if the following could help you:
https://forum.polymake.org/viewtopic.php?f=10&t=579 The latest version (3.4) of polymake is very close to be in Sage: https://trac.sagemath.org/ticket/24905 Compilation was tested on macOS Mojave, debian stable and ArchLinux. It would be great if you could test this branch on your computer and let us know if it worked on your OS (either here or on the ticket discussion page). Best regards, Jean-Philippe Le mardi 7 mai 2019 00:03:10 UTC+2, [email protected] a écrit : > > Hi, > > I'm looking at the sagemath package called "polymake". > > I tried to install it in SageMath 8.7 and it pulled polymake 3.1 > > I'm attaching the log. I believe the relevant portion is this: > > reference to an undeclared variable $err_prefix at > /home/user/SageMath/local/share/polymake/perllib/Polymake/utils.pl line > 198. > Compilation failed in require at > /home/user/SageMath/local/share/polymake/perllib/Polymake.pm line 61. > Compilation failed in require at /home/user/SageMath/local/bin/polymake > line 162. > > > Most of the build goes through rather well, but at the end, this perl > build script seems to fail. > I tried to skim through the referenced files utils.pl (line 198) and > Polymake.pm (line 61) and apparently > it implements a custom way of declaring variables through a keyword that's > called "declare" which is > not part of the Perl language and is custom-built for polymake's build > system. > > I wasn't able to figure out the problem, but I'm writing here so others > can have a look. > Does this package build for someone else? > > Thanks, > Stefan > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-devel. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/92d3c658-0530-466a-9cee-3fb6a391ee0b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
