[RkWard-devel] RKWard 0.2.6

Doc linuxero at ya.com
Mon Aug 30 09:17:33 UTC 2004


Try using the

--with-extra-includes=/usr/lib/R/include/

and

--with-extra-libs=/usr/lib/R/bin/

switch with ./configure, I did have the same problem, and this was the 
solution for me.

I executed:

./configure --prefix=/opt/kde/ --with-extra-libs=/usr/lib/R/bin/ 
--with-extra-includes=/usr/lib/R/include/

And everything worked correctly.

Daniele Medri wrote:

>Dearest,
>
>on debian unstable I use:
>
>./configure --prefix=/usr --includedir=/lib/R/include/ && make 2> error.log
>
>and the errors are attached. 
>The directory (/usr/lib/R/include/) is where R includes are located.
>
>What's wrong?
>
>  
>
>------------------------------------------------------------------------
>
>twintable.cpp: In member function `void TwinTable::scrolled(int, int)':
>twintable.cpp:124: warning: unused parameter `int y'
>twintable.cpp: In member function `void TwinTable::autoScrolled(int, int)':
>twintable.cpp:130: warning: unused parameter `int y'
>twintable.cpp: In member function `virtual void 
>   TwinTable::pasteEncoded(QMemArray<char>)':
>twintable.cpp:360: warning: comparison between signed and unsigned integer 
>   expressions
>twintable.cpp:368: warning: comparison between signed and unsigned integer 
>   expressions
>twintable.cpp: In member function `void 
>   TwinTable::pasteEncodedFlipped(QMemArray<char>)':
>twintable.cpp:453: warning: comparison between signed and unsigned integer 
>   expressions
>twintable.cpp:462: warning: comparison between signed and unsigned integer 
>   expressions
>twintablemember.cpp:95:2: warning: no newline at end of file
>rembedinternal.cpp:21:24: Rinternals.h: No such file or directory
>rembedinternal.cpp:22:15: R.h: No such file or directory
>rembedinternal.cpp:47: error: parse error before `char'
>rembedinternal.cpp:53: error: `command' was not declared in this scope
>rembedinternal.cpp:54: error: parse error before `,' token
>rembedinternal.cpp:58: error: syntax error before `++' token
>rembedinternal.cpp:61: error: `cv' was not declared in this scope
>rembedinternal.cpp:61: error: `STRSXP' was not declared in this scope
>rembedinternal.cpp:61: error: `allocVector' was not declared in this scope
>rembedinternal.cpp:61: error: ISO C++ forbids declaration of `PROTECT' with no 
>   type
>rembedinternal.cpp:62: error: `cv' was not declared in this scope
>rembedinternal.cpp:62: error: `command' was not declared in this scope
>rembedinternal.cpp:62: error: `mkChar' was not declared in this scope
>rembedinternal.cpp:62: error: ISO C++ forbids declaration of `SET_VECTOR_ELT' 
>   with no type
>rembedinternal.cpp:62: error: initializer list being treated as compound 
>   expression
>rembedinternal.cpp:64: error: parse error before `while'
>rembedinternal.cpp:66: error: ISO C++ forbids declaration of `pr' with no type
>rembedinternal.cpp:66: error: `cv' was not declared in this scope
>rembedinternal.cpp:66: error: `maxParts' was not declared in this scope
>rembedinternal.cpp:66: error: `R_ParseVector' was not declared in this scope
>rembedinternal.cpp:68: error: parse error before `if'
>rembedinternal.cpp:72: error: syntax error before `--' token
>rembedinternal.cpp:74: error: ISO C++ forbids declaration of `UNPROTECT' with 
>   no type
>rembedinternal.cpp:76: error: parse error before `if'
>rembedinternal.cpp:79: error: ISO C++ forbids declaration of `exp' with no type
>rembedinternal.cpp:79: error: `R_NilValue' was not declared in this scope
>rembedinternal.cpp:80: error: parse error before `if'
>rembedinternal.cpp:84: error: ISO C++ forbids declaration of `r_error' with no 
>   type
>rembedinternal.cpp:84: error: redefinition of `int r_error'
>rembedinternal.cpp:50: error: `int r_error' previously defined here
>rembedinternal.cpp:85: error: ISO C++ forbids declaration of `exp' with no type
>rembedinternal.cpp:85: error: redefinition of `int exp'
>rembedinternal.cpp:79: error: `int exp' previously defined here
>rembedinternal.cpp:85: error: `pxp' was not declared in this scope
>rembedinternal.cpp:85: error: `R_GlobalEnv' was not declared in this scope
>rembedinternal.cpp:85: error: `R_tryEval' was not declared in this scope
>rembedinternal.cpp:86: error: syntax error before `++' token
>rembedinternal.cpp:93: error: ISO C++ forbids declaration of `exp' with no type
>rembedinternal.cpp:93: error: redefinition of `int exp'
>rembedinternal.cpp:85: error: `int exp' previously defined here
>rembedinternal.cpp:93: error: `R_GlobalEnv' was not declared in this scope
>rembedinternal.cpp:93: error: `R_tryEval' was not declared in this scope
>rembedinternal.cpp:94: error: parse error before `}' token
>rembedinternal.cpp:96: error: ISO C++ forbids declaration of `UNPROTECT' with 
>   no type
>rembedinternal.cpp:96: error: redefinition of `int UNPROTECT'
>rembedinternal.cpp:74: error: `int UNPROTECT' previously defined here
>rembedinternal.cpp:97: error: parse error before `}' token
>rembedinternal.cpp:99: error: ISO C++ forbids declaration of `error' with no 
>   type
>rembedinternal.cpp:99: error: cannot convert `bool' to `int*' in initialization
>rembedinternal.cpp:100: error: parse error before `return'
>rembedinternal.cpp: In member function `void 
>   REmbedInternal::runCommandInternal(const char*, bool*)':
>rembedinternal.cpp:104: error: `runCommandInternalBase' undeclared (first use 
>   this function)
>rembedinternal.cpp:104: error: (Each undeclared identifier is reported only 
>   once for each function it appears in.)
>rembedinternal.cpp: In member function `char** 
>   REmbedInternal::getCommandAsStringVector(const char*, int*, bool*)':
>rembedinternal.cpp:108: error: parse error before `;' token
>rembedinternal.cpp:111: error: `runCommandInternalBase' undeclared (first use 
>   this function)
>rembedinternal.cpp:111: error: `PROTECT' cannot be used as a function
>rembedinternal.cpp:114: error: `SEXP' undeclared (first use this function)
>rembedinternal.cpp:114: error: parse error before `;' token
>rembedinternal.cpp:115: error: `strexp' undeclared (first use this function)
>rembedinternal.cpp:115: error: `STRSXP' undeclared (first use this function)
>rembedinternal.cpp:115: error: `coerceVector' undeclared (first use this 
>   function)
>rembedinternal.cpp:115: error: `PROTECT' cannot be used as a function
>rembedinternal.cpp:116: error: `length' undeclared (first use this function)
>rembedinternal.cpp:119: error: parse error before `=' token
>rembedinternal.cpp:121: error: `dummy' undeclared (first use this function)
>rembedinternal.cpp:121: error: `TYPEOF' undeclared (first use this function)
>rembedinternal.cpp:121: error: `CHARSXP' undeclared (first use this function)
>rembedinternal.cpp:124: error: `STRING_PTR' undeclared (first use this 
>   function)
>rembedinternal.cpp:127: error: `UNPROTECT' cannot be used as a function
>rembedinternal.cpp:130: error: `UNPROTECT' cannot be used as a function
>rembedinternal.cpp: In member function `double* 
>   REmbedInternal::getCommandAsRealVector(const char*, int*, bool*)':
>rembedinternal.cpp:140: error: parse error before `;' token
>rembedinternal.cpp:143: error: `runCommandInternalBase' undeclared (first use 
>   this function)
>rembedinternal.cpp:143: error: `PROTECT' cannot be used as a function
>rembedinternal.cpp:146: error: `SEXP' undeclared (first use this function)
>rembedinternal.cpp:146: error: parse error before `;' token
>rembedinternal.cpp:147: error: `realexp' undeclared (first use this function)
>rembedinternal.cpp:147: error: `REALSXP' undeclared (first use this function)
>rembedinternal.cpp:147: error: `coerceVector' undeclared (first use this 
>   function)
>rembedinternal.cpp:147: error: `PROTECT' cannot be used as a function
>rembedinternal.cpp:148: error: `length' undeclared (first use this function)
>rembedinternal.cpp:151: error: `REAL' undeclared (first use this function)
>rembedinternal.cpp:153: error: `UNPROTECT' cannot be used as a function
>rembedinternal.cpp:156: error: `UNPROTECT' cannot be used as a function
>rembedinternal.cpp: In member function `int* 
>   REmbedInternal::getCommandAsIntVector(const char*, int*, bool*)':
>rembedinternal.cpp:166: error: parse error before `;' token
>rembedinternal.cpp:169: error: `runCommandInternalBase' undeclared (first use 
>   this function)
>rembedinternal.cpp:169: error: `PROTECT' cannot be used as a function
>rembedinternal.cpp:172: error: `SEXP' undeclared (first use this function)
>rembedinternal.cpp:172: error: parse error before `;' token
>rembedinternal.cpp:173: error: `intexp' undeclared (first use this function)
>rembedinternal.cpp:173: error: `INTSXP' undeclared (first use this function)
>rembedinternal.cpp:173: error: `coerceVector' undeclared (first use this 
>   function)
>rembedinternal.cpp:173: error: `PROTECT' cannot be used as a function
>rembedinternal.cpp:174: error: `length' undeclared (first use this function)
>rembedinternal.cpp:177: error: `INTEGER' undeclared (first use this function)
>rembedinternal.cpp:179: error: `UNPROTECT' cannot be used as a function
>rembedinternal.cpp:182: error: `UNPROTECT' cannot be used as a function
>rembedinternal.cpp: At global scope:
>rembedinternal.cpp:191: error: parse error before `}' token
>make[4]: *** [rembedinternal.o] Error 1
>make[3]: *** [all-recursive] Error 1
>make[2]: *** [all-recursive] Error 1
>make[1]: *** [all-recursive] Error 1
>make: *** [all] Error 2
>  
>





More information about the Rkward-devel mailing list