Here my log of the make :
/**********************************************************/
R CMD build rkward
* checking for file 'rkward/DESCRIPTION' ... OK
* preparing 'rkward':
* removing junk files
* building 'rkward_0.3.2.tar.gz'
make[4]: Leaving directory `/home/yves/rkward-0.3.2/rkward/rbackend/rpackages'
make[4]: Entering directory `/home/yves/rkward-0.3.2/rkward/rbackend'
source='rembedinternal.cpp' object='rembedinternal.o' libtool=no \
depfile='.deps/rembedinternal.Po' tmpdepfile='.deps/rembedinternal.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/qt3//include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o rembedinternal.o `test -f 'rembedinternal.cpp' || echo './'`rembedinternal.cpp
rembedinternal.cpp:26:28: R_ext/Rdynload.h: No such file or directory
rembedinternal.cpp:27:29: R_ext/eventloop.h: No such file or directory
rembedinternal.cpp:28:15: R.h: No such file or directory
rembedinternal.cpp:29:24: Rinternals.h: No such file or directory
rembedinternal.cpp: In constructor `REmbedInternal::REmbedInternal()':
rembedinternal.cpp:41: error: `NA_REAL' undeclared (first use this function)
rembedinternal.cpp:41: error: (Each undeclared identifier is reported only once for each function it appears in.)
rembedinternal.cpp: In static member function `static void REmbedInternal::processX11Events()':
rembedinternal.cpp:53: error: expected primary-expression before "extern"
rembedinternal.cpp:53: error: expected `;' before "extern"
rembedinternal.cpp:54: error: `InputHandler' undeclared (first use this function)
rembedinternal.cpp:54: error: `handler' undeclared (first use this function)
rembedinternal.cpp:54: error: `R_InputHandlers' undeclared (first use this function)
rembedinternal.cpp:56: error: `XActivity' undeclared (first use this function)
rembedinternal.cpp: At global scope:
rembedinternal.cpp:63: error: `SEXP' was not declared in this scope
rembedinternal.cpp:63: error: expected primary-expression before "int"
rembedinternal.cpp:63: error: initializer expression list treated as compound expression
rembedinternal.cpp:63: error: expected `,' or `;' before '{' token
rembedinternal.cpp:96: error: `SEXP' does not name a type
rembedinternal.cpp: In member function `bool REmbedInternal::startR(const char*, int, char**)':
rembedinternal.cpp:114: error: `DllInfo' undeclared (first use this function)
rembedinternal.cpp:114: error: `info' undeclared (first use this function)
rembedinternal.cpp:114: error: `R_getDllInfo' undeclared (first use this function)
rembedinternal.cpp:116: error: `R_CallMethodDef' undeclared (first use this function)
rembedinternal.cpp:116: error: expected `;' before "callMethods"
rembedinternal.cpp:121: error: `callMethods' undeclared (first use this function)
rembedinternal.cpp:121: error: `R_registerRoutines' undeclared (first use this function)
rembedinternal.cpp: At global scope:
rembedinternal.cpp:126: error: `SEXP' does not name a type
rembedinternal.cpp: In member function `void REmbedInternal::runCommandInternal(const char*, REmbedInternal::RKWardRError*, bool)':
rembedinternal.cpp:195: error: `runCommandInternalBase' undeclared (first use this function)
rembedinternal.cpp:197: error: `Rboolean' does not name a type
rembedinternal.cpp:198: error: `R_Visible' undeclared (first use this function)
rembedinternal.cpp:198: error: `Rboolean' undeclared (first use this function)
rembedinternal.cpp:198: error: expected `;' before numeric constant
rembedinternal.cpp:200: error: `SEXP' undeclared (first use this function)
rembedinternal.cpp:200: error: expected `;' before "exp"
rembedinternal.cpp:201: error: `PROTECT' undeclared (first use this function)
rembedinternal.cpp:203: error: `Rf_PrintValue' undeclared (first use this function)
rembedinternal.cpp:205: error: `UNPROTECT' undeclared (first use this function)
rembedinternal.cpp: In member function `char** REmbedInternal::getCommandAsStringVector(const char*, int*, REmbedInternal::RKWardRError*)':
rembedinternal.cpp:210: error: `SEXP' undeclared (first use this function)
rembedinternal.cpp:210: error: expected `;' before "exp"
rembedinternal.cpp:213: error: `runCommandInternalBase' undeclared (first use this function)
rembedinternal.cpp:213: error: `PROTECT' undeclared (first use this function)
rembedinternal.cpp:216: error: `extractStrings' cannot be used as a function
rembedinternal.cpp:219: error: `UNPROTECT' undeclared (first use this function)
rembedinternal.cpp: In member function `double* REmbedInternal::getCommandAsRealVector(const char*, int*, REmbedInternal::RKWardRError*)':
rembedinternal.cpp:229: error: `SEXP' undeclared (first use this function)
rembedinternal.cpp:229: error: expected `;' before "exp"
rembedinternal.cpp:232: error: `runCommandInternalBase' undeclared (first use this function)
rembedinternal.cpp:232: error: `PROTECT' undeclared (first use this function)
rembedinternal.cpp:235: error: expected `;' before "realexp"
rembedinternal.cpp:236: error: `realexp' undeclared (first use this function)
rembedinternal.cpp:236: error: `REALSXP' undeclared (first use this function)
rembedinternal.cpp:236: error: `coerceVector' undeclared (first use this function)
rembedinternal.cpp:237: error: `length' undeclared (first use this function)
rembedinternal.cpp:240: error: `REAL' undeclared (first use this function)
rembedinternal.cpp:241: error: `R_IsNaN' undeclared (first use this function)
rembedinternal.cpp:241: error: `R_IsNA' undeclared (first use this function)
rembedinternal.cpp:243: error: `UNPROTECT' undeclared (first use this function)
rembedinternal.cpp: In member function `int* REmbedInternal::getCommandAsIntVector(const char*, int*, REmbedInternal::RKWardRError*)':
rembedinternal.cpp:256: error: `SEXP' undeclared (first use this function)
rembedinternal.cpp:256: error: expected `;' before "exp"
rembedinternal.cpp:259: error: `runCommandInternalBase' undeclared (first use this function)
rembedinternal.cpp:259: error: `PROTECT' undeclared (first use this function)
rembedinternal.cpp:262: error: expected `;' before "intexp"
rembedinternal.cpp:263: error: `intexp' undeclared (first use this function)
rembedinternal.cpp:263: error: `INTSXP' undeclared (first use this function)
rembedinternal.cpp:263: error: `coerceVector' undeclared (first use this function)
rembedinternal.cpp:264: error: `length' undeclared (first use this function)
rembedinternal.cpp:267: error: `INTEGER' undeclared (first use this function)
rembedinternal.cpp:269: error: `UNPROTECT' undeclared (first use this function)
make[4]: *** [rembedinternal.o] Erreur 1
make[4]: Leaving directory `/home/yves/rkward-0.3.2/rkward/rbackend'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/home/yves/rkward-0.3.2/rkward/rbackend'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/yves/rkward-0.3.2/rkward'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/yves/rkward-0.3.2'
make: *** [all] Erreur 2
/**********************************************************/
Can you help me ?
I sucess to install the 0.30, but not the 0.31 !
i have installed the R package of the R-project (not the mandriva's one).
Y.
Mandriva 2005
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> rembedinternal.cpp:26:28: R_ext/Rdynload.h: No such file or directory
gcc can not find the header files for R. R likes to keep its header files in non-default locations, so you will most likely have to tell ./configure where to look. For me (debian) this is
Here my log of the make :
/**********************************************************/
R CMD build rkward
* checking for file 'rkward/DESCRIPTION' ... OK
* preparing 'rkward':
* removing junk files
* building 'rkward_0.3.2.tar.gz'
make[4]: Leaving directory `/home/yves/rkward-0.3.2/rkward/rbackend/rpackages'
make[4]: Entering directory `/home/yves/rkward-0.3.2/rkward/rbackend'
source='rembedinternal.cpp' object='rembedinternal.o' libtool=no \ depfile='.deps/rembedinternal.Po' tmpdepfile='.deps/rembedinternal.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/qt3//include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o rembedinternal.o `test -f 'rembedinternal.cpp' || echo './'`rembedinternal.cpp
rembedinternal.cpp:26:28: R_ext/Rdynload.h: No such file or directory
rembedinternal.cpp:27:29: R_ext/eventloop.h: No such file or directory
rembedinternal.cpp:28:15: R.h: No such file or directory
rembedinternal.cpp:29:24: Rinternals.h: No such file or directory
rembedinternal.cpp: In constructor `REmbedInternal::REmbedInternal()':
rembedinternal.cpp:41: error: `NA_REAL' undeclared (first use this function)
rembedinternal.cpp:41: error: (Each undeclared identifier is reported only once for each function it appears in.)
rembedinternal.cpp: In static member function `static void REmbedInternal::processX11Events()':
rembedinternal.cpp:53: error: expected primary-expression before "extern"
rembedinternal.cpp:53: error: expected `;' before "extern"
rembedinternal.cpp:54: error: `InputHandler' undeclared (first use this function)
rembedinternal.cpp:54: error: `handler' undeclared (first use this function)
rembedinternal.cpp:54: error: `R_InputHandlers' undeclared (first use this function)
rembedinternal.cpp:56: error: `XActivity' undeclared (first use this function)
rembedinternal.cpp: At global scope:
rembedinternal.cpp:63: error: `SEXP' was not declared in this scope
rembedinternal.cpp:63: error: expected primary-expression before "int"
rembedinternal.cpp:63: error: initializer expression list treated as compound expression
rembedinternal.cpp:63: error: expected `,' or `;' before '{' token
rembedinternal.cpp:96: error: `SEXP' does not name a type
rembedinternal.cpp: In member function `bool REmbedInternal::startR(const char*, int, char**)':
rembedinternal.cpp:114: error: `DllInfo' undeclared (first use this function)
rembedinternal.cpp:114: error: `info' undeclared (first use this function)
rembedinternal.cpp:114: error: `R_getDllInfo' undeclared (first use this function)
rembedinternal.cpp:116: error: `R_CallMethodDef' undeclared (first use this function)
rembedinternal.cpp:116: error: expected `;' before "callMethods"
rembedinternal.cpp:121: error: `callMethods' undeclared (first use this function)
rembedinternal.cpp:121: error: `R_registerRoutines' undeclared (first use this function)
rembedinternal.cpp: At global scope:
rembedinternal.cpp:126: error: `SEXP' does not name a type
rembedinternal.cpp: In member function `void REmbedInternal::runCommandInternal(const char*, REmbedInternal::RKWardRError*, bool)':
rembedinternal.cpp:195: error: `runCommandInternalBase' undeclared (first use this function)
rembedinternal.cpp:197: error: `Rboolean' does not name a type
rembedinternal.cpp:198: error: `R_Visible' undeclared (first use this function)
rembedinternal.cpp:198: error: `Rboolean' undeclared (first use this function)
rembedinternal.cpp:198: error: expected `;' before numeric constant
rembedinternal.cpp:200: error: `SEXP' undeclared (first use this function)
rembedinternal.cpp:200: error: expected `;' before "exp"
rembedinternal.cpp:201: error: `PROTECT' undeclared (first use this function)
rembedinternal.cpp:203: error: `Rf_PrintValue' undeclared (first use this function)
rembedinternal.cpp:205: error: `UNPROTECT' undeclared (first use this function)
rembedinternal.cpp: In member function `char** REmbedInternal::getCommandAsStringVector(const char*, int*, REmbedInternal::RKWardRError*)':
rembedinternal.cpp:210: error: `SEXP' undeclared (first use this function)
rembedinternal.cpp:210: error: expected `;' before "exp"
rembedinternal.cpp:213: error: `runCommandInternalBase' undeclared (first use this function)
rembedinternal.cpp:213: error: `PROTECT' undeclared (first use this function)
rembedinternal.cpp:216: error: `extractStrings' cannot be used as a function
rembedinternal.cpp:219: error: `UNPROTECT' undeclared (first use this function)
rembedinternal.cpp: In member function `double* REmbedInternal::getCommandAsRealVector(const char*, int*, REmbedInternal::RKWardRError*)':
rembedinternal.cpp:229: error: `SEXP' undeclared (first use this function)
rembedinternal.cpp:229: error: expected `;' before "exp"
rembedinternal.cpp:232: error: `runCommandInternalBase' undeclared (first use this function)
rembedinternal.cpp:232: error: `PROTECT' undeclared (first use this function)
rembedinternal.cpp:235: error: expected `;' before "realexp"
rembedinternal.cpp:236: error: `realexp' undeclared (first use this function)
rembedinternal.cpp:236: error: `REALSXP' undeclared (first use this function)
rembedinternal.cpp:236: error: `coerceVector' undeclared (first use this function)
rembedinternal.cpp:237: error: `length' undeclared (first use this function)
rembedinternal.cpp:240: error: `REAL' undeclared (first use this function)
rembedinternal.cpp:241: error: `R_IsNaN' undeclared (first use this function)
rembedinternal.cpp:241: error: `R_IsNA' undeclared (first use this function)
rembedinternal.cpp:243: error: `UNPROTECT' undeclared (first use this function)
rembedinternal.cpp: In member function `int* REmbedInternal::getCommandAsIntVector(const char*, int*, REmbedInternal::RKWardRError*)':
rembedinternal.cpp:256: error: `SEXP' undeclared (first use this function)
rembedinternal.cpp:256: error: expected `;' before "exp"
rembedinternal.cpp:259: error: `runCommandInternalBase' undeclared (first use this function)
rembedinternal.cpp:259: error: `PROTECT' undeclared (first use this function)
rembedinternal.cpp:262: error: expected `;' before "intexp"
rembedinternal.cpp:263: error: `intexp' undeclared (first use this function)
rembedinternal.cpp:263: error: `INTSXP' undeclared (first use this function)
rembedinternal.cpp:263: error: `coerceVector' undeclared (first use this function)
rembedinternal.cpp:264: error: `length' undeclared (first use this function)
rembedinternal.cpp:267: error: `INTEGER' undeclared (first use this function)
rembedinternal.cpp:269: error: `UNPROTECT' undeclared (first use this function)
make[4]: *** [rembedinternal.o] Erreur 1
make[4]: Leaving directory `/home/yves/rkward-0.3.2/rkward/rbackend'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/home/yves/rkward-0.3.2/rkward/rbackend'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/yves/rkward-0.3.2/rkward'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/yves/rkward-0.3.2'
make: *** [all] Erreur 2
/**********************************************************/
Can you help me ?
I sucess to install the 0.30, but not the 0.31 !
i have installed the R package of the R-project (not the mandriva's one).
Y.
Mandriva 2005
> rembedinternal.cpp:26:28: R_ext/Rdynload.h: No such file or directory
gcc can not find the header files for R. R likes to keep its header files in non-default locations, so you will most likely have to tell ./configure where to look. For me (debian) this is
./configure --with-extra-includes=/usr/lib/R/include
(Try to locate the file "R.h", and specify that directory) Please read the INSTALL file provided for some further configure-options you may need.