Installing Perl module in Unix -
this first time installing perl module , i'm having trouble. i'm trying install manually in unix. these steps following (installing dbi module in case)
download dbi-1.628.tar.gz tar file,
uncompress file
$ tar -zxvf dbi-1.628.tar.gz
so far no problems,
next step confusing me... in every tutorial i've seen far i'm told locate makefile.pl
run following commands:
$ perl makefile.pl $ make $ make test $ make install
in case, after locating makefile.pl
, running
$ perl makefile.pl
...some output follows. these messages
checking if kit complete... looks good
& writing makefile dbi
then i'm in user command prompt. note still haven't entered these commands
$ make $ make test $ make install
from command prompt if enter make
command -bash: make: command not found
error.
i'm absolute beginner @ please excuse me if missing rudimentary.
if you're using mac osx, fire terminal , type 'cpan'. allow configure automatically , stuff, can install modules typing install your::module::name
. out of cpan hit ctrl-c or type quit
.
you can install directly command line using cpan -i 'your::module::name'
.
nb: may need type sudo cpan
, put in password rather cpan on it's own depending how mac configured.
simply make
command on mac, need go app store , install latest version of xcode, turn on 'command line utilities' option. see more on here: xcode 4.4 , later install command line tools
Comments
Post a Comment