Cannot perform PERL ==> make Makefile.PL for the DBI module

Got Error "Can't locate Test/More.pm in @INC" when I try to compile UNIX 5.8 PERL DBI Module (try to install)

UNIX SUN OS 5.9,  and This is perl, v5.6.1 built for sun4-solaris-64int

I download DBI 1.45.gz yesterday from www.perl.com/CPAN/modules/by-module/DBI

and try to do the make Makefile.PL  and got the following message:

Can't locate Test/More.pm in @INC (@INC contains: lib /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at Makefile.PL line 39.
BEGIN failed--compilation aborted at Makefile.PL line 39.

HELP PLEASE!!
wongglaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gripeCommented:
It looks like you're missing the 'Test::More' module.. I thought this came core with perl 5.6.1 but maybe i'm wrong.

You should also consider using CPAN.pm to install your modules, it should pick up dependencies for you.

perl -MCPAN -e'install "DBI"'

Otherwise, try installing Test::More first.

0
kanduraCommented:
You need to install Test::More first, obviously.
Can't you use the CPAN script to do the install for you?

% perl -MCPAN -e 'install DBI'
0
kanduraCommented:
ignore me... gripe got there first ;)
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

wongglaAuthor Commented:
I tried  perl -MCPAN -e 'install DBI'  but it returns with could not fetch modules...


Please help,  where can I find the TEST::More module?
0
gripeCommented:
wonggla - if the machine you're working on has a working internet connection, you should just reconfigure CPAN to try for some other sites as well. CPAN will make it much easier to install modules in general.

You can reconfigure it by doing: perl -MCPAN -e'shell'

and typing: o conf init

and the prompt.

Just for future reference.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wongglaAuthor Commented:
When it asks me to specify URL,  what should I put in ,  the http://www.perl.com/CPAN/  or something else??
0
wongglaAuthor Commented:
My solution was to Download the PERL_S_Solaris9_tar.gzip; I was missing the PERL CORE files!    My CPAN was configured incorrectly with INVALID FTP mirror site!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.