Wednesday, March 12, 2008

Install perl CPAN module

Cara install perl CPAN modul.
Masuk ke cpan shell:
[root@mis07 nightly]# perl -MCPAN -e shell
cpan> install DBD::mysql
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz
Is already unwrapped into directory /root/.cpan/build/DBD-mysql-4.006
Has already been processed within this session
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base..............ok
t/10connect...........ok
t/20createdrop........ok
t/25lockunlock........ok
t/30insertfetch.......ok
t/35limit.............ok
t/35prepare...........ok
t/40bindparam.........ok
t/40bindparam2........ok
t/40blobs.............ok
t/40catalog...........ok
t/40keyinfo...........ok
t/40listfields........ok
t/40nulls.............ok
t/40numrows...........ok
t/40server_prepare....ok
t/40types.............ok
t/41bindparam.........ok
t/41blobs_prepare.....ok
t/42bindparam.........ok
t/50chopblanks........ok
t/50commit............ok
t/60leaks.............skipped
all skipped: $ENV{SLOW_TESTS} is not set
t/65types.............ok
t/70takeimp...........skipped
all skipped: test feature not implemented
t/75supported_sql.....ok
t/80procs.............ok
t/insertid............ok
t/multi_statement.....ok
t/param_values........ok
t/prepare_noerror.....ok
t/texecute............ok
t/utf8................ok
t/warnings............ok
All tests successful, 2 tests skipped.
Files=34, Tests=656, 3 wallclock secs ( 2.74 cusr + 0.62 csys = 3.36 CPU)
/usr/bin/make test -- OK
Running make install
Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.bs
Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBD/mysql.pm
Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBD/mysql/INSTALL.pod
Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBD/mysql/GetInfo.pm
Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Bundle/DBD/mysql.pm
Installing /usr/share/man/man3/Bundle::DBD::mysql.3pm
Installing /usr/share/man/man3/DBD::mysql.3pm
Installing /usr/share/man/man3/DBD::mysql::INSTALL.3pm
Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql/.packlist
Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
/usr/bin/make install -- OK

cpan>
cpan> install IO::All
IO::All is up to date.

cpan> q --> utk quit.

utk ganti mirror
cpan>o conf init

No comments:

Post a Comment