Polymake does not work in Perl 5.16

Questions and problems about using polymake go here.
sebasguts
Posts: 17
Joined: 07 Nov 2011, 09:59

Polymake does not work in Perl 5.16

Postby sebasguts » 12 Dec 2012, 18:08

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

sebasguts
Posts: 17
Joined: 07 Nov 2011, 09:59

Re: Polymake does not work in Perl 5.16

Postby sebasguts » 13 Dec 2012, 11:04

Nevermind, I found that it is already fixed in the svn-version.

jamesjer
Posts: 35
Joined: 01 Mar 2012, 16:51

Re: Polymake does not work in Perl 5.16

Postby jamesjer » 02 Jan 2013, 23:27

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.

jamesjer
Posts: 35
Joined: 01 Mar 2012, 16:51

Re: Polymake does not work in Perl 5.16

Postby jamesjer » 08 Jan 2013, 17:36

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.

blorenz
Developer
Posts: 139
Joined: 10 Jan 2011, 17:21

Re: Polymake does not work in Perl 5.16

Postby blorenz » 08 Jan 2013, 19:44

Attached patch contains all changes to adapt polymake 2.12 for perl 5.16. I tested it successfully with perl v5.16.2.

Ben
Attachments
perl516.patch
perl 5.16 patch for polymake 2.12
(15.72 KiB) Downloaded 529 times

jamesjer
Posts: 35
Joined: 01 Mar 2012, 16:51

Re: Polymake does not work in Perl 5.16

Postby jamesjer » 10 Jan 2013, 17:30

Excellent! Thank you very much, Ben.


Return to “Helpdesk”