Tiger DBD Mysql
Update
Perhaps this isn't an issue anymore?
I downloaded the tarball from CPAN and used the standard Perl Makefile, make, sudo make install commands and
it seemed to install without a hitch.
(this was on Intel)
So before you despair, try that first.
The Problem
Many people report having trouble getting DBD::mysql to install on OS X 10.4. We have had real trouble with this on a couple of machines. Here's what I did last time that eventually worked.
- Installed the newest updated developer tools, XCode 2.4. You can download it from Apple if you have a free ADC account.
- Installed the latest MySQL binary from MySQL's download page
- Installed Fink and DarwinPorts
- Installed DBI using Fink: fink install dbi-pm586
- Tried to install DBD::mysql using cpan, no luck
cd ~/.cpan/build/DBD-mysql-3.0006/
sudo perl Makefile.PL --cflags="-I/usr/local/mysql/include -Os -fno-common" --libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"
make
make install
No luck.
- Tried a bunch of other stuff with darwinports and fink, but neither one seems to really have DBD mysql
- Tried to install DBD::mysql using cpan, no luck
cd ~/.cpan/build/DBD-mysql-3.0006/
make
sudo make install
And that worked. Now, I also did a lot of other unsuccessful things in the meantime, so if some of those affected the outcome, I'm not sure. I've looked over:
- http://jayallen.org/journey/2006/03/dbd_mysql_and_mac_os_x
- http://jayallen.org/journey/2006/04/dbd-mysql-build-problems-on-mac-book-pro
- http://72.14.207.104/search?q=cache:kh-ik_095mQJ:rt.cpan.org/Public/Bug/Update.html%3Fid%3D17342%26QuoteTransaction%3D165479%26Action%3DRespond+mysql+dbd+tiger&hl=en&gl=us&ct=clnk&cd=6&client=safari
and other sites, seems there is no really clear answer floating around anywhere.
Smart people, help us here and give some better advice on what to do to get DBD::mysql installed.