[R] ROracle installation problem with R2.2

2006-02-08 Thread Mathieu Drapeau
Hi,
I just installed R version 2.2.1, I installed DBI package and worked 
fine and then I installed ROracle but I got this error:

[EMAIL PROTECTED] bin]$ 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
sed: file conftest.s1 line 29: Unterminated `s' command
creating src/Makefile
sed: file conftest.s1 line 29: Unterminated `s' command
** libs
make: *** No targets.  Stop.
ERROR: compilation failed for package 'ROracle'
** Removing '/home/drapeau/download/R-2.2.1/library/ROracle'


Any idea what could cause this problem?
I used to install the same ROracle version with R version 1.9 and it worked.

Thanks,
Mathieu

__
R-help@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


[R] ROracle installation problem

2005-08-23 Thread Mathieu Drapeau, Mr.
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@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


Re: [R] ROracle installation problem

2005-08-23 Thread Prof Brian Ripley
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@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,  [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, UKFax:  +44 1865 272595

__
R-help@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