Fail DBD::mysql 4.003 installation

hi all
I am trying to install perl module DBD-mysql-4.003 for bugzilla 3.0 installation.
Os Version information is as below.
Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
Linux localhost.localdomain 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i
686 i686 i386 GNU/Linux
Upon manually installing the DBD::mysql version, I am getting the following error message.
[root@localhost DBD-mysql-4.003]# export LANG=C
[root@localhost DBD-mysql-4.003]# perl Makefile.PL
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include/mysql -g -pipe -march=i386 -mcpu
=i686
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lns
l -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Multiple copies of Driver.xst found in: /usr/lib/perl5/site_perl/5.8.0/i386-linu
x-thread-multi/auto/DBI/ /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-mult
i/auto/DBI/ at Makefile.PL line 738
Using DBI 1.58 (for perl 5.008 on i386-linux-thread-multi) installed in /usr/lib
/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
[root@localhost DBD-mysql-4.003]# make
gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr
/include/mysql -g -pipe -march=i386 -mcpu=i686 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/
gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"4.003\" -DXS_VERSION=\"4.
003\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c
gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr
/include/mysql -g -pipe -march=i386 -mcpu=i686 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/
gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"4.003\" -DXS_VERSION=\"4.
003\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld gcc -shared -L/usr/local/l
ib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql -lm
ysqlclient -lz -lcrypt -lnsl -lm
chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle:BD::mysql.3pm
[root@localhost DBD-mysql-4.003]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00base.............ok
t/10dsnlist..........DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/10dsnlist.t line 45
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/10dsnlist..........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/20createdrop.......DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/20createdrop.t line 45
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/20createdrop.......dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/30insertfetch......DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/30insertfetch.t line 48
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/30insertfetch......dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/35limit............DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/35limit.t line 50
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/35limit............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-113
Failed 113/113 tests, 0.00% okay
t/35prepare..........DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/35prepare.t line 35
t/35prepare..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-40
Failed 40/40 tests, 0.00% okay
t/40bindparam........DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/40bindparam.t line 57
t/40bindparam........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40bindparam2.......DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/40bindparam2.t line 64
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/40bindparam2.......dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/40blobs............DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/40blobs.t line 64
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/40blobs............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40catalog..........DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/40catalog.t line 22
# Looks like your test died before it could output anything.
t/40catalog..........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40listfields.......DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/40listfields.t line 57
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/40listfields.......dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t/40nulls............DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/40nulls.t line 50
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/40nulls............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40numrows..........DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/40numrows.t line 59
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/40numrows..........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-25
Failed 25/25 tests, 0.00% okay
t/41bindparam........DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/41bindparam.t line 37
t/41bindparam........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/41blobs_prepare....DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/41blobs_prepare.t line 71
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/41blobs_prepare....dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-24
Failed 24/24 tests, 0.00% okay
t/42bindparam........DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/42bindparam.t line 37
t/42bindparam........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/50chopblanks.......DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/50chopblanks.t line 57
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/50chopblanks.......dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-35
Failed 35/35 tests, 0.00% okay
t/50commit...........DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/50commit.t line 64
Can't call method "tables" on an undefined value at t/lib.pl line 234.
t/50commit...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
Failed 30/30 tests, 0.00% okay
t/60leaks............skipped
all skipped: $ENV{SLOW_TESTS} is not set
t/70takeimp..........skipped
all skipped: test feature not implemented
t/75supported_sql....DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/75supported_sql.t line 35
t/75supported_sql....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-17
Failed 17/17 tests, 0.00% okay
t/80procs............DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/80procs.t line 32
t/80procs............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/insertid...........DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/insertid.t line 14
t/insertid...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/param_values.......DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/param_values.t line 16
Can't call method "tables" on an undefined value at t/lib.pl line 234.
t/param_values.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/prepare_noerror....DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/prepare_noerror.t line 22
Can't call method "prepare" on an undefined value at t/prepare_noerror.t line 25
t/prepare_noerror....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/texecute...........DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/texecute.t line 17
Can't call method "tables" on an undefined value at t/lib.pl line 234.
t/texecute...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/utf8...............DBI connect('test','',...) failed: Access denied for user '
root'@'localhost' (using password: NO) at t/utf8.t line 49
t/utf8...............dubious
Test returned status 255 (wstat 65280, 0xff00)
Failed Test Stat Wstat Total Fail Failed List of Failed
t/10dsnlist.t 10 2560 9 9 100.00% 1-9
t/20createdrop.t 10 2560 6 6 100.00% 1-6
t/30insertfetch.t 10 2560 11 11 100.00% 1-11
t/35limit.t 10 2560 113 113 100.00% 1-113
t/35prepare.t 255 65280 40 40 100.00% 1-40
t/40bindparam.t 255 65280 ?? ?? % ??
t/40bindparam2.t 10 2560 13 13 100.00% 1-13
t/40blobs.t 10 2560 11 11 100.00% 1-11
t/40catalog.t 255 65280 ?? ?? % ??
t/40listfields.t 10 2560 19 19 100.00% 1-19
t/40nulls.t 10 2560 11 11 100.00% 1-11
t/40numrows.t 10 2560 25 25 100.00% 1-25
t/41bindparam.t 255 65280 11 11 100.00% 1-11
t/41blobs_prepare.t 10 2560 24 24 100.00% 1-24
t/42bindparam.t 255 65280 11 11 100.00% 1-11
t/50chopblanks.t 10 2560 35 35 100.00% 1-35
t/50commit.t 255 65280 30 30 100.00% 1-30
t/75supported_sql.t 255 65280 17 17 100.00% 1-17
t/80procs.t 255 65280 ?? ?? % ??
t/insertid.t 255 65280 16 16 100.00% 1-16
t/param_values.t 255 65280 8 8 100.00% 1-8
t/prepare_noerror.t 255 65280 ?? ?? % ??
t/texecute.t 255 65280 9 9 100.00% 1-9
t/utf8.t 255 65280 ?? ?? % ??
2 tests skipped.
Failed 24/27 test scripts, 11.11% okay. 419/424 subtests failed, 1.18% okay.
make: *** [test_dynamic] Error 2
Any help on this regard, is greatly appreciated.
regards,
Tejas

I suggest that you ask for help in a MySQL forum.
Anyhow, it seems like you are trying to install quite a new package on an old distribution or you might have a permissions problem.
Try this forum:
http://www.cpanforum.com/dist/DBD-mysql

Similar Messages

  • DBD::mysql object version 4.013 does not match bootstrap parameter 4.005

    The issue is with XServe running 10.6.2.
    Out of the box Perl doesn't come with DBM::MySQL module installed. To be able to install it, I first had to download MySQL libraries (instructions and link to the file are here: http://support.apple.com/kb/HT4006 ).
    After that I was able to install (manually with "make") the latest module DBD-mysql-4.013 which Perl now acknowledges. However, when module is called, following error is thrown:
    "install_driver(mysql) failed: DBD::mysql object version 4.013 does not match bootstrap parameter 4.005 at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 230.
    Compilation failed in require at (eval 3) line 3."
    Suspecting that Perl is looking for a 3-year old version 4.005, I did try removing 4.013 and installing 4.005 instead (as I couldn't find any other clear solution) but 4.005 failed to pass "make test" - not very surprisingly as it is that old - so I chose not to try installing it and put 4.013 back in and still got same error.
    If somebody could kindly provide/direct me to clear instructions to resolve this problem your help will be much appreciated! Thanks in advance.

    Unfortunately, I didn't document right away what I did to get this resolved but this is what I remember. This is a hack, I found a suggestion online that lead me to this. However, a FAIR WARNING - this is dangerous for the system.
    I went into the module file mysql.pm located here:
    cd /Library/Perl/5.10.0/darwin-thread-multi-2level/DBD
    vi mysql.pm
    I commented out the line that specifies version of the file, 4.013, and put 4.005 line instead:
    #$VERSION = '4.013';
    $VERSION = '4.005';
    If server is not rebooted, this doesn't change anything, error will still be thrown. So I rebooted the server from command line.
    This reboot did not go well, server went into some kind of intermediate state, I lost web access. We had to do a hard reboot by cycling power physically on the server itself. After that server came back up, log was full of all kinds of errors. Now all of a sudden the error "object version 4.013 does not match bootstrap parameter 4.005" wasn't thrown anymore. Apparently, version of this module is not read from the module .pm file itself every time module is called, it is instead stored somewhere else and is looked up there, wherever "there" may be. I suspect one of the files used during boot got confused when version number didn't match and it caused chain reaction and a bad reboot.
    Later on I went back into the file and changed version number back to 4.013 as it is supposed to be, and commented the other line out:
    $VERSION = '4.013';
    #$VERSION = '4.005';
    MySQL on Perl functioned fine since then.
    Server has been rebooted weeks later during 10.6.3 upgrade and this time it didn't cause any problems with the module. Still works.

  • Failed to create MySQL tables. Installation aborted. BOE XI 3.1 Linux

    Tried to do a full install of BOE XI 3.1 Linux on Redhat 5 with at least the mimimum requirements and it goes through fine but then in the end errors out with "Failed to create MySQL tables. Installation aborted." Any ideas on what is causing this and how to fix it?

    Hello Fred,
    I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
    This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • How to install DBD::mysql on Lion?

    After upgrading to Lion, I found that my Perl DBI scripts were no longer able to connect to a MySQL database. They would return an error message like this:
    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at (eval 3) 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, SQLite, Sponge.
    at ./dbitest.pl line 11
    Searching the Mac for 'mysql.pm' anywhere came up empty, so I assumed that Lion had wiped out my DBD::mysql installation. So I tried to re-install it using CPAN. After finding the necessary files, it ended badly:
    Checking if your kit is complete...
    Looks good
    Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    Can't exec "make": No such file or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
      CAPTTOFU/DBD-mysql-4.020.tar.gz
      make -- NOT OK
    'YAML' not installed, will not store persistent state
    Running make test
      Can't test without successful make
    Running make install
      Make had returned bad status, install seems impossible
    Failed during this command:
    CAPTTOFU/DBD-mysql-4.020.tar.gz              : make NO
    The first problem seems to be "Can't exec 'make'", and when I enter "which make", I get nothing. Wasn't 'make' included with the previous version of OS X? I don't recall installing it myself, and I'm not sure where to begin here.

    Update: I located 'make' in Developer/usr/bin and added that to my path. Now the attempt to install DBD::mysql ends slightly differently:
    Checking if your kit is complete...
    Looks good
    Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    make: *** No rule to make target `/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'.  Stop.
      CAPTTOFU/DBD-mysql-4.020.tar.gz
      make -- NOT OK
    'YAML' not installed, will not store persistent state
    Running make test
      Can't test without successful make
    Running make install
      Make had returned bad status, install seems impossible
    Failed during this command:
    CAPTTOFU/DBD-mysql-4.020.tar.gz              : make NO
    I don't know what to make of "No rule to make target..."

  • Dbd::mysql dead following upgrade

    I've been using a combination of apache, PHP, perl, and MySQL for web development since 10.4, which relies upon the DBD::mysql module available from CPAN. The 10.5 upgrade broke my DBD::mysql installation, and so did this one.
    On 10.5, I had MySQL 5.0.51 running nicely with DBD::mysql-4.010 and Perl 5.8.8. Following the uprage, the MySQL installation continued to work properly, but programs attempting to use DBI for MySQL encountered the following error:
    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /Library/Perl/Updates/5.8.9 /System/Library/Perl/5.8.9/darwin-thread-multi-2level /System/Library/Perl/5.8.9 /Library/Perl/5.8.9/darwin-thread-multi-2level /Library/Perl/5.8.9 /Network/Library/Perl/5.8.9/darwin-thread-multi-2level /Network/Library/Perl/5.8.9 /Network/Library/Perl /System/Library/Perl/Extras/5.8.9/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.9 /Library/Perl/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at (eval 4) 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, SQLite, Sponge.
    The perl installation went from 5.8.8 to 5.8.9 during the upgrade. I have had problems before interfacing 64-bit MySQL with 32-bit DBD::mysql, and before the upgrade I was running only 32-bit versions of MySQL.
    I have tried to reinstall both DBI and DBD::mysql in both 64-bit and 32-bit perl and MySQL. The make of DBD::mysql fails with the following error:
    cflags (mysql_config) = -I/usr/local/mysql/include -g -Os -arch x86_64 -fno-common -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -DDONTDECLARE_CXA_PUREVIRTUAL
    embedded (mysql_config) =
    libs (mysql_config) = -L/usr/local/mysql/lib -lmysqlclient -lz -lm -lmygcc
    mysql_config (guessed ) = mysql_config
    nocatchstderr (default ) = 0
    nofoundrows (default ) = 0
    ssl (guessed ) = 0
    testdb (default ) = test
    testhost (default ) =
    testpassword (default ) =
    testsocket (default ) =
    testuser (guessed ) = root
    To change these settings, see 'perl Makefile.PL --help' and
    'perldoc INSTALL'.
    Multiple copies of Driver.xst found in: /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBI/ /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level/auto/DBI/ at Makefile.PL line 902
    Using DBI 1.609 (for perl 5.010000 on darwin-thread-multi-2level) installed in /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    [email protected] 17:01:08 ~/.bin/src/DBD-mysql-4.012 521 $ sudo make
    gcc-4.2 -c -I/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBI -I/usr/local/mysql/include -g -Os -arch x86_64 -fno-common -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -DDONTDECLARE_CXA_PUREVIRTUAL -DDBDMYSQL_INSERT_ID_ISGOOD -g -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"4.012\" -DXS_VERSION=\"4.012\" "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE" dbdimp.c
    dbdimp.c: In function ‘alloc_param’:
    dbdimp.c:113: warning: format not a string literal and no format arguments
    There are additional, similar error messages, but there's a length limit on posts apparently.
    Root password was changed to blank to troubleshoot the install. I've tried setting the default perl to 5.8.9 as a system-wide paramter, but the DBI build still go into the 5.10.0 directory. I tried to compile DBI in 32-bit mode by using perl 5.8.9, but this build errors out . I've tried to set the perl 5.10.0 compiler to 32-bit mode, but that hasn't helped either.
    I can't get DBD::mysql to run correctly no matter what I've tried. Can someone please shed some light on the subject?

    Answer (of sorts) posted here:
    http://discussions.apple.com/message.jspa?messageID=10155786#10155786

  • Installing DBI and DBD::mysql in 10.4 Tiger, with MySQL 5.0

    After some discussion here http://discussions.apple.com/thread.jspa?threadID=546982&tstart=0
    I wanted to document what was required to get Bundle::DBI and DBD::mysql installed.
    I started off with the helpful info found on the following two pages, but I had to do more to get it working:
    http://www.truerwords.net/articles/osx/installdbdmysql.html
    http://www.gyford.com/phil/writing/2004/06/07/installingdbia.php
    Note: I am working with mysql-standard-5.0.15-osx10.4-powerpc,
    downloaded and configured according to the MySQL site instructions.
    If you are using an earlier version of MySQL, then you will need to adjust accordingly. The articles I link to above, may work for you verbatim.
    1. Download DBI 1.51 from CPAN:
    http://search.cpan.org/~hoymich/DBI-1.45-5.8.4/
    2. Unpack the file, eg: tar -xzvf DBI-1.51.tar.gz
    3. cd into the directory
    4. Type perl Makefile.PL
    5. Type make && make test
    6. sudo make install (NB: See below !)
    7. IMPORTANT: to get DBD to install, you may need to specify the location of your mysql_config file:
    perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpasswdused --testhost=localhost --mysqlconfig=/usr/local/mysql/bin/mysqlconfig
    If something goes wrong, backup by typing:
    make clean
    Another note: I granted full priveleges for the "test" user on the "test" database, which is accepting local connections only and will be removed after everything is configured.
    # now for DBD
    8. Download DBD::mysql from CPAN http://search.cpan.org/~capttofu/DBD-mysql-3.0006
    9. unpack the archive & cd into it
    10. perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpwdused --testhost=localhost
    11. make && make test
    12. sudo make install
    That's what it took, hopefully this will help others who need it, and not offend those who know more about it

    Hi David!
    I'm trying to help my incredibly frustrated boyfriend, who's trying to upgrade to Tiger on his 12" PB (1.3 MHz single processor).
    He does a lot of web design and development, so he formatted his drive as HFS+, case-sensitive, journaled, and has installed his Adobe apps on a dmg, which works great.
    BUT (and he says this is always a problem) installing DBD::mySQL is proving near-impossible! His install is failing 98% of the tests run during maketest. He thinks the problem may actually be occurring when he runs Makefile. Here's the error message he's getting, even after reading your posts:
    During Makefile.PL:
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 450.
    Do you have any idea of a direction to point him in? He's so frustrated he can't even post to the forum - language not suitable for family viewing at this time.
    Thanks!
    Natalie
    Dual 867MHz G4 MDD   Mac OS X (10.3.6)  

  • Can't install Perl DBI or DBD::mysql after Mountain Lion upgrade

    I recently upgraded to Mountain Lion and found that my Perl DBI scripts stopped working, with the error message "Can't locate DBD/mysql.pm in @INC".
    The last time this happened, after upgrading to Lion, the solution was to install the new version of Xcode. Then I was able to use the Perl CPAN module to install DBI and DBD::mysql. (MySQL is already installed and running with no problem on the Mountain Lion machine.)
    Now I have installed Xcode 4.5.1, and tried
    mrb% sudo perl -MCPAN -e shell
    [then CPAN configures itself]
    cpan[1]> install DBI
    and it fails with this final message:
    /System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:583:11: fatal error:
          'sys/types.h' file not found
    #       include <sys/types.h>
                    ^
    1 error generated.
    make: *** [Perl.o] Error 1
      TIMB/DBI-1.622.tar.gz
      /Developer/usr/bin/make -- NOT OK
    'YAML' not installed, will not store persistent state
    Running make test
      Can't test without successful make
    Running make install
      Make had returned bad status, install seems impossible
    Failed during this command:
    TIMB/DBI-1.622.tar.gz                        : make NO
    Can anybody help?

    Here is a link to a resolution in Lion. It may also solve your Mountain Lion Perl DBD issue as well.
    If you run the command below before executing your Perl script the library is found and all is well!
    export DYLD_LIBRARY_PATH="/usr/local/mysql/lib:$DYLD_LIBRARY_PATH"
    Put this in your .bashrc or .bash_profile.
    On Apple StackExchange, Matthew Weiss had another approach.
    I found on another website the following command
    $ sudo perl -MCPAN -e 'CPAN::Shell->notest(install => CPAN::Shell->r)'
    This updated all my perl modules and all is back to normal. Not sure why or what, but don't care that it is working now.

  • Problems building DBD::mysql

    Has anyone had any luck with this. I have a freshly built perl 5.8.8, freshly built DBI, all work great, built with no errors. (All done with SUNWspro 11)
    I believe the problem is simply that when DBD::mysql is compiling it is trying to build it in either 32 bit or 64 bit but whatever it is doing, it is doing the opposite of what Perl and DBI were built as. Same thing happens when I use CPAN.
    Any hints on how to get this to build as 32bit?
    ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/mysql/mysql.so

    Well no luck. Does this clear anything up?
    Unrecognized argument in LIBS ignored: '-xarch=v9'
    Using DBI 1.50 (for perl 5.006002 on sun4-solaris) installed in /usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/
    Writing Makefile for DBD::mysql
    cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
    cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
    cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
    cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
    cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
    cp lib/Mysql.pm blib/lib/Mysql.pm
    /opt/SUNWspro/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/ -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"3.0003\" -DXS_VERSION=\"3.0003\" -KPIC "-I/usr/local/lib/perl5/5.6.2/sun4-solaris/CORE" dbdimp.c
    /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI//Driver.xst > mysql.xsi
    /usr/bin/perl /usr/local/lib/perl5/5.6.2/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.2/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
    Warning: duplicate function definition 'do' detected in mysql.xs, line 224
    Warning: duplicate function definition 'rows' detected in mysql.xs, line 559
    /opt/SUNWspro/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/ -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"3.0003\" -DXS_VERSION=\"3.0003\" -KPIC "-I/usr/local/lib/perl5/5.6.2/sun4-solaris/CORE" mysql.c
    Running Mkbootstrap for DBD::mysql ()
    chmod 644 mysql.bs
    rm -f blib/arch/auto/DBD/mysql/mysql.so
    LD_RUN_PATH="/usr/lib" /usr/bin/perl myld /opt/SUNWspro/bin/cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/opt/mysql/mysql/lib -lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lmtmalloc
    ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/mysql/mysql.so
    *** Error code 1
    make: Fatal error: Command failed for target `blib/arch/auto/DBD/mysql/mysql.so'
    /usr/ccs/bin/make -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible

  • Installing DBD::mysql on a 10.3.9 server

    Finally got it to work, though it might be an overkill. Had to go about it, the long way
    1) First installed the new perl (5.8.7, eat your heart out tiger), using the perl distribution was a breeze. Then reinstalled all the modules that were previously installed. (Don't forget to install xcode first, I had a broken installation and gave some trouble).
    http://developer.apple.com/internet/opensource/perl.html
    The nice part is that 5.8.7 took over the old version without much ado.
    2) Installed the new PHP (the distribution by entropy, great job on behave of the mac community by Marc Liyanage. http://www.entropy.ch/software/macosx/php/)
    Had to do a couple of changes as described by Marc, but not a major problem.
    3) Install DBI
    4) Couldn't get beyond the errors when installing DBD::mysql (strange that being an apple distribution it had trouble with directories and 386!), so I had to install the new MySQL (from http://dev.mysql.com/downloads/). This was a bit trickier, since it still the old files take precedence. Use this command:
    perl Makefile.PL --libs="`/usr/local/mysql/bin/mysql_config --libs`" --cflags="`/usr/local/mysql/bin/mysql_config --cflags`" --testuser=root --testpassword=**** or what ever path you have. Don't forget to d/l the cool admin tool as well.
    Guess just have to upgrade apache and would be a totally updated server (at least on the web part).

    The makefiles don't always put things in the exact same place that Apple does. I'm afraid I don't have anything that old to test on or give you any more specific advice, but you should generally make sure you're duplicating the stock installation as closely as possible if you want things to work the way they used to.

  • Using DBD::Mysql on OS X Lion Server

    Hello together,
    I have MySQL running on Mac OS X Lion Server.
    The server was upgraded from Leopard Server so it is the Apple installed MySQL server version from Mac OS X Server 10.5.
    /usr/libexec/mysqld  Ver 5.0.67-log for apple-darwin9.0 on i686 (Source distribution)
    Now I want to install DBD::Mysql vom cpan but whatever I tried, it didn´t work.
    After googling I first I thought it might be an issue of headers and libraries so I copied /usr/local/lib/mysql and /usr/local/include/mysql from a OS X client machine, where I did install DBD::Mysql months ago.
    But I got some errors like
    dyld: Symbol not found: _mysql_init, referer: ...
    and
    dyld: lazy symbol binding failed: Symbol not found: _mysql_init, referer: ....
    (This is from appache error_log since I am have cgi scripts which use DBD::Mysql)
    Then I read some articles that it might be an issue of 32-bit an 64-bit incompatibilities.
    Could anyone give me some advice on how to get DBD::Mysql up an running or at least how to find out what the problem really is.
    Thanks in advance and best regards
    macmartin

    In the meantime I tried many differnt things.
    Finally I copied theses files from Mac OS X 10.7 client to the 10.7 Server:
    /Library/Perl/5.12/darwin-thread-multi-2level/Bundle/DBD/mysql.pm
    /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql.pm
    /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql/GetInfo.pm
    /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql/INSTALL.pod
    /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bs
    /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
    /usr/local/lib/mysql/
    /usr/local/include/mysql
    /usr/local/mysql/lib
    So if anyone runs into the same problem one possible solution could be to set up DBD::Mysql on 10.7 client and copy the appropriate files to the server.
    Best regards
    macmartin

  • Creating FRCommon system failed - in 11g Forms & Report Installation

    Dear all,
    When installing 11g Forms and Reports "*Creating FRCommon system failed - in 11g Forms & Report Installation*".
    I have successfully created the weblogic server 10.3.5 , and continued with 11g forms & reports. First Installed the forms & reports software, and i try to configure. after several steps of configuration i have failed when its place "*Creating FRCommon system failed - in 11g Forms & Report Installation*".
    What it is this Error.
    Kindly help me.
    My OS Windows
    Forms and reports 11gR2
    More info
    When i start the configuration i have chosen Forms & Reports server and Development tools in the configuration page along with OHS.
    Regards
    Hamid

    Hi experts,
    I have the same problem when I try to install oracle Fusion Middleware 11g, is it possible that I forget some steps before, or should I install required something before continue intallation?
    Best Regards.
    Karim.

  • How to Install DBD::mysql on Mac OSX 10.4.7 SERVER Universal

    I spent 3 days trying to figure out how to install DBD::mysql on OSX 10.4.7 Server Universal on my Mac Pro.
    I didn't think it would be so hard just to get it installed so I could use Movable Type. Yikes!
    Anyway, I wrote up a tutorial on what I did to get it installed. Hopefully it will help you out if you are having problems installing DBD::mysql on Server 10.4.7 Universal with a Mac Pro.
    DISCLAIMER: I cannot say whether or not this will work with any other version of Server or Macintosh. Inside the article below is a link to how to install DBD::mysql on other versions of OSX that may or may not work for you.
    http://macnewsblog.com/2006/09/howto_install_dbdmysql_onmac.html
    MacBook Pro 15" Mac OS X (10.4.6)

    Hopefully this worked for those with Mac Pros!

  • Installation Error DW050: Adobe Illustrator CS5.1: failed due to language pack installation failure

    I recently got a macbook Air and needed to reinstall my adobe creative suite to said new computer. I purchased creative suite online so I downloaded it from there and followed the installation instructions to a T.
    I originally purchased Adobe Creative Suite in 2011 so it is version CS5.1
    Everything installed successfully except Adobe Illustrator, which at the end left me this error message
    ERROR: DW050:  - Adobe Illustrator CS5.1_AdobeIllustrator15_1en_USLanguagePack: Install failed
    ERROR: DW050:  - Adobe Illustrator CS5.1: Failed due to Language Pack installation failure
    how can I get illustrator on my computer?!
    Hoping to sell my previous computer soon and I'm almost done transferring programs and photographs.
    Thanks so much!

    Which language is the application?
    Which language is your system?
    Which system?

  • Adapter Configuration failed, please re run the installer to fix the issue

    the above message is popping up while i try to install BODS in Windows 8 64bit
    after i give ok i couldnt able to run the BODS ??

    the first problem about Adapter Configuration failed during installation is a bug. This problem happens in case the installer is not able to get the short path name for LINK_DIR and while submitting the command for configuring the Adapter the command is having spaces in the path resulting in incorrect command which is failing
    check the di_0.log installer log file in <BOE_HOME>\BusinessObjects Enterprise 12.0\logging folder, open  this file in notepad and search for following text
    com.acta.adapter.sdkutil.UpdateAdapterVersion
    you will see a error like java.lang.NoClassDefFoundError: Objects\BusinessObjects
    if you are not using Adapters then this is not a problem for you, your installation is fine, you should be able to use other functions
    The second issue with SNMP, the error message says "The port may be in use by another process", check if the port 4001 is avilable ? try with a different port number

  • Flash Player: Connection failed. Unable to complete installation. Mac OSX

    I'm working on a mac running 10.10.1 Yosemite in Safari. My current Flash version is 15.0.0.
    On most videos and pictures it now says 'Your Flash Player is out of date".
    I've clicked on this icon, which opens saying do you want to download the newest version, and clicked yes.
    I've downloaded Adobe Flash Player Update several times.
    The downloading always works, the problem is with the installation:
    It failed the first time, and all following times it 'picks up' at about 30% then goes up all the way to 97% (sometimes 99%) and then says: Connection failed. Unable to complete installation.
    I've tried all the links in the forums saying download directly from here: http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_osx.dmg - but safari can't find the link.
    I wanted to deinstall Flash Player and found this link on the adobe website(Uninstall Flash Player | Mac OS): http://fpdownload.macromedia.com/get/flashplayer/current/support/uninstall_flash_player_os x.dmg -> but it says "Safari can't find the server fpdownload.macromedia.com" so I can't even uninstall it!
    I have no idea what else to try???
    I also tried to open all those links in Firefox and Chrome and they weren't found there either.
    Has anyone ideas what I can do? All the links that I found in the forum which solved the problem for others are 'not found' when I click on them.
    Thanks for any tipps!!!

    How to perform a "clean install" of Flash Player in Mac OS X
    I wrote those instructions. They're how I installed Flash Player on my new Mini.

Maybe you are looking for