in reply to Re^2: Installing Perl 5.10.0: problems with ./Configure
in thread Installing Perl 5.10.0: problems with ./Configure
... 'DOS style line breaks'. Could this be the problem?
Actually, yes, playing some more with this (in particular with a csh compatible shell), I do in fact obtain similar effects when the entire script has DOS/Windows style line endings... (just fixing the problem on the shebang line is not sufficient). Not sure how those \r got in the file... did you edit Configure prior to running it initially? Anyhow, this should fix the problem (at least with this very file...):
perl -i -pe 's/\r//g' ./Configure
(Well, if you already have any perl installed, that is... Otherwise, look for some tool like dos2unix, or similar)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Installing Perl 5.10.0: problems with ./Configure
by why_bird (Pilgrim) on May 07, 2008 at 15:47 UTC | |
by ysth (Canon) on May 08, 2008 at 05:07 UTC | |
by why_bird (Pilgrim) on May 08, 2008 at 07:37 UTC | |
by syphilis (Archbishop) on May 08, 2008 at 08:21 UTC | |
by ysth (Canon) on May 08, 2008 at 14:58 UTC |