[R] How to build the RMySQL package on Windows?
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Sun Oct 22 18:06:53 CEST 2000
On Sun, 22 Oct 2000, Witold Eryk Wolski wrote:
> I tried to build the RMySQL package by myself on an NT machine. I have a
> NT machine with cygwin compiler and activestate Perl installed on it.
> Perl details:
> D:\prog\rw1011\src\gnuwin32>perl -v
> This is perl, version 5.005_03 built for MSWin32-x86-object
> (with 1 registered patch, see perl -V for more detail)
> Copyright 1987-1999, Larry Wall
> Binary build 522 provided by ActiveState Tool Corp.
> Built 09:52:28 Nov 2 1999
> I followod the steps described in RHOME/readme.packages. and perished
> D:\prog\rw1011\src\gnuwin32>make pkg-RMySQL
> make DLLNM= EXTRADOCS= \
> -C D:/prog/rw1011/src/library/RMySQL PKG=RMySQL
> RHOME=D:/prog/rw1011 RLIB=D:/prog/rw1011/library \
> -f D:/prog/rw1011/src/gnuwin32/MakePkg
> ""---------- Making package RMySQL ------------""
> mkdir -p D:/prog/rw1011/library/RMySQL
> The syntax of the command is incorrect.
> make: *** [D:/prog/rw1011/library/RMySQL/zzzz] Error 1
> make: *** [pkg-RMySQL] Error 2
> Some hints? Some tips? A precompiled package?
I am pretty sure you don't have the tools described in
RHOME/readme.packages in your PATH correctly. You can probably use the
cygwin ones, but only if somehow you managed to collect a set on one of the
days when they all work. You appear to be getting the NT mkdir. Try mkdir
--help to find out.
I believe that to build RMySQL (which is from Devel) you will have to do
quite a bit of work, for it is configure-based and does not seem (as
`Writing R Extensions' requests) to describe how to configure it manually.
Also its README says
For installation see "README.install"
and there is no such file. At the very least you will need a
src/Makevars with PKG_CPPFLAGS and PKG_LIBS set correctly.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
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