in reply to Re: Newbie Adding Module to Perl
in thread Newbie Adding Module to Perl

I tried to go to the directory where AlarmCall.pm is and typing the following: root@uswsqa Sys# /usr/bin/perl Makefile.PL Can't open perl script "Makefile.PL": No such file or directory Can you see what am I missing? I checked that perl is indeed in /usr/bin though I should not have to type the full path since /usr/bin is in roots path. Does Makefile.PL need the argument of AlarmCall.pm? Thanks!

Replies are listed 'Best First'.
Re: Re: Re: Newbie Adding Module to Perl
by blaze (Friar) on Apr 09, 2003 at 23:11 UTC
    for me, i download modules to my /tmp directory, so id download Sys-AlarmCall-1.2.tar.gz..then id do the following:
    $ cd /tmp $ tar -zxvf Sys-AlarmCall-1.2.tar.gz
    this is where it would show the files being unzipped and a directory call Sys-AlarmCall-1.2 would be created
    $ cd Sys-AlarmCall-1.2
    now we're in the Sys-AlarmCall-1.2 directory which is where Makefile.PL is
    $ perl Makefile.PL $ make $ make test $ make install
    so if you download the module to a directory called uswsqa Sys, then all you should have to do is substitute that directory for /tmp in the above instructions...

    even though CPAN.pm is suppose to be much easier, i dont push it much cause i once got bit by it, but using make is usually a very easy straight foward process

    hth
    Robert