[R] RMySQL_0.5-0 installation problem

Matthias Burger matthias.burger at epigenomics.com
Fri Oct 4 08:58:24 CEST 2002


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.



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
major    1
minor    6.0
year     2002
month    10
day      01
language R

Matthias Burger

Bioinformatics R&D
Epigenomics AG                      www.epigenomics.com
Kleine Pr?sidentenstra?e 1          fax:   +49-30-24345-555
10178 Berlin Germany                phone: +49-30-24345-0

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list