Skip Menu |

This queue is for tickets about the Inline-Python CPAN distribution.

Report information
The Basics
Id: 81470
Status: resolved
Priority: 0/
Queue: Inline-Python

People
Owner: nine [...] detonation.org
Requestors: ankur2080 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.41
Fixed in: (no value)



Subject: Unable to install Inline::Python on linux
Show quoted text
> perl -v
This is perl, v5.8.3 built for x86_64-linux Copyright 1987-2003, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. Show quoted text
> python -V
Python 2.3.4 Show quoted text
> perl Makefile.PL
Found these python executables on your PATH: 1. /usr/bin/python Use which? [1] 1 Using /usr/bin/python Using These Settings: Extra Libs: -lpthread -ldl -lutil Python Lib: -L/usr/lib64/python2.3/config -lpython2.3 Includes: -I/usr/include/python2.3 Extra Flags: none (perl Makefile.PL --help for details) Checking if your kit is complete... Looks good Warning: prerequisite Digest::MD5 2.5 not found. We have 2.36. Warning: prerequisite Inline 0.46 not found. Bareword found where operator expected at ./Makefile.PL line 1, near "30 mtime" (Missing operator before mtime?) Number found where operator expected at ./Makefile.PL line 2, near "30" (Missing semicolon on previous line?) Bareword found where operator expected at ./Makefile.PL line 2, near "30 atime" (Missing operator before atime?) Number found where operator expected at ./Makefile.PL line 3, near "30" (Missing semicolon on previous line?) Bareword found where operator expected at ./Makefile.PL line 3, near "30 ctime" (Missing operator before ctime?) Show quoted text
> cat Inline-Python-0.41/PaxHeaders.4409/Makefile.PL
30 mtime=1352401347.601261971 30 atime=1352401347.601261971 30 ctime=1352402331.278683216 Show quoted text
> uname -a
Linux <hostname> 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:33:05 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux Please let me know if you need more information. Thanks.
There is something very strange going on. It almost looks like your Makefile.PL gets overwritten, since as you can see on https://metacpan.org/source/NINE/Inline-Python-0.41/Makefile.PL it should not contain the word "mtime" at all. Looking closer at your path, there's some strange "PaxHeaders.4409" directory. I found some description at http://www.gnu.org/software/tar/manual/html_node/Split- Recovery.html Seems like your tar could not handle the tar file correctly. I'm at a loss though why the tar file should be in multiple volumes. I just used make dist to create it which uses a single tar command. But maybe the tar files get unpacked and repacked when uploading to CPAN. Your kernel version indicates that you are using a very old system. So I guess your tar is as old.
From: ankur2080 [...] gmail.com
Thanks for your response. Older version of tar was the culprit and switching to a newer version fixed the issue. BTW, I have been installing lots of modules with the older version of tar without any issues. Anyway, I have updated ~/.cpan/CPAN/MyConfig.pm to point to the newer version.
From: ankur2080 [...] gmail.com
Also, thanks for the wonderful module :)