<div dir="ltr"><div>Hello,</div><div>I’m building on top of Oracle R Community edition 3.2, Sun Studio 12.4 and Solaris 11.2 some packages for internal use.<br></div><div>The error I get when trying to install Rcpp is:</div><div>>  install.packages("dplyr");</div><div>also installing the dependency 'Rcpp'</div><div><br></div><div>trying URL '<a href="http://cran.uni-muenster.de/src/contrib/Rcpp_0.12.3.tar.gz">http://cran.uni-muenster.de/src/contrib/Rcpp_0.12.3.tar.gz</a>'</div><div>Content type 'application/x-gzip' length 2374320 bytes (2.3 MB)</div><div>==================================================</div><div>downloaded 2.3 MB</div><div><br></div><div>trying URL '<a href="http://cran.uni-muenster.de/src/contrib/dplyr_0.4.3.tar.gz">http://cran.uni-muenster.de/src/contrib/dplyr_0.4.3.tar.gz</a>'</div><div>Content type 'application/x-gzip' length 655997 bytes (640 KB)</div><div>==================================================</div><div>downloaded 640 KB</div><div><br></div><div>* installing *source* package 'Rcpp' ...</div><div>** package 'Rcpp' successfully unpacked and MD5 sums checked</div><div>** libs</div><div>/opt/SunProd/studio12u3/solarisstudio12.3/bin/CC -m64 -I/usr/local/R/include -DNDEBUG -I../inst/include/     -KPIC  -g  -c Date.cpp -o Date.o</div><div>"../inst/include/Rcpp/Interrupt.h", line 60: Warning (Anachronism): Using void(*)(void*) to initialize extern "C" void(*)(void*).</div><div>"../inst/include/Rcpp/vector/MatrixRow.h", line 43: Error: iterator_traits is not a member of std.</div><div>"../inst/include/Rcpp/vector/MatrixRow.h", line 43: Error: A declaration does not specify a tag or an identifier.</div><div>"../inst/include/Rcpp/vector/MatrixRow.h", line 43: Error: Use ";" to terminate declarations.</div><div>"../inst/include/Rcpp/vector/MatrixRow.h", line 43: Error: "}" expected instead of "<".</div><div>"../inst/include/Rcpp/vector/MatrixRow.h", line 188: Error: iterator_traits is not a member of std.</div><div>"../inst/include/Rcpp/vector/MatrixRow.h", line 188: Error: A declaration does not specify a tag or an identifier.</div><div>"../inst/include/Rcpp/vector/MatrixRow.h", line 188: Error: Use ";" to terminate declarations.</div><div>"../inst/include/Rcpp/vector/MatrixRow.h", line 188: Error: "}" expected instead of "<".</div><div>"../inst/include/Rcpp/String.h", line 67: Warning: enc hides Rcpp::String::enc.</div><div>"../inst/include/Rcpp/String.h", line 81: Warning: enc hides Rcpp::String::enc.</div><div>"../inst/include/Rcpp/String.h", line 95: Warning: enc hides Rcpp::String::enc.</div><div>"../inst/include/Rcpp/String.h", line 107: Warning: enc hides Rcpp::String::enc.</div><div>"../inst/include/Rcpp/String.h", line 378: Error: Could not find a match for std::wstring::basic_string(const char*, const char*) needed in Rcpp::String::operator std::wstring () const.</div><div>9 Error(s) and 5 Warning(s) detected.</div><div>*** Error code 2</div><div>make: Fatal error: Command failed for target `Date.o'</div><div>ERROR: compilation failed for package 'Rcpp'</div><div>* removing '/usr/local/R/library/Rcpp'</div><div>ERROR: dependency 'Rcpp' is not available for package 'dplyr'</div><div>* removing '/usr/local/R/library/dplyr'</div><div><br></div><div>The downloaded source packages are in</div><div>        '/tmp/RtmpPbHqdD/downloaded_packages'</div><div>Updating HTML index of packages in '.Library'</div><div>Making 'packages.html' ... done</div><div>Warning messages:</div><div>1: In install.packages("dplyr") :</div><div>  installation of package 'Rcpp' had non-zero exit status</div><div>2: In install.packages("dplyr") :</div><div>  installation of package 'dplyr' had non-zero exit status</div><div>> q();</div><div><br></div><div>Can you point me what should I do further?</div><div>My .Renviron is as follows </div><div>TZ=CET </div><div>TERM=vt220 </div><div>TAR=/usr/bin/tar </div><div>R_UNZIPCMD=/usr/bin/unzip </div><div>R_ZIPCMD=/usr/bin/zip </div><div>MAKE=/usr/bin/make </div><div>LD_LIBRARY_PATH=/usr/lib:/usr/local/R/lib:/lib:/usr/local/lib </div><div>PAGER=/usr/bin/less </div><div>R_BZIPCMD=/usr/bin/bzip2 </div><div>R_GZIPCMD=/usr/bin/gzip </div><div>I made a symlink so that the compilation works. Unfortunately the R modules have hard-coded the path to the compiler.</div><div>-bash-4.1# ls -la /opt/SunProd/studio12u3/solarisstudio12.3/bin </div><div>lrwxrwxrwx   1 root     root          26 Feb  4 15:22 /opt/SunProd/studio12u3/solarisstudio12.3/bin -> /opt/solarisstudio12.4/bin </div><div><br></div><div>Can someone point me which compiler options/configure arguments are needed so that the conversion and compilation is successful?</div><div>Thanks!</div><div><br></div></div>