Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Quick help about install perl module

by LH2007 (Initiate)
on Nov 22, 2007 at 17:51 UTC ( [id://652428]=perlquestion: print w/replies, xml ) Need Help??

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

I'm newbie so i have many troubles.....I have read guide to install perl module on Unix.With package Term-Screen-1.03,i do:Download to Desktop,and run some commands.Here is result:
root@slax:~# gunzip /root/Desktop/Term-Screen-1.03.tar.gz root@slax:~# tar xvf /root/Desktop/Term-Screen-1.03.tar Term-Screen-1.03/ Term-Screen-1.03/META.yml Term-Screen-1.03/Changes Term-Screen-1.03/README Term-Screen-1.03/test.pl Term-Screen-1.03/Makefile.PL Term-Screen-1.03/Screen.pm Term-Screen-1.03/MANIFEST root@slax:~# cd Term-Screen-1.03 root@slax:~/Term-Screen-1.03# perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Term::Screen root@slax:~/Term-Screen-1.03# make -bash: make: command not found root@slax:~/Term-Screen-1.03#
i can't continue.Many thanks to help

Replies are listed 'Best First'.
Re: Quick help about install perl module
by tuxz0r (Pilgrim) on Nov 22, 2007 at 19:18 UTC
    Based on your prompt, it looks like you're using the Slax Live CD distribution. I'm not sure if 'make' comes installed, but I think it would. It might just not be in your PATH since you're logged in as root. Do a find to look for it, then add it to your path, e.g.:
    $ find / -name 'make' /usr/bin/make $ export PATH=$PATH:/usr/bin

    ---
    echo S 1 [ Y V U | perl -ane 'print reverse map { $_ = chr(ord($_)-1) } @F;'
    Warning: Any code posted by tuxz0r is untested, unless otherwise stated, and is used at your own risk.

Re: Quick help about install perl module
by glide (Pilgrim) on Nov 22, 2007 at 18:03 UTC
    Hi!
    You need the make command, from the GNU tools. What unix flavor do you have?
Re: Quick help about install perl module
by bloonix (Monk) on Nov 23, 2007 at 07:31 UTC
    What about CPAN.pm? If cpan is installed you can easily install the module with "cpan -i Term::Screen" on the command line or start a cpan-shell with "perl -MCPAN -eshell". The adventage of cpan is that it looks for you for dependencies and install all necessary modules.
      CPAN.pm doesn't come with make though, and so won't solve this problem.
        That's right, but the question about 'make: command not found' were answered before and I just wants to give a hint with cpan for a better install method.
Re: Quick help about install perl module
by DrHyde (Prior) on Nov 23, 2007 at 11:10 UTC
    The most important skill for any computer user, whether he be a programmer, a sysadmin, or just a spreadsheet-mangling grunt, is the ability to read what it says on the screen. The relevant bit you need to read is "make: command not found". I suggest that you meditate on that for a while.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://652428]
Approved by andreas1234567
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: (3)
As of 2024-04-24 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found