[Bioperl-l] problems with perling Makefile.PL

Heikki Lehvaslaiho heikki@ebi.ac.uk
09 Feb 2002 08:29:12 +0000


Hmmm... My copy of 0.7 CVS Makefile.Pl does not contain any carriage
returns. They should not matter, either..

Anyway, you should be able to get rid of them by typing:

perl -pi -e  's/\015//' Makefile.PL

or more UNIXy way of doing this is 

tr -d '\r' < Makefile.PL > newMakefile.PL
  and then rename the files.

I hope this helps. 
	-Heikki

On Sat, 2002-02-09 at 00:33, kristen briggs wrote:
> Hello,
> 
> I'm a beginning programmer and I'm having trouble perling the
> Makefile.pl.  I downloaded the binary bioperl-0.7.2.tar.gz for solaris
> to my pc, extracted the files, and moved the files over to my unix
> account.
> 
> I then typed perl Makefile.PL and got the following message:
> 
> "Illegal character \015 (carriage return) at Makefile.PL line 5. (Maybe
> you didn't strip carriage returns after a network transfer?)"
> 
> Please advise me as to how to fix the Makefile.PL.  I have no idea how
> to strip the carriage returns after a network transfer or that I even
> needed to strip carriage returns.
> 
> I will be eternally grateful,
> 
> Kris Briggs
-- 
______ _/      _/_____________________________________________________
      _/      _/                      http://www.ebi.ac.uk/mutations/
     _/  _/  _/  Heikki Lehvaslaiho          heikki@ebi.ac.uk
    _/_/_/_/_/  EMBL Outstation, European Bioinformatics Institute
   _/  _/  _/  Wellcome Trust Genome Campus, Hinxton
  _/  _/  _/  Cambs. CB10 1SD, United Kingdom
     _/      Phone: +44 (0)1223 494 644   FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________