[R] ROracle installation problem

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Aug 23 17:01:09 CEST 2005


Notice

   Loading required package: DBI
   There is no package called 'DBI' in: library(package, ....

So please note the DESCRIPTION and install the dependency DBI.


On Tue, 23 Aug 2005, Mathieu Drapeau, Mr. wrote:

> Hi there,
> I am trying to install ROracle but I get this error. I have an error in reconcilePropertiesAndPrototype.
> (My LD_LIBRARY_PATH is set with the oracle lib)
>
> Thanks,
> Mathieu
>
>
> # R CMD INSTALL --configure-args='--enable-extralibs' ../ROracle_0.5-5.tar.gz
> * Installing *source* package 'ROracle' ...
> creating cache ./config.cache
> checking how to run the C preprocessor... cc -E
> updating cache ./config.cache
> creating ./config.status
> creating src/Makevars
> creating src/Makefile
> ** libs
> R CMD COMPILE RS-DBI.c
> make[1]: Entering directory `/tmp/R.INSTALL.10940/ROracle/src'
> gcc -I/usr/lib/R/include  -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c RS-DBI.c -o RS-DBI.o
> make[1]: Leaving directory `/tmp/R.INSTALL.10940/ROracle/src'
> proc               CODE=ANSI_C             MODE=ORACLE INCLUDE=/usr/lib/R/include \
>                PARSE=NONE LINES=false             RS-Oracle.pc
> Pro*C/C++: Release 9.2.0.1.0 - Production on Tue Aug 23 10:43:25 2005
> Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
> System default option values taken from: /opt/oracle/product/9.2.0/precomp/admin/pcscfg.cfg
> R CMD COMPILE RS-Oracle.c
> make[1]: Entering directory `/tmp/R.INSTALL.10940/ROracle/src'
> gcc -I/usr/lib/R/include  -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp  -fPIC  -O2 -g -pipe -march=i386 -mcpu=i686 -c RS-Oracle.c -o RS-Oracle.o
> make[1]: Leaving directory `/tmp/R.INSTALL.10940/ROracle/src'
> R CMD SHLIB -o ROracle.so RS-DBI.o RS-Oracle.o
> make[1]: Entering directory `/tmp/R.INSTALL.10940/ROracle/src'
> gcc -shared -L/usr/local/lib -o ROracle.so RS-DBI.o RS-Oracle.o -L/opt/oracle/product/9.2.0/lib -L/opt/oracle/product/9.2.0/network/lib -lclntst9 -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -ldl -lm -lpthread -lnsl -ldl -lm -lsqlplus
> make[1]: Leaving directory `/tmp/R.INSTALL.10940/ROracle/src'
> ** R
> ** inst
> ** save image
> [1] TRUE
> Loading required package: DBI
> [1] FALSE
> Warning message:
> There is no package called 'DBI' in: library(package, character.only = TRUE, logical = TRUE, warn.conflicts = warn.conflicts,
> [1] "dbObjectId"
> Creating a new generic function for "format" in "ROracle"
> [1] "format"
> [1] "show"
> Creating a new generic function for "print" in "ROracle"
> [1] "print"
> Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses,  :
>        Class "DBIPreparedStatement" extends an undefined class ("DBIObject"
> Execution halted
> /usr/lib/R/bin/INSTALL: line 1: 11177 Broken pipe             cat "/usr/lib/R/library/ROracle/R/ROracle"
> ERROR: execution of package source for 'ROracle' failed
> ** Removing '/usr/lib/R/library/ROracle'
>
> ______________________________________________
> 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
>

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list