Page 1 of 1

Polymake does not work in Perl 5.16

Posted: 12 Dec 2012, 18:08
by sebasguts
Hey everyone,

I just tried to install polymake on a system with a new perl version, perl 5, version 16, subversion 2. Anyway, it does not run on the system. Compiling works just fine, but when starting polymake it says it cannot find the symbol Perl_mod.

/usr/bin/perl: symbol lookup error: /usr/local/lib/polymake/perlx/5.16.2/x86_64-linux-thread-multi/auto/Polymake/Ext/Ext.so: undefined symbol: Perl_mod

Some googling shows: This symbol has been removed in perl 5.15, and replaced by another one. The bug is also known
http://jjames.fedorapeople.org/polymake/
but not solved with this patch. So, do you have a patch or something for this?

Best wishes and thank you,
Sebastian

Re: Polymake does not work in Perl 5.16

Posted: 13 Dec 2012, 11:04
by sebasguts
Nevermind, I found that it is already fixed in the svn-version.

Re: Polymake does not work in Perl 5.16

Posted: 02 Jan 2013, 23:27
by jamesjer
Could somebody either post the fix for perl 5.16, or send it directly to me? I have a polymake package all ready to submit to Fedora for review, and just need this fix. Thanks.

Re: Polymake does not work in Perl 5.16

Posted: 08 Jan 2013, 17:36
by jamesjer
If extracting the fix is too difficult, can you give me read-only access to your subversion repository, and I will extract the fix myself? Thanks.

Re: Polymake does not work in Perl 5.16

Posted: 08 Jan 2013, 19:44
by blorenz
Attached patch contains all changes to adapt polymake 2.12 for perl 5.16. I tested it successfully with perl v5.16.2.

Ben

Re: Polymake does not work in Perl 5.16

Posted: 10 Jan 2013, 17:30
by jamesjer
Excellent! Thank you very much, Ben.