[R] OOP pkg compilation failure

Gorden Jemwa jemwa at sun.ac.za
Thu Nov 18 00:39:33 CET 2004


Hi all,

I'm trying to install the OOP package (http://www.omegahat.org/OOP) but 
having difficulty in resolving the errors generated during compilation. 
Googling doesn't seem to be giving much help.

Can anyone please help. Below is the transcript of what I get from my 
command prompt. (I'm running on rw_2.0.0 WIN XP SP2 platform).

Thanks in advance

---transcript----


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\...\>R CMD INSTALL OOP.tar.gz


---------- Making package OOP ------------
   adding build stamp to DESCRIPTION
   making DLL ...
making treeApply.d from treeApply.c
gcc   -Ic:/R/rw2000/include -Wall -O2   -c treeApply.c -o treeApply.o
ar cr OOP.a treeApply.o
ranlib OOP.a
windres --include-dir c:/R/rw2000/include  -i OOP_res.rc -o OOP_res.o
gcc  --shared -s  -o OOP.dll OOP.def OOP.a OOP_res.o 
-Lc:/R/rw2000/src/gnuwin32  -lg2c -lR
   ... DLL made
   installing DLL
   installing R files
   save image
[1] TRUE
Initializing OOP objects in database 1
execution of package source for 'OOP' failed
make[2]: *** [c:/R/rw2000/library/OOP/R/OOP] Error 1
make[1]: *** [all] Error 2
make: *** [pkg-OOP] Error 2*** Installation of OOP failed ***

Removing 'c:/R/rw2000/library/OOP'

---end transcript----




More information about the R-help mailing list