Running [/Users/jleffler/perl/v5.8.8/bin/perl /Users/jleffler/perl/v5.8.8/bin/cpanp-run-perl Makefile.PL ]...
I will use the following settings for compiling and testing:

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

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

Checking if your kit is complete...
Looks good
Using DBI 1.53 (for perl 5.008008 on darwin-2level) installed in /Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin-2level/auto/DBI/
Writing Makefile for DBD::mysql
Running [/usr/bin/make ]...
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin-2level/auto/DBI -I/usr/local/mysql/include -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -O3 -DVERSION=\"4.00\" -DXS_VERSION=\"4.00\" "-I/Users/jleffler/perl/v5.8.8/lib/5.8.8/darwin-2level/CORE" dbdimp.c
dbdimp.c: In function 'mysql_dr_connect':
dbdimp.c:1710: error: 'ulong' undeclared (first use in this function)
dbdimp.c:1710: error: (Each undeclared identifier is reported only once
dbdimp.c:1710: error: for each function it appears in.)
dbdimp.c:1710: error: parse error before numeric constant
make: *** [dbdimp.o] Error 1


Do you need any help identifying which header should be used to get 'ulong' defined? It isn't immediately obvious to me:

$ grep -l ulong /usr/include/*.h /usr/include/*/*.h
/usr/include/slapi-plugin.h
/usr/include/i386/types.h
/usr/include/openssl/x509v3.h
/usr/include/php/acconfig.h
/usr/include/ppc/types.h
/usr/include/tidy/fileio.h
/usr/include/tidy/platform.h
/usr/include/tidy/tidy.h
$


--
Jonathan Leffler ([EMAIL PROTECTED]) #include <disclaimer.h>
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/

Reply via email to