[R] Problems compiling RMySQL
Duncan Murdoch
murdoch at stats.uwo.ca
Sun Jun 3 12:28:52 CEST 2007
On 02/06/2007 11:33 PM, David James wrote:
> Hi,
>
> The error is coming from the FIND command (and in upper case, hmm).
> I'd suggest making sure you are using the right find.
Yes, that's a sign that the PATH is not set the way the R tools need it.
See the "Windows toolset" section of the Installation and
Administration manual.
Duncan Murdoch
>
> HTH
>
> --
> David
>
> On 6/2/07, Paulino Perez Rodriguez <perpdgo at colpos.mx> wrote:
>> 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.
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list