Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
Subject: DBD::mysql, incompatible pointer

Subject: DBD::mysql, incompatible pointer

2007-10-23       - By Jim Wright

 Back
I've been beating my head against this one for a few days, I've found
nothing via google that has been of any help.

Machine is a Mac Mini, Intel core duo, build 5.0.45 of mysql
installed.  I tried the package installer, and even built mysql from
source, made no difference.


Using DBI 1.601 (for perl 5.008008 on darwin-thread-multi-2 (See http://lti-2.ora-code.com)level)
installed in /Library/Perl/5.8.8/darwin-thread-multi-2 (See http://lti-2.ora-code.com)level/auto/DBI/
Writing Makefile for DBD::mysql
wrights-Computer-3 (See http://ter-3.ora-code.com):DBD-mysql-4 (See http://sql-4.ora-code.com).005 wright$ make
cc -c  -I/Library/Perl/5.8.8/darwin-thread-multi-2 (See http://lti-2.ora-code.com)level/auto/DBI -I/
usr/local/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -arch i386 -
arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-
strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -
O3   -DVERSION=\"4.005\" -DXS_VERSION=\"4.005\"  "-I/System/Library/
Perl/5.8.8/darwin-thread-multi-2 (See http://lti-2.ora-code.com)level/CORE"   dbdimp.c
dbdimp.c: In function ?mysql_describe?:
dbdimp.c:3250: warning: assignment from incompatible pointer type
dbdimp.c: In function ?mysql_describe?:
dbdimp.c:3250: warning: assignment from incompatible pointer type
cc -c  -I/Library/Perl/5.8.8/darwin-thread-multi-2 (See http://lti-2.ora-code.com)level/auto/DBI -I/
usr/local/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -arch i386 -
arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-
strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -
O3   -DVERSION=\"4.005\" -DXS_VERSION=\"4.005\"  "-I/System/Library/
Perl/5.8.8/darwin-thread-multi-2 (See http://lti-2.ora-code.com)level/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/bin/perl myld cc -mmacosx-
version-min.5  -arch i386 -arch ppc -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     \
 
chmod 755 blib/arch/auto/DBD/mysql/mysql.bundle
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle::DBD::mysql.3pm


I edited the makefile, and removed the references to -arch ppc (not
quite sure why those were even put in there by config?), and that
eliminated one of the two errors, but still not enough for make test
to complete.
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/perl?unsub=mysql@(protected)