LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem installing the DBD::mysql (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-the-dbd-mysql-728476/)

mengchun_khor 05-25-2009 10:38 PM

Problem installing the DBD::mysql
 
Hi,

I'm trying install DBD::mysql and I follow the 'How to'.
The following commands are executed:


root@ubuntu:/# perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.94)
ReadLine support enabled

cpan[1]> install Bundle::DBD::mysql
CPAN: Storable loaded ok (v2.18)
Going to read '/root/.cpan/Metadata'
Database was generated on Sun, 24 May 2009 22:26:59 GMT
CPAN: LWP::UserAgent loaded ok (v5.826)
CPAN: Time::HiRes loaded ok (v1.9711)

I would like to connect to one of the following sites to get 'authors/01mailrc.txt.gz':

http://www.perl.org/CPAN/
ftp://ftp.perl.org/pub/CPAN/

Is it OK to try to connect to the Internet? [yes] y
Fetching with LWP:
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.68)
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
Going to read 27 yaml files from /root/.cpan/build/
............................................................................DONE
Restored the state of 27 (in 0.4542 secs)
............................................................................DONE
Fetching with LWP:
http://www.perl.org/CPAN/modules/02p...details.txt.gz
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Mon, 25 May 2009 22:26:57 GMT
............................................................................DONE
Fetching with LWP:
http://www.perl.org/CPAN/modules/03modlist.data.gz
Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /root/.cpan/Metadata
DBI is up to date (1.608).
Running install for module 'DBD::mysql'
Running make for C/CA/CAPTTOFU/DBD-mysql-4.011.tar.gz
Has already been unwrapped into directory /root/.cpan/build/DBD-mysql-4.011-rdGr6x
'/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512, won't make
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install

I need someone help.

Thank,
MengChun(mc)

chrism01 05-26-2009 01:35 AM

That's pretty odd, normally the CPAN tool is a lot more informative than that.
You could try the gurus over at www.perlmonks.org. That's where the Perl community hangs out.

mengchun_khor 06-01-2009 01:34 AM

Quote:

Originally Posted by chrism01 (Post 3552762)
That's pretty odd, normally the CPAN tool is a lot more informative than that.
You could try the gurus over at www.perlmonks.org. That's where the Perl community hangs out.

HI, Chris.

It does not help me much. Anyway, Thank you for your help. :)


All times are GMT -5. The time now is 10:55 AM.