  | | | DBD::mysql installing error | DBD::mysql installing error 2006-07-12 - By yasinti
Back Hi, I got a lot of error when I tried to install DBD::mysql module using DBD -mysql-2 (See http://sql-2.ora-code.com).9008.tar.gz. When I ran a command 'make' after I ran 'perl Makefile.PL', errors came up. The errors like bellow: ===================================================== dbdimp.c:713: (near initialization for `SQL_GET_TYPE_INFO_values[53].native _type ') dbdimp.c:714: initializer element is not constant dbdimp.c:714: (near initialization for `SQL_GET_TYPE_INFO_values[53]') dbdimp.c:720: `FIELD_TYPE_LONGLONG' undeclared here (not in a function) dbdimp.c:720: initializer element is not constant dbdimp.c:720: (near initialization for `SQL_GET_TYPE_INFO_values[54].native_type ') dbdimp.c:721: initializer element is not constant dbdimp.c:721: (near initialization for `SQL_GET_TYPE_INFO_values[54]') dbdimp.c: In function `native2sql': dbdimp.c:729: `FIELD_TYPE_VAR_STRING' undeclared (first use in this function) . . . dbdimp.c: In function `mysql_dr_connect': dbdimp.c:855: `MYSQL' undeclared (first use in this function) dbdimp.c:855: `result' undeclared (first use in this function) dbdimp.c:857: `host' undeclared (first use in this function) dbdimp.c:858: `port' undeclared (first use in this function) dbdimp.c:863: `user' undeclared (first use in this function) dbdimp.c:864: `password' undeclared (first use in this function) dbdimp.c:878: `CLIENT_FOUND_ROWS' undeclared (first use in this function) dbdimp.c:880: `sock' undeclared (first use in this function) dbdimp.c:882: `imp_dbh' undeclared (first use in this function) dbdimp.c:897: `MYSQL_OPT_COMPRESS' undeclared (first use in this function) dbdimp.c:906: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function . . . dbdimp.c:2419: dereferencing pointer to incomplete type dbdimp.c:2420: dereferencing pointer to incomplete type dbdimp.c:2423: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_db_quote': dbdimp.c:2559: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_db_last_insert_id': dbdimp.c:2575: dereferencing pointer to incomplete type make: *** [dbdimp.o] Error 1 ================================================ I've tried to change some parameter when running 'perl Makefile.PL', such as --testuser=root, --testhost=localhost. I use xampp/lampp bundle (Apache 2.0.55, MySQL 5.0.15, Perl 5.8.7, etc). Is there something wrong? Thanks a lot and regards, sinti
-- ---- ---- ---- ---- ---- ----- Apakah Anda Yahoo!? Kunjungi halaman depan Yahoo! Indonesia yang baru!
|
|
 |