upgrade to 10.3 f'd up mysql, DBD, DBI, PHP -- HELP
I just "upgraded and archived" from 10.2 to 10.3 (+ all updates)
To my suprise I noticed that all of my mysql databases were missing. I was able to retrive them from the archive area.
Now I try to run a perl script that calls DBI and I get DBI errors. Funny, this script worked before the OS upgrade.
So, I fire up CPAN and install DBI and DBD::mysql. They both fail. I reinitalize CPAN and everything still fails.
I then go and get the modules and try to install by "hand".
DBD::mysql fails on make with loads of errors. I try to force a make install but it doesn't work.
Anyone have any idea how I can get DBI working again?
BTW: please dont' suggest a clean install. If the upgrade was written correctly this would not need to be done.
To my suprise I noticed that all of my mysql databases were missing. I was able to retrive them from the archive area.
Now I try to run a perl script that calls DBI and I get DBI errors. Funny, this script worked before the OS upgrade.
So, I fire up CPAN and install DBI and DBD::mysql. They both fail. I reinitalize CPAN and everything still fails.
I then go and get the modules and try to install by "hand".
DBD::mysql fails on make with loads of errors. I try to force a make install but it doesn't work.
Anyone have any idea how I can get DBI working again?
BTW: please dont' suggest a clean install. If the upgrade was written correctly this would not need to be done.
Comments
I had to reinstall the Developer stuff (XCode CD) because Apple decided to leave out a whole bunch of header files from the 10.3 install that were included in 10.2
I also found this link: http://www.macosxhints.com/article.p...30617021800190
I "downgraded" my compiler and then I found this site:
http://www.macosxhints.com/article.p...30617021800190
I changed my makefile.pl statement to:
perl Makefile.PL --cflags=-I'/usr/local/mysql/include' \\
--libs=-L"/usr/local/mysql/lib -lmysqlclient -lz -lm"
and eveything installed just fine when I installed by hand, CPAN still had issues.