Hi,
I am new to this list, and have the following strange problem.
I am trying to install the Bundle::DBD:mysql
on my intranet server running Linux RedHat 6.5.
Unfortunately this server is not linked directly to the Net so I have to
manually install the Bundle one module at a time.
The first two modules in tthe Bundle -
DBI
DataShowTable
seem to install perfectly well, but the Msql-Mysql-modules-1.2214
package returns the following when I run the "make" command.
[root@tvr Msql-Mysql-modules-1.2214]# make
]make[1]: Entering directory
`/usr/lib/perl5/5.00503/i386-linux/Msql-Mysql-modul
es-1.2214/mysql'
cc -c -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI
-I/usr/include/mysql
-I../dbd -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI
-I/usr/lib/perl5/5
.00503/i386-linux -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"2.0414\"
-DXS_VERSIO
N=\"2.0414\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE -DDBD_MYSQL
dbdimp.c
dbdimp.c:148: `FIELD_TYPE_YEAR' undeclared here (not in a function)
dbdimp.c:148: initializer element for
`SQL_GET_TYPE_INFO_values[13].native_type'
is not constant
dbdimp.c:153: `FIELD_TYPE_NEWDATE' undeclared here (not in a function)
dbdimp.c:153: initializer element for
`SQL_GET_TYPE_INFO_values[14].native_type'
is not constant
dbdimp.c:158: `FIELD_TYPE_ENUM' undeclared here (not in a function)
dbdimp.c:158: initializer element for
`SQL_GET_TYPE_INFO_values[15].native_type'
is not constant
dbdimp.c:163: `FIELD_TYPE_SET' undeclared here (not in a function)
dbdimp.c:163: initializer element for
`SQL_GET_TYPE_INFO_values[16].native_type'
is not constant
dbdimp.c: In function `native2sql':
dbdimp.c:256: `FIELD_TYPE_YEAR' undeclared (first use in this function)
dbdimp.c:256: (Each undeclared identifier is reported only once
dbdimp.c:256: for each function it appears in.)
dbdimp.c:257: `FIELD_TYPE_NEWDATE' undeclared (first use in this
function)
dbdimp.c:258: `FIELD_TYPE_ENUM' undeclared (first use in this function)
dbdimp.c:259: `FIELD_TYPE_SET' undeclared (first use in this function)
dbdimp.c: In function `mysql_dr_connect':
dbdimp.c:498: `MYSQL_OPT_COMPRESS' undeclared (first use in this
function)
dbdimp.c:507: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this
function
)
dbdimp.c:518: `MYSQL_READ_DEFAULT_FILE' undeclared (first use in this
function)
dbdimp.c:528: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this
function)
dbdimp.c:533: `CLIENT_FOUND_ROWS' undeclared (first use in this
function)
dbdimp.c: In function `mysql_st_internal_execute':
dbdimp.c:1184: `CR_SERVER_GONE_ERROR' undeclared (first use in this
function)
make[1]: *** [dbdimp.o] Error 1
make[1]: Leaving directory
`/usr/lib/perl5/5.00503/i386-linux/Msql-Mysql-modules
-1.2214/mysql'
make: *** [subdirs] Error 2
Similar errors are also returned for make test and make install.
This error does not seem similar tto any of these reported in the README
file.
Any help with this very greatly appreciated.
best regards,
Andrew
Andrew Cadman
| Thread |
|---|
| • Problem with make on Linux Red Hat 6.5 | Andrew Cadman | 1 Jun |