Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

problem installing a module

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

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

This node falls below the community's threshold of quality. You may see it by logging in.

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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-03-29 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found