On Friday, August 8, 2003, at 8:35 AM, Mike Schienle wrote:



On Friday, August 8, 2003, at 7:28 AM, John Delacour wrote:


At 4:09 pm -0600 7/8/03, Mike Schienle wrote:

I'm having some trouble with DBI and DBD::MysqlPP (and DBD::MySQL) on 10.3. Can I get a sanity check response that some people are able to run one of these? 10.3 is not that important for what I'm working on, but MySQL is, so I can roll back to older versions of MacOS X, MySQL, etc., if necessary. I never got DBD::MySQL to make so I tried MySQLPP today, which installed fine. I'm about to check out DBI::PurePerl, as well.

Any hints on getting this working so I don't have to roll back would be greatly appreciated.

I haven't tried yet on Panther, but I guess nothing has changed and that you'll have to install Perl without threads in you wand to use DBI and MySQL.


<http://nathan.torkington.com/mac/>

Thanks for the link, John. I'm also going to move back from an Alpha MySQL 4.1 to 4.0. I'll report back if anything works.

Using MySQL 4.0, DBI 1.37 and DBD::mysqlPP worked for me.


I'm getting a compile error with DBD::mysql listed below (I can spend a little time troubleshooting this, but not much):

cpan> install DBD::mysql
Running install for module DBD::mysql
Running make for R/RU/RUDY/DBD-mysql-2.9002.tar.gz
...
Removing previously used /Users/mschienle/.cpan/build/DBD-mysql-2.9002

CPAN: Module::Signature security checks disabled because Module::Signature
not installed. Please consider installing the Module::Signature module.



CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9002.tar.gz


I will use the following settings for compiling and testing:

cflags (mysql_config) = -I'/usr/local/include/mysql'
libs (mysql_config) = -L/usr/local/lib/mysql -lmysqlclient -lz -lm
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =


To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Argument "6.10_03" isn't numeric in numeric ge (>=) at Makefile.PL line 89, <PIPE> line 58.
Checking if your kit is complete...
Looks good
Using DBI 1.37 installed in /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI -I'/usr/local/include/mysql' -g -pipe -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -Os -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" dbdimp.c
/usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g" < /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/Driver.xst > mysql.xsi
/usr/local/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.1/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 193
Warning: duplicate function definition 'rows' detected in mysql.xs, line 291
cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI -I'/usr/local/include/mysql' -g -pipe -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -Os -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/local/lib/mysql:/usr/lib" /usr/local/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/lib/mysql -lmysqlclient -lz -lm
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible


Mike Schienle



Reply via email to