Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

problem installing a module

by amoura (Initiate)
on Feb 28, 2003 at 15:45 UTC ( #239458=perlquestion: print w/replies, xml ) Need Help??

amoura has asked for the wisdom of the Perl Monks concerning the following question:

Hi guys do u see the problem here
> perl Makefile.PL Illegal character \015 (carriage return) at Makefile.PL line 8. (Maybe you didn't strip carriage returns after a network transfer?) > make Make: No arguments or description file. Stop. > make test Make: Don't know how to make test. Stop. > make install Make: Don't know how to make install . Stop.
I am trying to install a perl module for a unix machine . these are the steps I followed ,, I am thinking it is the make problem.

Replies are listed 'Best First'.
Re: problem installing a module
by jasonk (Parson) on Feb 28, 2003 at 16:18 UTC

    Maybe like the error message says, you didn't strip carriage returns after a network transfer. You are installing on unix, and your Makefile.PL has DOS line endings, if you used FTP to transfer the module files to the unix machine, you need to do it again, this time using text mode so that the line endings are translated correctly. Or, better yet, FTP the .tar.gz file to the unix machine, and unpack it there.

    The only problem you have with make/make test/make install, is that the first command failed, so you don't have a Makefile for them to use, you can't blindly continue on if the earlier steps fail.

      A reply falls below the community's threshold of quality. You may see it by logging in.
Re: problem installing a module
by robartes (Priest) on Feb 28, 2003 at 16:18 UTC
    Did you follow Perl's suggestion? Try:
    perl -i.orig -npe 's/\015$//;' Makefile.PL

    CU
    Robartes-

(ar0n) Re: problem installing a module
by ar0n (Priest) on Feb 28, 2003 at 15:53 UTC
    If you're going to ask a question, you need to learn to be more specific. For instance, what Perl module? What does line 8 in the file Makefile.PL say? Did you check to see if the suggestion perl gave you was indeed the problem?
      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://239458]
Approved by ar0n
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2019-08-21 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?