http://qs1969.pair.com?node_id=685404


in reply to Re^5: Installing Perl 5.10.0: problems with ./Configure
in thread Installing Perl 5.10.0: problems with ./Configure

I tried two---I got one from CPAN, and I'm not sure where the other one was from. I extracted it using Winzip (I've had problems trying to extract Perl modules using tar before, so this is the method I've been using for a while). It's odd because I use the exact same method when installing Perl modules and have never had this problem or anything similar.
I'll give tar another go and see if that solves it.

Update: Awesome---using tar to unzip and extract seems to have fixed it :) Thanks. V strange though.
........
Those are my principles. If you don't like them I have others.
-- Groucho Marx
.......
  • Comment on Re^6: Installing Perl 5.10.0: problems with ./Configure

Replies are listed 'Best First'.
Re^7: Installing Perl 5.10.0: problems with ./Configure
by syphilis (Archbishop) on May 08, 2008 at 08:21 UTC
    I extracted it using Winzip

    With my (old) version of WinZip, you would open the WinZip GUI, then select Options->Configuration->Miscellaneous and disable the "TAR file smart CR/LF conversion".

    Cheers,
    Rob
Re^7: Installing Perl 5.10.0: problems with ./Configure
by ysth (Canon) on May 08, 2008 at 14:58 UTC
    Not so strange. WinZip likes making text files look like they would in windows, so it adds the carriage-return. Then when you do ./Configure, the linux kernel sees "#! /bin/sh", carriage-return, line-feed, and knows the script is supposed to be processed by a program named "/bin/sh" + carriage-return (which is a legal filename character under linux), and there is no such program to be found.