[R] OOP pkg compilation failure

Uwe Ligges
Thu, 18 Nov 2004 08:47:20 -0000

Gorden Jemwa wrote:

> 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'

a) The package does not pass the checks under R-2.0.1 on Windows, so
please contact the maintainer!
b) It can be installed, I guess something is wrong with your settings or
collection of tools.
c) I have *temporarily* put a binary up to
http://www.statistik.uni-dortmund.de/~ligges/OOP_0.5-1.zip

Uwe Ligges




> ---end transcript----
>
> ______________________________________________
> 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