﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1056	ipp-2.4-cr0: DBD::mysql ulong undeclared on Mac OS X	Michael Wood-Vasey	jhoblitt	"Compiling DBD::mysql on Mac OS X (10.5.2) finds 'ulong' undeclared.

Can make work by forcing the cflags:

perl Makefile.PL PREFIX=/Volumes/data/PS1/code/ipp-2.4.darwin LIB=/Volumes/data/PS1/code/ipp-2.4.darwin/lib --cflags=""-D'ulong=unsigned long'""

in the DBD-mysql-4.006 directory

----
Here's the original error

cc -c  -I/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/auto/DBI -D'ulong=usigned long' -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.006\"" -DXS_VERSION=\""4.006\""  ""-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE""   dbdimp.c
dbdimp.c: In function âmysql_dr_connectâ:
dbdimp.c:1538: error: âusignedâ undeclared (first use in this function)dbdimp.c: In function âmysql_dr_connectâ:
dbdimp.c:1538: error: âusignedâ undeclared (first use in this function)

dbdimp.c:1538: error: (Each undeclared identifier is reported only once
dbdimp.c:1538: error: for each function it appears in.)
dbdimp.c:1538: error: syntax error before âlongâ
dbdimp.c:1538: error: (Each undeclared identifier is reported only once
dbdimp.c:1540: error: syntax error before âlongâ
dbdimp.c:1538: error: for each function it appears in.)
dbdimp.c:1538: error: syntax error before âlongâ
dbdimp.c:1540: error: syntax error before âlongâ
dbdimp.c:1654: error: syntax error before âlongâdbdimp.c:1654: error: syntax error before âlongâ
[...]"	defect	closed	high		misc	2.4	minor	fixed		jester@…
