Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
DBD::mysql installing error

DBD::mysql installing error

2006-07-12       - By yasinti

 Back
Reply:     1     2     3     4     5  

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!