[rkward-users] make fails for R-2.9.0 and 0.4.9a with KDE3

Johannes Ranke jranke at uni-bremen.de
Sat Apr 25 12:44:55 UTC 2009


Hello Richard,

in the past I have used another approach for building rkward 0.4.9a
against newer versions of R that lack Rdevices.h:

    sed -i '/^#include "Rdevices.h"/d' rkward/rbackend/rembedinternal.cpp

i.e. I just removed the inclusion of Rdevices.h, with no known (to me) side effects.

Johannes


* Richard Bair <bairs5 at charter.net> [090424 06:00]:
> Hello and thanks for reading.
> 
> I have successfully compiled and installed R-2.9.0 on Slackware current using 
> the --enable-R-shlib configure option .  I run KDE3 so I am trying to install 
> rkward-0.4.9a.
> 
> I'm configuring rkward with...
>    /configure --with-extra-libs=/usr/local/lib/R/lib --with-extra-includes=/data/download/src/R-2.9.0/src/include/ 
> 
> ...and the configuration appears successful.  The above seems necessary to 
> locate Rdevices.h and point to the libR.so file.
> 
> The make error I receive follows:
> 
> make[4]: Leaving directory 
> `/data/download/src/rkward-0.4.9a/rkward/rbackend/rpackages'
> make[4]: Entering directory `/data/download/src/rkward-0.4.9a/rkward/rbackend'
> if 
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/qt/include -I.  -I/data/download/src/R-2.9.0/src/include/ -I/usr/local/lib/R/include -DQT_THREAD_SUPPORT  -D_REENTRANT -DQT_NO_ASCII_CAST  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT 
> rembedinternal.o -MD -MP -MF ".deps/rembedinternal.Tpo" -c -o 
> rembedinternal.o rembedinternal.cpp; \
>         then mv -f ".deps/rembedinternal.Tpo" ".deps/rembedinternal.Po"; else 
> rm -f ".deps/rembedinternal.Tpo"; exit 1; fi
> In file included from /data/download/src/R-2.9.0/src/include/Rdevices.h:36,
>                  from rembedinternal.cpp:90:
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:124: error: variable or 
> field 'Rf_GRestore' declared void
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:124: error: 'pGEDevDesc' 
> was not declared in this scope
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:126: error: variable or 
> field 'Rf_GSavePars' declared void
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:126: error: 'pGEDevDesc' 
> was not declared in this scope
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:128: error: variable or 
> field 'Rf_GRestorePars' declared void
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:128: error: 'pGEDevDesc' 
> was not declared in this scope
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:140: error: variable or 
> field 'Rf_GCheckState' declared void
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:140: error: 'pGEDevDesc' 
> was not declared in this scope
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:143: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:163: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:166: error: variable or 
> field 'Rf_GClip' declared void
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:166: error: 'pGEDevDesc' 
> was not declared in this scope
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:169: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:171: error: variable or 
> field 'Rf_GForceClip' declared void
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:171: error: 'pGEDevDesc' 
> was not declared in this scope
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:173: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:175: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:178: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:181: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:183: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:185: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:187: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:189: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:191: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:195: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:198: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:199: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:213: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:216: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:222: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:224: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:227: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:228: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:243: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:244: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:245: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:247: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:248: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:255: error: variable or 
> field 'Rf_GReset' declared void
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:255: error: 'pGEDevDesc' 
> was not declared in this scope
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:258: error: variable or 
> field 'Rf_GMapWin2Fig' declared void
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:258: error: 'pGEDevDesc' 
> was not declared in this scope
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:261: error: 'pGEDevDesc' 
> does not name a type
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:263: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:265: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:267: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:270: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:271: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:272: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:273: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:274: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:275: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:276: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:277: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:278: error: 'pGEDevDesc' 
> has not been declared
> /data/download/src/R-2.9.0/src/include/Rgraphics.h:279: error: 'pGEDevDesc' 
> has not been declared
> make[4]: *** [rembedinternal.o] Error 1
> make[4]: Leaving directory `/data/download/src/rkward-0.4.9a/rkward/rbackend'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/data/download/src/rkward-0.4.9a/rkward/rbackend'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/data/download/src/rkward-0.4.9a/rkward'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/data/download/src/rkward-0.4.9a'
> make: *** [all] Error 2
> 
> Any ideas would be much appreciated.
> 
> Thanks,
> Rich
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> RKWard-users mailing list
> RKWard-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rkward-users

-- 
Dr. Johannes Ranke                 jranke at uni-bremen.de




More information about the Rkward-users mailing list