LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-03-2004, 03:11 AM   #1
luth
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
DBD-MySql-2.9004 Installation problem on Linux RedHat 9


Hello

I have wanted to install the newest version of DBD:Mysql with Mysql-4.1.7-standard but during my first try (perl Makefile.PL) this error appeared:

Code:
Can't exec "mysql_config": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 174.
So I've changed the path in the Makefile.PL:

Code:
old:
open(PIPE, mysql_config --$param |");

new:
open(PIPE, "/usr/local/mysql/bin/mysql_config --$param |");
Juhe this error's is away but now I got a new one:

Code:
Unsuccessful stat on filename containing newline at /usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97
 
Old 11-03-2004, 03:15 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
log in as root

Log in as root and try again.
 
Old 11-03-2004, 03:30 AM   #3
luth
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I'm loged in as root...
over a ssh connection
 
Old 11-04-2004, 05:47 AM   #4
kaN5300
LQ Newbie
 
Registered: Sep 2004
Location: Russia
Distribution: Slackware linux 10
Posts: 27

Rep: Reputation: 15
Hi, I was struggling with dis suxx for about 24 h =). If ya wanna fix this bug, u have to go in Makefile.PL, comment this string

# open(PIPE, "mysql_config --$param |");

and put near it a string, such as:

open(PIPE, "/usr/local/mysql/bin/mysql_config --$param |"); where ur mysql_config is located

Then, when u run #perl Makefile.PL use this keys, like i used it:

Code:
perl Makefile.PL --ssl --testhost=localhost --testpassword=toor --testuser=root
To enable ssl and test ur database (dont forget to run ur mysqld server).

Then make && make test && make install =) GL!
 
Old 11-30-2004, 05:56 AM   #5
kaN5300
LQ Newbie
 
Registered: Sep 2004
Location: Russia
Distribution: Slackware linux 10
Posts: 27

Rep: Reputation: 15
I have another trubl =(. Its all ok, but test, there is a lot of fails, i set up mysql+dbi+dbd on another machine, but forgot, how:
Code:
Failed Test       Stat Wstat Total Fail  Failed  List of Failed 
------------------------------------------------------------------------------- 
t/00base.t         255 65280     5    4  80.00%  4-5 
t/10dsnlist.t      255 65280     3    6 200.00%  1-3 
t/20createdrop.t   255 65280     5   10 200.00%  1-5 
t/30insertfetch.t  255 65280    11   22 200.00%  1-11 
t/40bindparam.t    255 65280    28   56 200.00%  1-28 
t/40blobs.t        255 65280    11   22 200.00%  1-11 
t/40listfields.t   255 65280    16   32 200.00%  1-16 
t/40nulls.t        255 65280    11   22 200.00%  1-11 
t/40numrows.t      255 65280    25   50 200.00%  1-25 
t/50chopblanks.t   255 65280    35   70 200.00%  1-35 
t/50commit.t       255 65280    30   60 200.00%  1-30 
t/ak-dbd.t         255 65280    90  180 200.00%  1-90 
t/akmisc.t         255 65280   351  702 200.00%  1-351 
t/dbdadmin.t       255 65280    21   42 200.00%  1-21 
t/insertid.t       255 65280    12   24 200.00%  1-12 
t/mysql.t          255 65280    68  136 200.00%  1-68 
t/mysql2.t         255 65280    ??   ??       %  ?? 
1 test skipped. 
Failed 17/18 test scripts, 5.56% okay. 719/722 subtests failed, 0.42% okay. 
make: *** [test_dynamic] Error 2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bugzilla - MySQL - perl - DBD::mysql install problem Runningonair Linux - Software 8 10-12-2007 01:42 AM
perl-DBD-MySQL installation problem kartheekpn Linux - Software 3 09-23-2005 04:01 AM
DBD-mysql 2.9004 and MakeMaker failure on RHEL fonin Linux - Software 0 02-24-2005 06:05 AM
Problem with make test for DBD::MySQL on RedHat 9 dipshikha Linux - Software 0 04-18-2004 01:12 PM
Can't install DBD::mysql or DBD::Pg DogTags Mandriva 2 01-21-2004 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration