[Cologne-pm] DBD-mysql installieren

Gerd Franke gerdfranke at netcologne.de
Sun Jul 8 03:57:11 PDT 2007


Hallo,

ich widme mich wieder mal meinem „Lieblingsproblem“: DBD-mysql auf  
macbook (intel) OS 10.4.10 zu installieren. :-(

Nachdem ich ein Problem mit mysql_config überwunden habe, hakt es  
jetzt beim Compilieren (?) und hagelt Fehler. Die Terminal-Ausgabe  
habe ich unten angehängt. Ein  'ulong' finde ich in der angegebenen  
Funktion nicht.

Das DBI-Modul in /Library/Perl/5.8.6/darwin-thread-multi-2level/auto/ 
DBI/ hatte ich mit Hilfe von Webmin neu/nachinstalliert: DBI 1.55  
(svn rev 9504),  4th May 2007

Wäre schön einen Hinweis zu bekommen, wie ich weitermachen kann!

Mit freundlichen Grüßen
Gerd Franke


> gerds-mbook:/private/var/root/Desktop/DBD-mysql-4.004 root# perl  
> Makefile.PL
> I will use the following settings for compiling and testing:
>
>   cflags        (mysql_config) = -I/usr/local/mysql/include -Os - 
> arch i386 -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'.
>
> Using DBI 1.56 (for perl 5.008006 on darwin-thread-multi-2level)  
> installed
> in /Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/
> Writing Makefile for DBD::mysql
>
> gerds-mbook:/private/var/root/Desktop/DBD-mysql-4.004 root# makecc -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=\"4.004\" -DXS_VERSION=\"4.004\"
> "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE"    
> dbdimp.c
>
> dbdimp.c: In function 'mysql_dr_connect':
> dbdimp.c:1565: error: 'ulong' undeclared (first use in this function)
> dbdimp.c:1565: error: (Each undeclared identifier is reported only  
> once
> dbdimp.c:1565: error: for each function it appears in.)
> dbdimp.c:1565: error: parse error before numeric constant
> dbdimp.c:1567: error: parse error before numeric constant
> dbdimp.c:1681: error: parse error before numeric constant
> make: *** [dbdimp.o] Error 1
> gerds-mbook:/private/var/root/Desktop/DBD-mysql-4.004 root#






More information about the Cologne-pm mailing list