Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Architecture problem?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Architecture problem?
Authored by: shacker on Jun 10, '04 06:13:49PM

I had MT working fine under Jaguar Server. Upgraded to Panther Server and got the dreaded "Can't locate DBD/mysql.pm in @INC" problem. Even though mysql.pm is still there from before the upgrade, perl can no longer see it.

I've installed DBI and DBD::mysql from the .pkg files. I've made the "env" tweak to Config.pm. I've upgraded perl to 5.8.4 . I've tried installing them CPAN. With CPAN, I can get DBI to build and install, but with DBD::mysql, the build fails with

cc -c -I/Library/Perl/5.8.4/darwin-2level/auto/DBI -I/usr/include/mysql -O3 -fno-omit-frame-pointer -arch i386 -arch ppc -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.1028\" -DXS_VERSION=\"2.1028\" "-I/System/Library/Perl/5.8.4/darwin-2level/CORE" dbdimp.c
cc: cannot read specs file for arch `i386'
make: *** [dbdimp.o] Error 1

This implies that it's failing because it's trying to compile for Intel. I removed the '-arch i386' parts from the Makefile. But when I do that, the build fails with other errors. I'm at the end of my rope and have a rather large MT installation that's totally hosed. Any suggestions appreciated.



[ Reply to This | # ]