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