[R] Problems compiling RMySQL

Paulino Perez Rodriguez perpdgo at colpos.mx
Sun Jun 3 02:02:18 CEST 2007


Hello, I am trying to compile/Install RMySQL_0.6-0 in 
R-2.4.1/2.5.0 under Windows XP MCE, I am using MySQL 
5.0.41. I have followed the instructions in the file 
INSTALL.win, but I get some errors...

C:\Program Files\R\R-2.4.1>Rcmd build --binary RMySQL 
--docs=normal
* checking for file 'RMySQL/DESCRIPTION' ... OK
* preparing 'RMySQL':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source files
* checking for empty or unneeded directories
* building binary distribution
  WARNING
* some HTML links may not be found
installing R.css in c:/TEMP/Rinst248068707

Using auto-selected zip options ' RMySQL-HELP=ziponly'

---------- Making package RMySQL ------------
======================================================================
RMySQL configure.win:
* Using mysql libraries from 
c:/PROGRA~1/MySQL/MYSQLS~1.0/lib/opt
* Using mysql dll from c:/PROGRA~1/MySQL/MYSQLS~1.0/bin
* Copying runtime libMySQL.dll and libmysql.lib to 
inst/libs
* Using an existing libmysql.a in 
c:/PROGRA~1/MySQL/MYSQLS~1.0/lib/opt
======================================================================
   adding build stamp to DESCRIPTION
   installing NAMESPACE file and metadata
   making DLL ...
making RS-DBI.d from RS-DBI.c
making RS-MySQL.d from RS-MySQL.c
gcc -Ic:/PROGRA~1/MySQL/MYSQLS~1.0/include 
-Ic:/PROGRA~1/R/R-24~1.1/include -W
all -O2 -std=gnu99 -c RS-DBI.c -o RS-DBI.o
gcc -Ic:/PROGRA~1/MySQL/MYSQLS~1.0/include 
-Ic:/PROGRA~1/R/R-24~1.1/include -W
all -O2 -std=gnu99 -c RS-MySQL.c -o RS-MySQL.o
windres --include-dir c:/PROGRA~1/R/R-24~1.1/include -i 
RMySQL_res.rc -o RMySQL
_res.o
gcc -shared -s -o RMySQL.dll RMySQL.def RS-DBI.o 
RS-MySQL.o RMySQL_res.o -Lc:
/PROGRA~1/R/R-24~1.1/bin 
-Lc:/PROGRA~1/MySQL/MYSQLS~1.0/lib/opt -lmysql -liberty
    -lR
   ... DLL made
   installing DLL
   installing R files
   installing inst files
FIND: Parameter format not correct
make[2]: *** [c:/TEMP/Rinst248068707/RMySQL/inst] Error 2
make[1]: *** [all] Error 2
make: *** [pkg-RMySQL] Error 2
*** Installation of RMySQL failed ***

Removing 'c:/TEMP/Rinst248068707/RMySQL'
  ERROR
* installation failed

C:\Program Files\R\R-2.4.1>

What's happening?

Thanks...

-- 
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.



More information about the R-help mailing list