hi,
I know it would be just easy, but could anyone post the step by step to install my top on centos/directadmin,
I tried following steps I searched here and google but cant make it work.
yum install perl-ExtUtils-MakeMaker
http://help.directadmin.com/item.php?id=211
yum install perl-DBD-MySQL
I also tried these
I tried the suggestion to install via cpan
no matter what I got errors:
thanks
I know it would be just easy, but could anyone post the step by step to install my top on centos/directadmin,
I tried following steps I searched here and google but cant make it work.
yum install perl-ExtUtils-MakeMaker
http://help.directadmin.com/item.php?id=211
yum install perl-DBD-MySQL
I also tried these
Code:
Install TermReadKey:
cd /usr/local/src
wget http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/TermReadKey-2.30.tar.gz
tar -zxf TermReadKey-2.30.tar.gz
cd TermRead*
perl Makefile.PL
make test
make
make install
cd ..
Now install DBI:
wget http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.48.tar.gz
tar -zxf DBI-1.48.tar.gz
cd DBI*
perl Makefile.PL
make test
make
make install
cd ..
Finally install mytop:
wget http://jeremy.zawodny.com/mysql/mytop/mytop-1.4.tar.gz
tar -zxf mytop-1.4.tar.gz
cd mytop*
perl Makefile.PL
make test
make
make install
Code:
# mytop
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 11) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
at /usr/bin/mytop line 225
I tried the suggestion to install via cpan
no matter what I got errors:
Code:
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
make: *** No rule to make target `/usr/lib64/perl5/CORE/thrdvar.h', needed by `DBI.o'. Stop.
thanks