You need to manally configure this, *as it says*.

In fact ROracle/inst/README.windows says

   For details on how to compile ROracle under windows see the file
   src/Makefile.win -- it pretty much documents requirements, etc.

   To run the Windows binary packge ROracle_<version>.zip
   you'll need the client software from Oracle.  You must have the
   $ORACLE_HOME/bin in your path in order for R to find the Oracle's
   runtime libraries.

The path you mention is one of the things ROracle/src/Makefile.win asked 
you to define!

cl is part of Visual C++ (or the Platform SDK).



On Tue, 18 Mar 2008, rmail ye wrote:

> Hi there,
>
> I tried to install ROracle package (Windows XP pro), got the following
> errors;
>
> *C:\Program Files\R\R-2.6.2\bin>rcmd install "c:\ROracle_0.5-9.tar.gz"*
> *
> installing to 'c:/PROGRA~1/R/R-26~1.2/library'*
>
> *---------- Making package roracle ------------*
> *   **********************************************
>   WARNING: this package has a configure script
>         It probably needs manual configuration
>   ***********************************************
> *  adding build stamp to DESCRIPTION
>  running src/Makefile.win ...
> cl /Ic:\\PROGRA~1\\R\\R-2.2.1\\include          /MT /Ox /D "MSVC" /D "WIN32"
> /c
> RS-DBI.c
> cl: not found
> make[3]: *** [RS-DBI.obj] Error 127
> make[2]: *** [srcDynlib] Error 2
> make[1]: *** [all] Error 2
> make: *** [pkg-roracle] Error 2
> *** Installation of roracle failed ****
> *Removing 'c:/PROGRA~1/R/R-26~1.2/library/roracle'
> Restoring previous 'c:/PROGRA~1/R/R-26~1.2/library/roracle'*
>
> I tried "R CMD INSTALL DBI_0.2-4.tar.gz" and also failed. DBI had been
> installed by "install.packages("DBI")" and it was removed after the mannul
> installation.
>
> I noticed that in the error, the path is R-2.2.1, which is different
> from the default path (R-2.6.2).
>
> Thanks in advance.
>
> Sean
>
> <r-help@r-project.org>
>
>       [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org 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.
>

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org 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.

Reply via email to