[rkward-tracker] [ rkward-Support Requests-1365558 ] Unable to build on Gentoo.

SourceForge.net noreply at sourceforge.net
Fri Apr 22 08:20:10 UTC 2011


Support Requests item #1365558, was opened at 2005-11-24 14:31
Message generated for change (Settings changed) made by tfry
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459008&aid=1365558&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Priority: 5
Private: No
Submitted By: Fredrik Karlsson (dargosch)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unable to build on Gentoo.

Initial Comment:
make[4]: Entering directory
`/home/fredrik/nobackup/rkward-0.3.4/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/kde/3.3/include -I/usr/qt/3/include -I.  
-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:27:28: R_ext/Rdynload.h: Filen eller
katalogen finns inte
rembedinternal.cpp:28:29: R_ext/eventloop.h: Filen
eller katalogen finns inte
rembedinternal.cpp:29:15: R.h: Filen eller katalogen
finns inte
rembedinternal.cpp:30:24: Rinternals.h: Filen eller
katalogen finns inte
rembedinternal.cpp:31:24: Rinterface.h: Filen eller
katalogen finns inte
rembedinternal.cpp:32:22: Rdevices.h: Filen eller
katalogen finns inte
rembedinternal.cpp:33:25: R_ext/Parse.h: Filen eller
katalogen finns inte
rembedinternal.cpp:46: error: syntaxfel before `(' token
rembedinternal.cpp:50: error: syntaxfel before `;' token
rembedinternal.cpp:115: error: `SA_TYPE' was not
declared in this scope
rembedinternal.cpp:115: error: parsningsfel before `,'
token
rembedinternal.cpp: In function `void RCleanUp(...)':
rembedinternal.cpp:116: error: `saveact' undeclared
(first use this function)
rembedinternal.cpp:116: error: (Each undeclared
identifier is reported only
   once for each function it appears in.)
rembedinternal.cpp:116: error: `SA_SUICIDE' undeclared
(first use this
   function)
rembedinternal.cpp:119: error: `status' undeclared
(first use this function)
rembedinternal.cpp:120: error: `RunLast' undeclared
(first use this function)
rembedinternal.cpp:123: error: `SA_DEFAULT' undeclared
(first use this
   function)
rembedinternal.cpp:123: error: `SA_SAVE' undeclared
(first use this function)
rembedinternal.cpp:125: error: `R_dot_Last' undeclared
(first use this
   function)
rembedinternal.cpp:126: error: `R_DirtyImage'
undeclared (first use this
   function)
rembedinternal.cpp:126: error: `R_SaveGlobalEnv'
undeclared (first use this
   function)
rembedinternal.cpp: At global scope:
rembedinternal.cpp:138: error: type specifier omitted
for parameter `Rboolean'
rembedinternal.cpp:138: error: parsningsfel before `,'
token
rembedinternal.cpp: In function `int RShowFiles(...)':
rembedinternal.cpp:141: error: `nfile' undeclared
(first use this function)
rembedinternal.cpp:142: error: `file' undeclared (first
use this function)
rembedinternal.cpp:143: error: `headers' undeclared
(first use this function)
rembedinternal.cpp:144: error: `wtitle' undeclared
(first use this function)
rembedinternal.cpp:145: error: `pager' undeclared
(first use this function)
rembedinternal.cpp:146: error: `del' undeclared (first
use this function)
rembedinternal.cpp: In function `int REditFile(char*)':
rembedinternal.cpp:182: varning: deprecated conversion
from string constant to
   `char*'
rembedinternal.cpp:183: varning: deprecated conversion
from string constant to
   `char*'
rembedinternal.cpp: In constructor
`REmbedInternal::REmbedInternal()':
rembedinternal.cpp:194: error: `NA_REAL' undeclared
(first use this function)
rembedinternal.cpp: In member function `void
REmbedInternal::connectCallbacks()
   ':
rembedinternal.cpp:206: error: `R_Outputfile'
undeclared (first use this
   function)
rembedinternal.cpp:207: error: `R_Consolefile'
undeclared (first use this
   function)
rembedinternal.cpp:208: error: `ptr_R_Suicide'
undeclared (first use this
   function)
rembedinternal.cpp:209: error: `ptr_R_ShowMessage'
undeclared (first use this
   function)
rembedinternal.cpp:210: error: `ptr_R_ReadConsole'
undeclared (first use this
   function)
rembedinternal.cpp:211: error: `ptr_R_WriteConsole'
undeclared (first use this
   function)
rembedinternal.cpp:212: error: `ptr_R_ResetConsole'
undeclared (first use this
   function)
rembedinternal.cpp:213: error: `ptr_R_FlushConsole'
undeclared (first use this
   function)
rembedinternal.cpp:214: error: `ptr_R_ClearerrConsole'
undeclared (first use
   this function)
rembedinternal.cpp:216: error: `ptr_R_CleanUp'
undeclared (first use this
   function)
rembedinternal.cpp:217: error: `ptr_R_ShowFiles'
undeclared (first use this
   function)
rembedinternal.cpp:218: error: `ptr_R_ChooseFile'
undeclared (first use this
   function)
rembedinternal.cpp:219: error: `ptr_R_EditFile'
undeclared (first use this
   function)
rembedinternal.cpp: In member function `void
REmbedInternal::shutdown(bool)':
rembedinternal.cpp:239: error: `R_RunExitFinalizers'
undeclared (first use this
   function)
rembedinternal.cpp:243: error: `snprintf' undeclared
(first use this function)
rembedinternal.cpp:244: error: `R_system' undeclared
(first use this function)
rembedinternal.cpp:248: error: `KillAllDevices'
undeclared (first use this
   function)
rembedinternal.cpp:249: error: `FALSE' undeclared
(first use this function)
rembedinternal.cpp:249: error: `fpu_setup' undeclared
(first use this function)
rembedinternal.cpp: In static member function `static void
   REmbedInternal::processX11Events()':
rembedinternal.cpp:257: error: ISO C++ forbids
declaration of `InputHandler'
   with no type
rembedinternal.cpp:257: error: parsningsfel before `*'
token
rembedinternal.cpp:258: error: `handler' undeclared
(first use this function)
rembedinternal.cpp:258: error: `R_InputHandlers'
undeclared (first use this
   function)
rembedinternal.cpp:260: error: `XActivity' undeclared
(first use this function)
rembedinternal.cpp:267: error: `R_PolledEvents'
undeclared (first use this
   function)
rembedinternal.cpp:273: error: `R_timeout_handler'
undeclared (first use this
   function)
rembedinternal.cpp: At global scope:
rembedinternal.cpp:278: error: `SEXP' was not declared
in this scope
rembedinternal.cpp:278: error: parsningsfel before `,'
token
rembedinternal.cpp: In function `char**
extractStrings(...)':
rembedinternal.cpp:281: error: `SEXP' undeclared (first
use this function)
rembedinternal.cpp:281: error: parsningsfel before `;'
token
rembedinternal.cpp:282: error: `strexp' undeclared
(first use this function)
rembedinternal.cpp:282: error: `from_exp' undeclared
(first use this function)
rembedinternal.cpp:282: error: `STRSXP' undeclared
(first use this function)
rembedinternal.cpp:282: error: `coerceVector'
undeclared (first use this
   function)
rembedinternal.cpp:282: error: `PROTECT' undeclared
(first use this function)
rembedinternal.cpp:283: error: `count' undeclared
(first use this function)
rembedinternal.cpp:283: error: `length' undeclared
(first use this function)
rembedinternal.cpp:286: error: parsningsfel before `='
token
rembedinternal.cpp:288: error: `dummy' undeclared
(first use this function)
rembedinternal.cpp:288: error: `TYPEOF' undeclared
(first use this function)
rembedinternal.cpp:288: error: `CHARSXP' undeclared
(first use this function)
rembedinternal.cpp:291: error: `NA_STRING' undeclared
(first use this function)
rembedinternal.cpp:294: error: `STRING_PTR' undeclared
(first use this
   function)
rembedinternal.cpp:298: error: `UNPROTECT' undeclared
(first use this function)
rembedinternal.cpp: At global scope:
rembedinternal.cpp:310: error: `SEXP' was not declared
in this scope
rembedinternal.cpp:310: error: parsningsfel before `)'
token
rembedinternal.cpp:314: error: `call' was not declared
in this scope
rembedinternal.cpp:315: error: syntaxfel before `->' token
rembedinternal.cpp:316: error: ISO C++ forbids
declaration of `deleteStrings'
   with no type
rembedinternal.cpp:316: error: `int
REmbedInternal::deleteStrings' is not a
   static member of `class REmbedInternal'
rembedinternal.cpp:316: error: initializer list being
treated as compound
   expression
rembedinternal.cpp:317: error: parsningsfel before `}'
token
rembedinternal.cpp:329: error: `SEXP' was not declared
in this scope
rembedinternal.cpp:329: error: parsningsfel before `)'
token
rembedinternal.cpp:331: error:
`char**REmbedInternal::strings' is not a static
   member of `class REmbedInternal'
rembedinternal.cpp:331: error: `call' was not declared
in this scope
rembedinternal.cpp:332: error: syntaxfel before `->' token
rembedinternal.cpp:333: error: ISO C++ forbids
declaration of `deleteStrings'
   with no type
rembedinternal.cpp:333: error: `int
REmbedInternal::deleteStrings' is not a
   static member of `class REmbedInternal'
rembedinternal.cpp:333: error: initializer list being
treated as compound
   expression
rembedinternal.cpp:334: error: parsningsfel before `return'
rembedinternal.cpp: In member function `bool
REmbedInternal::startR(const
   char*, int, char**)':
rembedinternal.cpp:345: error: `DllInfo' undeclared
(first use this function)
rembedinternal.cpp:345: error: `info' undeclared (first
use this function)
rembedinternal.cpp:345: error: `R_getDllInfo'
undeclared (first use this
   function)
rembedinternal.cpp:347: error: `R_CallMethodDef'
undeclared (first use this
   function)
rembedinternal.cpp:347: error: parsningsfel before `['
token
rembedinternal.cpp: At global scope:
rembedinternal.cpp:353: error: `callMethods' was not
declared in this scope
rembedinternal.cpp:353: error: ISO C++ forbids
declaration of `
   R_registerRoutines' with no type
rembedinternal.cpp:353: error: `int
REmbedInternal::R_registerRoutines' is not
   a static member of `class REmbedInternal'
rembedinternal.cpp:353: error: initializer list being
treated as compound
   expression
rembedinternal.cpp:355: error: parsningsfel before `return'
rembedinternal.cpp:358: error: parsningsfel before `char'
rembedinternal.cpp:361: error: `int
REmbedInternal::r_error' is not a static
   member of `class REmbedInternal'
rembedinternal.cpp:362: error: parsningsfel before `='
token
rembedinternal.cpp:363: error: `const
char*REmbedInternal::c' is not a static
   member of `class REmbedInternal'
rembedinternal.cpp:363: error: `command' was not
declared in this scope
rembedinternal.cpp:364: error: parsningsfel before `,'
token
rembedinternal.cpp:368: error: syntaxfel before `++' token
rembedinternal.cpp:371: error: `cv' was not declared in
this scope
rembedinternal.cpp:371: error: `allocVector' was not
declared in this scope
rembedinternal.cpp:371: error: ISO C++ forbids
declaration of `PROTECT' with no
   type
rembedinternal.cpp:371: error: `int
REmbedInternal::PROTECT' is not a static
   member of `class REmbedInternal'
rembedinternal.cpp:372: error: `cv' was not declared in
this scope
rembedinternal.cpp:372: error: `command' was not
declared in this scope
rembedinternal.cpp:372: error: `mkChar' was not
declared in this scope
rembedinternal.cpp:372: error: ISO C++ forbids
declaration of `SET_VECTOR_ELT'
   with no type
rembedinternal.cpp:372: error: `int
REmbedInternal::SET_VECTOR_ELT' is not a
   static member of `class REmbedInternal'
rembedinternal.cpp:372: error: initializer list being
treated as compound
   expression
rembedinternal.cpp:375: error: parsningsfel before `while'
rembedinternal.cpp:381: error: syntaxfel before `--' token
rembedinternal.cpp:383: error: ISO C++ forbids
declaration of `UNPROTECT' with
   no type
rembedinternal.cpp:383: error: `int
REmbedInternal::UNPROTECT' is not a static
   member of `class REmbedInternal'
rembedinternal.cpp:385: error: parsningsfel before `if'
rembedinternal.cpp:395: error: ISO C++ forbids
declaration of `exp' with no
   type
rembedinternal.cpp:395: error: `int
REmbedInternal::exp' is not a static member
   of `class REmbedInternal'
rembedinternal.cpp:395: error: `R_NilValue' was not
declared in this scope
rembedinternal.cpp:397: error: parsningsfel before `}'
token
rembedinternal.cpp:399: error: ISO C++ forbids
declaration of `exp' with no
   type
rembedinternal.cpp:399: error: `int
REmbedInternal::exp' is not a static member
   of `class REmbedInternal'
rembedinternal.cpp:399: error: `R_NilValue' was not
declared in this scope
rembedinternal.cpp:401: error: parsningsfel before `if'
rembedinternal.cpp:405: error: ISO C++ forbids
declaration of `exp' with no
   type
rembedinternal.cpp:405: error: `int
REmbedInternal::exp' is not a static member
   of `class REmbedInternal'
rembedinternal.cpp:405: error: `pxp' was not declared
in this scope
rembedinternal.cpp:405: error: `R_GlobalEnv' was not
declared in this scope
rembedinternal.cpp:405: error: `r_error' was not
declared in this scope
rembedinternal.cpp:405: error: `R_tryEval' was not
declared in this scope
rembedinternal.cpp:406: error: syntaxfel before `++' token
rembedinternal.cpp:424: error: ISO C++ forbids
declaration of `Rprintf' with no
   type
rembedinternal.cpp:424: error: `int
REmbedInternal::Rprintf' is not a static
   member of `class REmbedInternal'
rembedinternal.cpp:424: error: invalid conversion from
`const char*' to `int'
rembedinternal.cpp:426: error: parsningsfel before `if'
rembedinternal.cpp:431: error: ISO C++ forbids
declaration of `UNPROTECT' with
   no type
rembedinternal.cpp:431: error: `int
REmbedInternal::UNPROTECT' is not a static
   member of `class REmbedInternal'
rembedinternal.cpp:433: error: parsningsfel before `return'
rembedinternal.cpp:440: error: parsningsfel before `,'
token
rembedinternal.cpp: In function `void tryPrintValue(...)':
rembedinternal.cpp:441: error: `int
REmbedInternal::ierror' is not a static
   member of `class REmbedInternal'
rembedinternal.cpp:442: error: `SEXP' undeclared (first
use this function)
rembedinternal.cpp:442: error: parsningsfel before `,'
token
rembedinternal.cpp:445: error: `tryprint' undeclared
(first use this function)
rembedinternal.cpp:445: error: `Rf_install' undeclared
(first use this
   function)
rembedinternal.cpp:445: error: `R_GlobalEnv' undeclared
(first use this
   function)
rembedinternal.cpp:445: error: `Rf_findFun' undeclared
(first use this
   function)
rembedinternal.cpp:446: error: `PROTECT' undeclared
(first use this function)
rembedinternal.cpp:447: error: `e' undeclared (first
use this function)
rembedinternal.cpp:447: error: `LANGSXP' undeclared
(first use this function)
rembedinternal.cpp:447: error: `allocVector' undeclared
(first use this
   function)
rembedinternal.cpp:449: error: `SETCAR' undeclared
(first use this function)
rembedinternal.cpp:450: error: `CDR' undeclared (first
use this function)
rembedinternal.cpp:451: error: `ierror' undeclared
(first use this function)
rembedinternal.cpp:451: error: `R_tryEval' undeclared
(first use this function)
rembedinternal.cpp:452: error: `UNPROTECT' undeclared
(first use this function)
rembedinternal.cpp:455: error: `error' undeclared
(first use this function)
rembedinternal.cpp: In member function `void
   REmbedInternal::runCommandInternal(const char*,
   REmbedInternal::RKWardRError*, bool)':
rembedinternal.cpp:463: error: `runCommandInternalBase'
undeclared (first use
   this function)
rembedinternal.cpp:465: error: `R_Visible' undeclared
(first use this function)
rembedinternal.cpp:465: error: `Rboolean' undeclared
(first use this function)
rembedinternal.cpp:465: error: parsningsfel before
numeric constant
rembedinternal.cpp:468: error: `PROTECT' undeclared
(first use this function)
rembedinternal.cpp:477: error: `UNPROTECT' undeclared
(first use this function)
rembedinternal.cpp:480: error: `Rprintf' undeclared
(first use this function)
rembedinternal.cpp: In member function `char**
   REmbedInternal::getCommandAsStringVector(const
char*, int*,
   REmbedInternal::RKWardRError*)':
rembedinternal.cpp:489: error: parsningsfel before `;'
token
rembedinternal.cpp:492: error: `runCommandInternalBase'
undeclared (first use
   this function)
rembedinternal.cpp:492: error: `PROTECT' undeclared
(first use this function)
rembedinternal.cpp:498: error: `UNPROTECT' undeclared
(first use this function)
rembedinternal.cpp: In member function `double*
   REmbedInternal::getCommandAsRealVector(const char*,
int*,
   REmbedInternal::RKWardRError*)':
rembedinternal.cpp:508: error: parsningsfel before `;'
token
rembedinternal.cpp:511: error: `runCommandInternalBase'
undeclared (first use
   this function)
rembedinternal.cpp:511: error: `PROTECT' undeclared
(first use this function)
rembedinternal.cpp:514: error: `SEXP' undeclared (first
use this function)
rembedinternal.cpp:514: error: parsningsfel before `;'
token
rembedinternal.cpp:515: error: `realexp' undeclared
(first use this function)
rembedinternal.cpp:515: error: `REALSXP' undeclared
(first use this function)
rembedinternal.cpp:515: error: `coerceVector'
undeclared (first use this
   function)
rembedinternal.cpp:516: error: `length' undeclared
(first use this function)
rembedinternal.cpp:519: error: `REAL' undeclared (first
use this function)
rembedinternal.cpp:520: error: `R_IsNaN' undeclared
(first use this function)
rembedinternal.cpp:520: error: `R_IsNA' undeclared
(first use this function)
rembedinternal.cpp:522: error: `UNPROTECT' undeclared
(first use this function)
rembedinternal.cpp: In member function `int*
   REmbedInternal::getCommandAsIntVector(const char*, int*,
   REmbedInternal::RKWardRError*)':
rembedinternal.cpp:535: error: parsningsfel before `;'
token
rembedinternal.cpp:538: error: `runCommandInternalBase'
undeclared (first use
   this function)
rembedinternal.cpp:538: error: `PROTECT' undeclared
(first use this function)
rembedinternal.cpp:541: error: `SEXP' undeclared (first
use this function)
rembedinternal.cpp:541: error: parsningsfel before `;'
token
rembedinternal.cpp:542: error: `intexp' undeclared
(first use this function)
rembedinternal.cpp:542: error: `INTSXP' undeclared
(first use this function)
rembedinternal.cpp:542: error: `coerceVector'
undeclared (first use this
   function)
rembedinternal.cpp:543: error: `length' undeclared
(first use this function)
rembedinternal.cpp:546: error: `INTEGER' undeclared
(first use this function)
rembedinternal.cpp:548: error: `UNPROTECT' undeclared
(first use this function)
make[4]: *** [rembedinternal.o] Fel 1
make[4]: Leaving directory
`/home/fredrik/nobackup/rkward-0.3.4/rkward/rbackend'
make[3]: *** [all-recursive] Fel 1
make[3]: Leaving directory
`/home/fredrik/nobackup/rkward-0.3.4/rkward/rbackend'
make[2]: *** [all-recursive] Fel 1
make[2]: Leaving directory
`/home/fredrik/nobackup/rkward-0.3.4/rkward'
make[1]: *** [all-recursive] Fel 1
make[1]: Leaving directory
`/home/fredrik/nobackup/rkward-0.3.4'
make: *** [all] Fel 2

----------------------------------------------------------------------

Comment By: Thomas Friedrichsmeier (tfry)
Date: 2005-11-24 14:42

Message:
Logged In: YES 
user_id=300591

> rembedinternal.cpp:27:28: R_ext/Rdynload.h: Filen eller   
katalogen finns inte   
> rembedinternal.cpp:28:29: R_ext/eventloop.h: Filen eller   
katalogen finns inte   
> rembedinternal.cpp:29:15: R.h: Filen eller katalogen   
finns inte   
> rembedinternal.cpp:30:24: Rinternals.h: Filen eller   
katalogen finns inte   
> rembedinternal.cpp:31:24: Rinterface.h: Filen eller   
katalogen finns inte   
> rembedinternal.cpp:32:22: Rdevices.h: Filen eller   
katalogen finns inte   
> rembedinternal.cpp:33:25: R_ext/Parse.h: Filen eller   
katalogen finns inte   
   
This means, make can not find the development headers for   
R. Please make sure   
1) you have the named .h-files installed on your system   
(usually in /usr/lib/R/include   
or /usr/local/lib/R/include). I believe on gentoo the  
headers should be part of the regular r-package. If not,  
look for something like r-devel, r-dev, r-base-devel or  
similar.  
2) you have specified the correct path to ./configure   
using the --with-extra-includes option. (E.g. ./configure   
--with-extra-includes=/usr/lib/R/include). Note that you   
will also need to specify --with-extra-libs. See the file   
"INSTALL" for details.   
   
If you continue to have trouble, please open a new   
bug-report, or contact us on the mailing list. 
 
Regards 
Thomas 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459008&aid=1365558&group_id=50231




More information about the rkward-tracker mailing list