DBD::mysql, incompatible pointer

DBD::mysql, incompatible pointer

am 23.10.2007 21:23:41 von Jim Wright

I've been beating my head against this one for a few days, I've found =20=

nothing via google that has been of any help.

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


Using DBI 1.601 (for perl 5.008008 on darwin-thread-multi-2level) =20
installed in /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/
Writing Makefile for DBD::mysql
wrights-Computer-3:DBD-mysql-4.005 wright$ make
cc -c -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI -I/=20
usr/local/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -arch i386 -=20=

arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-=20
strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -=20
O3 -DVERSION=3D\"4.005\" -DXS_VERSION=3D\"4.005\" "-I/System/Library/=20=

Perl/5.8.8/darwin-thread-multi-2level/CORE" dbdimp.c
dbdimp.c: In function =91mysql_describe=92:
dbdimp.c:3250: warning: assignment from incompatible pointer type
dbdimp.c: In function =91mysql_describe=92:
dbdimp.c:3250: warning: assignment from incompatible pointer type
cc -c -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI -I/=20
usr/local/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -arch i386 -=20=

arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-=20
strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -=20
O3 -DVERSION=3D\"4.005\" -DXS_VERSION=3D\"4.005\" "-I/System/Library/=20=

Perl/5.8.8/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=3D"/usr/local/lib/mysql" /usr/bin/perl myld cc -mmacosx-=20
version-min=3D10.5 -arch i386 -arch ppc -bundle -undefined =20
dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/=20
DBD/mysql/mysql.bundle \
-L/usr/local/lib/mysql -lmysqlclient -lz -lm \
=09
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 =20
quite sure why those were even put in there by config?), and that =20
eliminated one of the two errors, but still not enough for make test =20
to complete.=

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

Re: DBD::mysql, incompatible pointer

am 23.10.2007 21:44:35 von Patrick Galbraith

Those warnings are not the problem - ignore them, they are xs oddities
that I nor others have been able to make go away in the source.

What is the error you have upon "make test" ?

Jim Wright wrote:

> 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-2level)
> installed in /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/
> Writing Makefile for DBD::mysql
> wrights-Computer-3:DBD-mysql-4.005 wright$ make
> cc -c -I/Library/Perl/5.8.8/darwin-thread-multi-2level/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-2level/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-2level/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-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/bin/perl myld cc -mmacosx-
> version-min=10.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.



--
Patrick Galbraith, Senior Programmer
Grazr - Easy feed grazing and sharing
http://www.grazr.com

Satyam Eva Jayate - Truth Alone Triumphs
Mundaka Upanishad




--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::mysql, incompatible pointer

am 23.10.2007 22:19:33 von Jim Wright

At this point, the only other issue I'm having is that my socket for =20
mysql isn't being created in /tmp, which is probably something I =20
messed up in reinstalling things. Now that I know this error is a =20
non-issue, I'll go ahead and ignore it. :)

thanks!


On Oct 23, 2007, at 2:44 PM, Patrick Galbraith wrote:

> Those warnings are not the problem - ignore them, they are xs =20
> oddities that I nor others have been able to make go away in the =20
> source.
>
> What is the error you have upon "make test" ?
>
> Jim Wright wrote:
>
>> I've been beating my head against this one for a few days, I've =20
>> found nothing via google that has been of any help.
>>
>> Machine is a Mac Mini, Intel core duo, build 5.0.45 of mysql =20
>> installed. I tried the package installer, and even built mysql =20
>> from source, made no difference.
>>
>>
>> Using DBI 1.601 (for perl 5.008008 on darwin-thread-multi-2level) =20=

>> installed in /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/
>> Writing Makefile for DBD::mysql
>> wrights-Computer-3:DBD-mysql-4.005 wright$ make
>> cc -c -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI -=20
>> I/ usr/local/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -arch =20=

>> i386 - arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp =20=

>> -fno- strict-aliasing -Wdeclaration-after-statement -I/usr/local/=20
>> include - O3 -DVERSION=3D\"4.005\" -DXS_VERSION=3D\"4.005\" "-I/=20=

>> System/Library/ Perl/5.8.8/darwin-thread-multi-2level/CORE" =20
>> dbdimp.c
>> dbdimp.c: In function =91mysql_describe=92:
>> dbdimp.c:3250: warning: assignment from incompatible pointer type
>> dbdimp.c: In function =91mysql_describe=92:
>> dbdimp.c:3250: warning: assignment from incompatible pointer type
>> cc -c -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI -=20
>> I/ usr/local/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -arch =20=

>> i386 - arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp =20=

>> -fno- strict-aliasing -Wdeclaration-after-statement -I/usr/local/=20
>> include - O3 -DVERSION=3D\"4.005\" -DXS_VERSION=3D\"4.005\" "-I/=20=

>> System/Library/ Perl/5.8.8/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=3D"/usr/local/lib/mysql" /usr/bin/perl myld cc -mmacosx- =20=

>> version-min=3D10.5 -arch i386 -arch ppc -bundle -undefined =20
>> dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/=20
>> 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 =20
>> (not quite sure why those were even put in there by config?), and =20=

>> that eliminated one of the two errors, but still not enough for =20
>> make test to complete.
>
>
>
> --=20
> Patrick Galbraith, Senior Programmer Grazr - Easy feed grazing and =20
> sharing
> http://www.grazr.com
> Satyam Eva Jayate - Truth Alone Triumphs
> Mundaka Upanishad
>
>
>
>
> --=20
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe: http://lists.mysql.com/perl?=20
> unsub=3Djim@wrightthisway.com
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

Re: DBD::mysql, incompatible pointer

am 23.10.2007 22:40:47 von Patrick Galbraith

"warning" not error ;) Kind of like ignoring when Mom used to warn about
running outside without a coat.

Jim Wright wrote:

> At this point, the only other issue I'm having is that my socket for
> mysql isn't being created in /tmp, which is probably something I
> messed up in reinstalling things. Now that I know this error is a
> non-issue, I'll go ahead and ignore it. :)
>
> thanks!
>
>
> On Oct 23, 2007, at 2:44 PM, Patrick Galbraith wrote:
>
>> Those warnings are not the problem - ignore them, they are xs
>> oddities that I nor others have been able to make go away in the
>> source.
>>
>> What is the error you have upon "make test" ?
>>
>> Jim Wright wrote:
>>
>>> 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-2level)
>>> installed in /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/
>>> Writing Makefile for DBD::mysql
>>> wrights-Computer-3:DBD-mysql-4.005 wright$ make
>>> cc -c -I/Library/Perl/5.8.8/darwin-thread-multi-2level/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-2level/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-2level/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-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/bin/perl myld cc -mmacosx-
>>> version-min=10.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.
>>
>>
>>
>>
>> --
>> Patrick Galbraith, Senior Programmer Grazr - Easy feed grazing and
>> sharing
>> http://www.grazr.com
>> Satyam Eva Jayate - Truth Alone Triumphs
>> Mundaka Upanishad
>>
>>
>>
>>
>> --
>> MySQL Perl Mailing List
>> For list archives: http://lists.mysql.com/perl
>> To unsubscribe: http://lists.mysql.com/perl?
>> unsub=jim@wrightthisway.com
>>
>
>


--
Patrick Galbraith, Senior Programmer
Grazr - Easy feed grazing and sharing
http://www.grazr.com

Satyam Eva Jayate - Truth Alone Triumphs
Mundaka Upanishad




--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org