[Rinside-commits] compiling error, can't find RInside.h

Dirk Eddelbuettel edd at debian.org
Mon May 3 21:29:26 CEST 2010


On 3 May 2010 at 15:06, chuan gao wrote:
| Hi ALL,
| I've been playing with RInside for while but can't get it work, I think I can
| install it with no problem with the following message.
| 
| * installing to library \u2018/usr/local/lib64/R/library\u2019

You did not tell us

  a)  what operating system this is on, and the combination of forward and
      backward slashed does NOT look healthy to

  b)  what command you executed

| * installing *source* package \u2018RInside\u2019 ...
| ** libs
| ** arch - 
| R was not built as a library
| R was not built as a library

This would indeed indicate that a REQUIRED condition is not met.

Again, you have not been very forthcoming with details of how you deploy the
software we provide making it hard for us to offer suggestions.

Dirk



| /usr/local/lib64/R/bin/R --vanilla --slave < tools/RInsideEnvVars.r >
| RInsideEnvVars.h
| /usr/local/lib64/R/bin/R --vanilla --slave < tools/RInsideAutoloads.r >
| RInsideAutoloads.h
| g++ -o libRInside.so  MemBuf.o RInside.o -shared   
| ar qc libRInside.a MemBuf.o RInside.o
| cp libRInside.so  ../inst/lib
| cp RInside.h MemBuf.h RInsideCommon.h Callbacks.h ../inst/lib
| cp libRInside.a ../inst/lib
| rm libRInside.so  libRInside.a
| ** R
| ** inst
| ** preparing package for lazy loading
| ** help
| *** installing help indices
| ** building package indices ...
| ** testing if installed package can be loaded
| 
| * DONE (RInside)
| 
| 
| 
| But when I test it by typing make in the example directory, i was reminded that
| no RInside.H were found, can anyone give me some clue what had happened?  does
| it has sth to do with that I didn't install R as a library? 
| Thank you very much!
| Chuan
| 
| 
| 
| ----------------------------------------------------------------------
| _______________________________________________
| Rinside-commits mailing list
| Rinside-commits at lists.r-forge.r-project.org
| https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rinside-commits

-- 
  Regards, Dirk


More information about the Rinside-commits mailing list