Skip to content

RMySQL_0.5-0 installation problem

1 message · Matthias Burger

#
Hi,

in the process of upgrading to R 1.6.0 I tried to install the latest RMySQL 
(0.5-0) package (Omegahat).

The following error was reported
[...]
   gcc -I/mnt/local/R/R-1.6.0/lib/R/include -I/usr/include/mysql 
-I/usr/local/include -D__NO_MATH_INLINES -mieee-fp  -fPIC  -g -O2 -c RS-MySQL.c 
-o RS-MySQL.o
RS-MySQL.c: In function `RS_MySQL_newConnection':
RS-MySQL.c:203: `MYSQL_OPT_LOCAL_INFILE' undeclared (first use in this 
function)RS-MySQL.c:203: (Each undeclared identifier is reported only once
RS-MySQL.c:203: for each function it appears in.)
make: *** [RS-MySQL.o] Error 1
ERROR: compilation failed for package 'RMySQL'

Any hint on what to try next would be highly appreciated.

Regards,

   Matthias


sys info:

This is on a Athlon 900 host with debian 3.0 (testing), kernel 2.4.19
MySQL packages libmysqlclient10 + libmysqlclient10-dev installed
$ mysql -V
mysql  Ver 11.15 Distrib 3.23.47, for pc-linux-gnu (i686)

R version, built from source, make & check OK
         _
platform i686-pc-linux-gnu
arch     i686
os       linux-gnu
system   i686, linux-gnu
status
major    1
minor    6.0
year     2002
month    10
day      01
language R