DBD::mysql Installation failes
am 05.12.2004 15:33:27 von Markus LinkeHi,
I recently installed Berkeley DB on my Linux box and upgraded mysql to
version 4.1.7.
I upgraded perl to the latest version and now I try to install
DBD::mysql. This fails :o((
The following error messages are shown when I try make Makefile.PL:
In file included from dbdimp.c:19:
dbdimp.h:21:49: mysql.h: No such file or directory
dbdimp.h:22:49: errmsg.h: No such file or directory
In file included from dbdimp.c:19:
dbdimp.h:106: parse error before "MYSQL"
dbdimp.h:106: warning: no semicolon at end of struct or union
dbdimp.h:117: parse error before '}' token
dbdimp.h:146: parse error before "MYSQL_RES"
dbdimp.h:146: warning: no semicolon at end of struct or union
dbdimp.h:159: parse error before '}' token
In file included from dbdimp.c:19:
dbdimp.h:195: parse error before '*' token
dbdimp.h:198: parse error before "MYSQL_RES"
dbdimp.h:202: parse error before '*' token
dbdimp.h:202: parse error before '*' token
dbdimp.h:203: warning: data definition has no type or storage class
dbdimp.c:122: parse error before '*' token
dbdimp.c: In function `ParseParam':
dbdimp.c:131: `slenPtr' undeclared (first use in this function)
dbdimp.c:131: (Each undeclared identifier is reported only once
dbdimp.c:131: for each function it appears in.)
dbdimp.c:133: `numParams' undeclared (first use in this function)
dbdimp.c:137: `statement' undeclared (first use in this function)
dbdimp.c:247: `sock' undeclared (first use in this function)
dbdimp.c: At top level:
dbdimp.c:303: `FIELD_TYPE_VAR_STRING' undeclared here (not in a function)
dbdimp.c:303: initializer element is not constant
dbdimp.c:303: (near initialization for
`SQL_GET_TYPE_INFO_values[0].native_type')
dbdimp.c:305: initializer element is not constant
dbdimp.c:305: (near initialization for `SQL_GET_TYPE_INFO_values[0]')
dbdimp.c:310: `FIELD_TYPE_DECIMAL' undeclared here (not in a function)
dbdimp.c:310: initializer element is not constant
dbdimp.c:310: (near initialization for
`SQL_GET_TYPE_INFO_values[1].native_type')
dbdimp.c:312: initializer element is not constant
dbdimp.c:312: (near initialization for `SQL_GET_TYPE_INFO_values[1]')
dbdimp.c:317: `FIELD_TYPE_TINY' undeclared here (not in a function)
dbdimp.c:317: initializer element is not constant
dbdimp.c:317: (near initialization for
`SQL_GET_TYPE_INFO_values[2].native_type')
dbdimp.c:319: initializer element is not constant
dbdimp.c:319: (near initialization for `SQL_GET_TYPE_INFO_values[2]')
dbdimp.c:324: `FIELD_TYPE_SHORT' undeclared here (not in a function)
dbdimp.c:324: initializer element is not constant
dbdimp.c:324: (near initialization for
`SQL_GET_TYPE_INFO_values[3].native_type')
dbdimp.c:326: initializer element is not constant
dbdimp.c:326: (near initialization for `SQL_GET_TYPE_INFO_values[3]')
dbdimp.c:331: `FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:331: initializer element is not constant
Any ideas?
Thanks,
Markus
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org