Last active
August 29, 2015 14:13
-
-
Save jeroen/f1b6a172320a32f59c82 to your computer and use it in GitHub Desktop.
Rcpp build error on Solaris Studio 12.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> install.packages("Rcpp") | |
Installing package into '/export/home/jeroen/R/i386-pc-solaris2.11-library/3.2' | |
(as 'lib' is unspecified) | |
trying URL 'http://cran.rstudio.com/src/contrib/Rcpp_0.11.3.tar.gz' | |
Content type 'application/x-gzip' length 2169583 bytes (2.1 MB) | |
opened URL | |
================================================== | |
downloaded 2.1 MB | |
* installing *source* package 'Rcpp' ... | |
** package 'Rcpp' successfully unpacked and MD5 sums checked | |
** libs | |
CC -library=stlport4 -I/opt/R-devel/lib/R/include -DNDEBUG -I../inst/include/ -I/opt/csw/include -KPIC -O -c Date.cpp -o Date.o | |
"../inst/include/Rcpp/Interrupt.h", line 60: Warning (Anachronism): Formal argument fun of type extern "C" void(*)(void*) in call to R_ToplevelExec(extern "C" void(*)(void*), void*) is being passed void(*)(void*). | |
"../inst/include/Rcpp/api/meat/proxy.h", line 32: Error: Could not find a match for Rcpp::AttributeProxyPolicy<Rcpp::CLASS>::AttributeProxy::operator=(const Rcpp::T&). | |
"../inst/include/Rcpp/api/meat/proxy.h", line 63: Error: Could not find a match for Rcpp::NamesProxyPolicy<Rcpp::CLASS>::NamesProxy::operator=(const Rcpp::T&). | |
"../inst/include/Rcpp/api/meat/proxy.h", line 84: Error: Could not find a match for Rcpp::SlotProxyPolicy<Rcpp::CLASS>::SlotProxy::operator=(const Rcpp::T&). | |
"../inst/include/Rcpp/api/meat/proxy.h", line 99: Error: Could not find a match for Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::operator=<Rcpp::TagProxyPolicy<Rcpp::XPtrClass>::TagProxy::U>(const Rcpp::T&). | |
"../inst/include/Rcpp/api/meat/proxy.h", line 130: Error: Could not find a match for Rcpp::BindingPolicy<Rcpp::EnvironmentClass>::Binding::operator=(const Rcpp::T&). | |
"../inst/include/Rcpp/api/meat/proxy.h", line 151: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::T&). | |
"../inst/include/Rcpp/api/meat/proxy.h", line 159: Error: Could not find a match for Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::operator=(const Rcpp::traits::named_object<Rcpp::DottedPairProxyPolicy<Rcpp::CLASS>::DottedPairProxy::T>&). | |
"../inst/include/Rcpp/api/meat/proxy.h", line 186: Error: Could not find a match for Rcpp::FieldProxyPolicy<Rcpp::CLASS>::FieldProxy::operator=(const Rcpp::T&). | |
8 Error(s) and 1 Warning(s) detected. | |
/opt/R-devel/lib/R/etc/Makeconf:141: recipe for target 'Date.o' failed | |
gmake: *** [Date.o] Error 2 | |
ERROR: compilation failed for package 'Rcpp' | |
* removing '/export/home/jeroen/R/i386-pc-solaris2.11-library/3.2/Rcpp' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> install.packages("RJSONIO") | |
Installing package into '/export/home/jeroen/R/i386-pc-solaris2.11-library/3.2' | |
(as 'lib' is unspecified) | |
--- Please select a CRAN mirror for use in this session --- | |
trying URL 'http://cran.rstudio.com/src/contrib/RJSONIO_1.3-0.tar.gz' | |
Content type 'application/x-gzip' length 1148375 bytes (1.1 MB) | |
opened URL | |
================================================== | |
downloaded 1.1 MB | |
* installing *source* package 'RJSONIO' ... | |
** package 'RJSONIO' successfully unpacked and MD5 sums checked | |
Trying to find libjson.h header file | |
checking for gcc... no | |
checking for cc... cc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... no | |
checking whether cc accepts -g... yes | |
checking for cc option to accept ISO C89... none needed | |
USE_LOCAL = "" | |
Minor Version: 6 | |
Using local libjson code. Copying files from src/libjson/Source | |
/tmp/RtmpHkaW1f/R.INSTALLbae59121453/RJSONIO | |
JSONAllocator.cpp | |
JSONChildren.cpp | |
JSONDebug.cpp | |
JSONIterators.cpp | |
JSONMemory.cpp | |
JSONNode.cpp | |
JSONNode_Mutex.cpp | |
JSONPreparse.cpp | |
JSONStream.cpp | |
JSONValidator.cpp | |
JSONWorker.cpp | |
JSONWriter.cpp | |
internalJSONNode.cpp | |
libjson.cpp | |
configure: creating ./config.status | |
config.status: creating src/Makevars | |
config.status: creating cleanup | |
** libs | |
cc -xc99 -I/opt/R-devel/lib/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -I/opt/csw/include -KPIC -I/opt/csw/include -O -xlibmieee -c ConvertUTF.c -o ConvertUTF.o | |
CC -library=stlport4 -I/opt/R-devel/lib/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -I/opt/csw/include -KPIC -O -c JSONAllocator.cpp -o JSONAllocator.o | |
CC -library=stlport4 -I/opt/R-devel/lib/R/include -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_STREAM=1 -DJSON_VALIDATE -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -I/opt/csw/include -KPIC -O -c JSONChildren.cpp -o JSONChildren.o | |
"libjson/Source/JSONChildren.h", line 41: Error: "}" expected instead of ";". | |
"libjson/Source/JSONChildren.h", line 43: Error: No direct declarator preceding "(". | |
"libjson/Source/JSONChildren.h", line 54: Error: Illegal number of arguments for ~file level(). | |
"libjson/Source/JSONChildren.h", line 55: Error: array is not defined. | |
"libjson/Source/JSONChildren.h", line 56: Error: The function "deleteAll" must have a prototype. | |
"libjson/Source/JSONChildren.h", line 57: Error: array is not defined. | |
"libjson/Source/JSONChildren.h", line 60: Warning: "~file level()" is expected to return a value. | |
"libjson/Source/JSONChildren.h", line 70: Error: array is not defined. | |
"libjson/Source/JSONChildren.h", line 70: Error: The operation "++ jsonChildren" is illegal. | |
"libjson/Source/JSONChildren.h", line 77: Error: array is not defined. | |
"libjson/Source/JSONChildren.h", line 77: Error: array is not defined. | |
"libjson/Source/JSONChildren.h", line 77: Error: The operation "++ jsonChildren" is illegal. | |
"libjson/Source/JSONChildren.h", line 78: Error: array is not defined. | |
"libjson/Source/JSONChildren.h", line 82: Error: operator[](unsigned) const must be a member function. | |
"libjson/Source/JSONChildren.h", line 82: Error: The function "operator[](unsigned) const" cannot be declared const. | |
"libjson/Source/JSONChildren.h", line 87: Error: array is not defined. | |
"libjson/Source/JSONChildren.h", line 91: Error: The function "capacity() const" cannot be declared const. | |
"libjson/Source/JSONChildren.h", line 93: Error: Cannot return jsonChildren from a function that should return unsigned. | |
"libjson/Source/JSONChildren.h", line 97: Error: The function "size() const" cannot be declared const. | |
"libjson/Source/JSONChildren.h", line 99: Error: Cannot return jsonChildren from a function that should return unsigned. | |
"libjson/Source/JSONChildren.h", line 103: Error: The function "empty() const" cannot be declared const. | |
"libjson/Source/JSONChildren.h", line 105: Error: The operation "jsonChildren == int" is illegal. | |
"libjson/Source/JSONChildren.h", line 111: Error: array is not defined. | |
"libjson/Source/JSONChildren.h", line 113: Error: The function "deleteAll" must have a prototype. | |
"libjson/Source/JSONChildren.h", line 114: Warning (Anachronism): Assigning int to jsonChildren. | |
"libjson/Source/JSONChildren.h", line 114: Error: Cannot cast from int to jsonChildren. | |
"libjson/Source/JSONChildren.h", line 120: Error: The function "begin() const" cannot be declared const. | |
Compilation aborted, too many Error messages. | |
*** Error code 2 | |
make: Fatal error: Command failed for target `JSONChildren.o' | |
ERROR: compilation failed for package 'RJSONIO' | |
* removing '/export/home/jeroen/R/i386-pc-solaris2.11-library/3.2/RJSONIO' | |
The downloaded source packages are in | |
'/tmp/RtmpL8aq1f/downloaded_packages' | |
Warning message: | |
In install.packages("RJSONIO") : | |
installation of package 'RJSONIO' had non-zero exit status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment