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)

  1. download dbi-1.628.tar.gz tar file,

  2. 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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -