Install perl -MCPAN -e shell

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Install perl -MCPAN -e shell

Postby terrychen » Mon Nov 05, 2007 4:41 pm

I follow the install manual and install perl -MCPAN -e shell,
But it said as follow ,,,is it correct ?If I am wrong .How to do now ?

install DBI
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/T/TI/TIMB/DBI-1.601.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
- force install DBD::mysql (must at least have mysqlclientlibs installed)
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... 005.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
- install Net::Telnet
Running install for module Net::Telnet
Running make for J/JR/JROGERS/Net-Telnet-3.03.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... .03.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/J/JR/JROGERS/Net-Telnet-3.03.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
- install Time::HiRes
Running install for module Time::HiRes
Running make for J/JH/JHI/Time-HiRes-1.9708.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... 708.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/J/JH/JHI/Time-HiRes-1.9708.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
- install Net::Server
Running install for module Net::Server
Running make for R/RH/RHANDOM/Net-Server-0.97.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... .97.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/R/RH/RHANDOM/Net-Server-0.97.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
- install Unicode::Map
Running install for module Unicode::Map
Running make for M/MS/MSCHWARTZ/Unicode-Map-0.112.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... 112.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/M/MS/MSCHWARTZ/Unicode-Map-0.112.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94. (needed for super list loader Excel)
- install Jcode (needed for super list loader Excel)
Running install for module Jcode
Running make for D/DA/DANKOGAI/Jcode-2.06.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... .06.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/D/DA/DANKOGAI/Jcode-2.06.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
- install Spreadsheet::WriteExcel (needed for super list loader Excel)
Running install for module Spreadsheet::WriteExcel
Running make for J/JM/JMCNAMARA/Spreadsheet-WriteExcel-2.20.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... .20.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/J/JM/JMCNAMARA/Spreadsheet-WriteExcel-2.20.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
- install OLE::Storage_Lite (needed for super list loader Excel)
Running install for module OLE::Storage_Lite
Running make for J/JM/JMCNAMARA/OLE-Storage_Lite-0.14.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... .14.tar.gz
Checksum for /root/.cpan/sources/authors/id/J/JM/JMCNAMARA/OLE-Storage_Lite-0.14.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
- install Proc::ProcessTable (needed for super list loader Excel)
Running make for D/DU/DURIST/Proc-ProcessTable-0.41.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... .41.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/D/DU/DURIST/Proc-ProcessTable-0.41.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
- install IO::Scalar (needed for super list loader Excel)
Running make for D/DS/DSKOLL/IO-stringy-2.110.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... 110.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/D/DS/DSKOLL/IO-stringy-2.110.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
- install Spreadsheet::ParseExcel (needed for super list loader Excel)
Running make for S/SZ/SZABGAB/Spreadsheet-ParseExcel-0.32.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... .32.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan.cs.pu.edu.tw/pub/CPAN/author ... /CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/S/SZ/SZABGAB/Spreadsheet-ParseExcel-0.32.tar.gz ok
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.
terrychen
 
Posts: 9
Joined: Mon Nov 05, 2007 4:34 pm

Postby ramindia » Mon Nov 05, 2007 11:23 pm

Hi

i think some mysql client problem

if you installing centos

try yum install mysql*

and install DBI should work

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby terrychen » Tue Nov 06, 2007 12:43 am

Dear Sir,
Thanks your answer,But I am used slackware 11
what can I check or reinstall again ?

Terry
terrychen
 
Posts: 9
Joined: Mon Nov 05, 2007 4:34 pm

Postby ramindia » Tue Nov 06, 2007 1:29 am

Hi

you need to have mysql client packages
to install DBI

check this
SUBPHASE 3.1: MySQL requirements


ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Install DBI Fails

Postby sanisoft » Tue Nov 06, 2007 5:16 am

Hello, I am facing same problem
I am using CentOS 4.5

I also use "yum install mysql* " on your recomendation, but it doesn't not work

cpan> install DBI
Running install for module DBI
Running make for T/TI/TIMB/DBI-1.601.tar.gz

Trying with "/usr/bin/links -source" to get
/T/TI/TIMB/DBI-1.601.tar.gz
Can't use string ("CPAN::Tarzip") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.5/CPAN/Tarzip.pm line 94.

Kindly guide me, what to do

Thanks and Regards

Sani
sanisoft
 
Posts: 12
Joined: Fri Jul 20, 2007 3:03 am

Postby ramindia » Tue Nov 06, 2007 6:07 am

Hi

after install that just reboot server

post the results

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby devafree » Tue Nov 06, 2007 1:02 pm

Hello

Please try at CPAN prompt: -

>reload index
>reload cpan
>quit

and try it again

regards

devafree
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

Postby terrychen » Wed Nov 07, 2007 2:55 am

when i reboot server then
perl -MCPAN -e shell
it show
Always commit changes to config variables to disk? [no] Yes
other is follow next 5 prompts
Then can install other modules

Is it correct ???/for this answer Yes???
Always commit changes to config variables to disk? [no] Yes


Terry
terrychen
 
Posts: 9
Joined: Mon Nov 05, 2007 4:34 pm

Postby chadahm » Fri Nov 30, 2007 12:51 pm

Hello All,

I also came across this as well. I'm using CentOS 5 and built mysql from source.

I did as devafree mentioned and also here's what else happened:
reload index
reload cpan
quit
cpan
follow all the defaults and on the './Build install', put the suggested option '--uninst 1'
DBI installed just fine after all that. Also, all other cpan modules installed without error.

Regards,

Chad
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

may be

Postby eliasferreyra » Fri Nov 30, 2007 11:51 pm

and you can instal the BDI manual but i think too you have to install Bundle::CPAN manual too

download from http://search.cpan.org/
and put what your lookingfor
and
install so

perl Makefile.PL
make
make test ( i recommend no use make test) :-)
make install
install

do it for

Bundle::CPAN
and DBI and DBD::mysql

and if you ar using mysql 5 or higest install mysql-devel
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby gardo » Sat Dec 01, 2007 4:37 pm

If you're using CentOS 5, you can safely use the mysql rpm package included in the distribution. You also need the mysql-devel package to compile some perl modules. No need to install mysql from source. This will save you headaches specially when upgrading.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

hello

Postby eliasferreyra » Sat Dec 01, 2007 6:26 pm

yeah gardo
exactly.....
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby Op3r » Sat Dec 01, 2007 10:55 pm

Because it is the Lenten season. Here's some easy steps for centos.

yum -y install mysql-server mysql mysql-devel php-mysql php-devel (for php-eaccelerator)

nano /etc/php.ini

press w to search for memory_limit make it to 48m

then install cpan

:)

Christmas is just around the corner please do not hesitate to send gifts lol I prefer a macbookpro like the 17 inches one joke.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1424
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby Mika1974 » Tue Aug 26, 2008 12:44 pm

chadahm wrote:Hello All,

reload index
reload cpan
quit
cpan



This did the trick for me under CentOS 5.2.
Mika1974
 
Posts: 22
Joined: Mon Jun 23, 2008 3:47 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 264 guests