"DBD::Mysql on Intel Mac i686 (Quadcore)" make problems
ademmler <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Hi folks! I need all your help. I am trying to install DBD:mysql on an Quadcore Intel Mac (i686). My Setup: Perl 5.8.6 (ok) MySQL mysql-max-5.0.27-osx10.4-i686 (ok) DBI-1.53 (ok) I tried on (Version 4) and on DBD-mysql-3.0008. I can install this on Intel Mac DuoCore, but not on Quadcore. I have done all the hints (about links, libs, cflags) from www - no result. I have done also: host:~ admin$ PATH=$PATH:/usr/local/mysql/bin/ host:~ admin$ export PATH host:~ admin$ env . . . for control While using the configure script I use this: sudo perl Makefile.PL -cflags='-I/usr/local/mysql/include -Os -arch i386 -fno-common' -libs='-L/usr/local/mysql/lib -lmysqlclient -lz -lm' ## I will use the following settings for compiling and testing: cflags (User's choice) = -I/usr/local/mysql/include -Os - arch i386 -fno-common embedded (mysql_config ) = libs (User's choice) = -L/usr/local/mysql/lib - lmysqlclient -lz -lm mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ps-protocol (default ) = 1 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'. ## Now I try to do start the make cmd and get this: ## host:~/Desktop/DBD-mysql-3.0008 admin$ make Skip blib/lib/DBD/mysql.pm (unchanged) Skip blib/lib/DBD/mysql/GetInfo.pm (unchanged) Skip blib/lib/DBD/mysql/INSTALL.pod (unchanged) Skip blib/lib/Bundle/DBD/mysql.pm (unchanged) cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI -I/ usr/local/mysql/include -Os -arch i386 -fno-common - DDBD_MYSQL_INSERT_ID_IS_GOOD -g -g -pipe -fno-common -DPERL_DARWIN - no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O3 - DVERSION=\"3.0008_1\" -DXS_VERSION=\"3.0008_1\" "-I/System/Library/ Perl/5.8.6/darwin-thread-multi-2level/CORE" dbdimp.c dbdimp.c: In function 'mysql_dr_connect': dbdimp.c:1702: error: 'ulong' undeclared (first use in this function) dbdimp.c:1702: error: (Each undeclared identifier is reported only once dbdimp.c:1702: error: for each function it appears in.) dbdimp.c:1702: error: parse error before numeric constant make: *** [dbdimp.o] Error 1 host:~/Desktop/DBD-mysql-3.0008 admin$ ## Now I need help - definetly . . .please! Regards Alex