Subject: | Compile problem on perl 5.14.x and 32 bit platforms |
This module has the problem described in this thread. This is a link to the resolution: http://www.nntp.perl.org/group/perl.perl5.porters/2012/03/msg184347.html
To compile this module in a usable way (at least on 5.14.2 on a 32 bit platform) I had to do this:
root@host:~/src/PHP-Serialization-XS-0.06# diff Makefile.PL.orig Makefile.PL
17c17
< CCFLAGS => '-fPIC -std=c99 -D_XOPEN_SOURCE=700',
---
Show quoted text
> CCFLAGS => '-fPIC -std=c99 -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64',
and then it worked just fine. Without that change the C code builds but it cannot be loaded by the Dynaloader.