MySQL Forums
Forum List  »  Perl

Cannot Make DBD::mysql
Posted by: Andrew Vallejos
Date: December 27, 2006 02:45PM

I am trying to install DBD::mysql on my new MacBook Pro.

I am running the most current version my MySQL and Perl.

When I run make I get the following errors.

cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI -I/usr/local/mysql/include -Os -arch ppc -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=\"4.00\" -DXS_VERSION=\"4.00\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" dbdimp.c
dbdimp.c: In function 'mysql_dr_connect':
dbdimp.c:1710: error: 'ulong' undeclared (first use in this function)
dbdimp.c:1710: error: (Each undeclared identifier is reported only once
dbdimp.c:1710: error: for each function it appears in.)
dbdimp.c:1710: error: parse error before numeric constant
make: *** [dbdimp.o] Error 1

I have had nothing but problems with the DBD driver and I may have totally screwed something up while I was trying to get it to install.

My original error also came from Make, but I got this error instead:
install_driver(mysql) failed: Can't find 'boot_DBD__mysql'

Help Please!

-Andrew

Options: ReplyQuote


Subject
Written By
Posted
Cannot Make DBD::mysql
December 27, 2006 02:45PM
January 02, 2007 02:10PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.