1

I have Amazon instance (Amazon Linux AMI release 2011.02.1.1 (beta),2.6.35.11-83.9.amzn1.i686) and I want to downgrade Perl Version from v5.10.1 to v5.8.8, but when compile perl 5.8.8 I got this error:

asm/page.h: No such file or directory
make[1]: *** [SysV.o] Error 1
make[1]: Leaving directory `/perl-5.8.8/ext/IPC/SysV'

how can solve this problem ?

Hubert Kario
  • 6,351
  • 6
  • 33
  • 65
user79483
  • 391
  • 1
  • 6
  • 9
  • 1
    Why do you want to downgrade? The Perl 5.10 delaty says there is no reason to: http://search.cpan.org/~jesse/perl-5.14.1/pod/perl5100delta.pod#DESCRIPTION – Thomas Berger Aug 21 '11 at 11:03
  • 1
    because my application was built on perl 5.8.8 and when moved it in new version I facing some problems – user79483 Aug 21 '11 at 11:13
  • Oh, thats interesting, at that should not happen. As i have no clue from Amazon AMI, not as an answer: according to your error message, you are missing the linux headers. But no idea how to install. – Thomas Berger Aug 21 '11 at 11:20
  • the kernel-headers-2.6.35.11-83.9.amzn1.i686 already installed, but doesn't contain the page.h – user79483 Aug 21 '11 at 11:48

1 Answers1

1

Ok, after looking into the perl mailing lists: You want find a good way to compile the old Perl with your new kernel. The asm/page.h isn't part of the kernel header, and the IPC::SysV, shipped with perl 5.8.8 is to old.

Here are some suggestions in the mailinglist:

http://www.nntp.perl.org/group/perl.perl5.porters/2010/03/msg158201.html

But maybe you should have a look at the http://search.cpan.org/~jesse/perl-5.14.1/pod/perl5100delta.pod, so maybe you could find a simple way to make your program run.

Perl 5.8.8 is end of liftem, the current stable is 5.12, the current testing 5.14

Thomas Berger
  • 1,700
  • 12
  • 22