<p dir="ltr">Hmm. If you try to run g++ on the command line, does it exist? If it does, let me know, and I'll try to figure this out when I'm not sitting in an airport later today. :)<br>
</p>
<div class="gmail_quote">On Apr 14, 2015 8:47 AM, Mark Leeds <markleeds2@gmail.com> wrote:<br type='attribution'><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Tom: Thanks for your reply. Unfortunately, I did what you said and it seems to already be installed based on below. <br /><br />> sudo yum install gcc-c++<br />[sudo] password for markleeds: <br />Loaded plugins: langpacks, refresh-packagekit<br />Package gcc-c++-4.8.3-7.fc19.x86_64 already installed and latest version<br />Nothing to do<br />:~> <br /><br /><br /></div><div><br /><div class="elided-text">On Tue, Apr 14, 2015 at 8:39 AM, Tom Callaway <span dir="ltr"><<a href="mailto:tcallawa@redhat.com">tcallawa@redhat.com</a>></span> wrote:<br /><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">No, that's not it. The error is that you don't have the g++ binary installed. Undo that change and yum install gcc-c++.<br />
<div><div><br />
<br />
On Apr 14, 2015 8:31 AM, Mark Leeds <<a href="mailto:markleeds2@gmail.com">markleeds2@gmail.com</a>> wrote:<br />
><br />
> Hi: I'm on fedora 19 ( I know. I'm behind : ) and I'm trying to install the<br />
> httpuv library<br />
> which depends on Rcpp. When I try to install it with dependencies = TRUE,<br />
> I get the following error. ( I'm only showing the end of the install<br />
> messages. Things<br />
> go okay for a good while  ).<br />
><br />
> INSTALLATION MESSAGES<br />
> #================================================================<br />
><br />
> make[1]: Entering directory<br />
> `/tmp/RtmpCjtWgG/R.INSTALL61c04bffaabb/httpuv/src/http-parser'<br />
> gcc -m64 -std=gnu99 -I. -DHTTP_PARSER_STRICT=0  -O2 -g -pipe -Wall<br />
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector<br />
> --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic  -fpic<br />
> -O3  -c http_parser.c<br />
> make[1]: Leaving directory<br />
> `/tmp/RtmpCjtWgG/R.INSTALL61c04bffaabb/httpuv/src/http-parser'<br />
> (cd sha1 && gcc -m64 -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2<br />
> -fexceptions -fstack-protector --param=ssp-buffer-size=4<br />
> -grecord-gcc-switches  -m64 -mtune=generic  -fpic -c sha1.c -o sha1.o)<br />
> (cd base64 && g++ -m64 -I/usr/include/R -DNDEBUG -I./libuv/include<br />
> -I./http-parser -I./sha1 -I./base64 -I/usr/local/include<br />
> -I"/home/markleeds/research/R/Rlibs/library/Rcpp/include"   -fpic  -O2 -g<br />
> -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector<br />
> --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic  -c<br />
> base64.cpp -o base64.o)<br />
> g++ -m64 -shared -L/usr/lib64/R/lib -Wl,-z,relro -o httpuv.so RcppExports.o<br />
> filedatasource-unix.o filedatasource-win.o http.o httpuv.o md5.o<br />
> set_invalid_parameter.o uvutil.o websockets-base.o websockets-hixie76.o<br />
> websockets-hybi03.o websockets-ietf.o websockets.o [1]<br />
> "LC_CTYPE=C;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=C"<br />
> ./libuv/libuv.a ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o<br />
> -L/usr/lib64/R/lib -lR<br />
> g++: error: [1]: No such file or directory<br />
> g++: error:<br />
> "LC_CTYPE=C;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=C":<br />
> No such file or directory<br />
> make: *** [httpuv.so] Error 1<br />
> ERROR: compilation failed for package 'httpuv'<br />
> * removing '/home/markleeds/research/R/Rlibs/library/httpuv'<br />
><br />
> The downloaded source packages are in<br />
>         '/tmp/RtmpePY2mo/downloaded_packages'<br />
> Warning message:<br />
> In install.packages("httpuv", dependencies = TRUE) :<br />
>   installation of package 'httpuv' had non-zero exit status<br />
> ><br />
><br />
> #===================================================================<br />
><br />
> I'm not  sure but the error[1] seems to be pointing LC_TYPE etc.<br />
> and I'm pretty cetain that line with LC_CTYPE etc comes from having<br />
><br />
> Sys.setlocale(locale="C")<br />
><br />
> in my .Rprofile file. So, somehow I think that's the root of my problem. At<br />
> the same time,<br />
> if I take that line out of my .Rprofile file, then I'm not even able to<br />
> choose a cran mirror<br />
> so I think I need it in there. Any help is appreciated.<br />
><br />
><br />
><br />
> Mark<br />
><br />
</div></div>> [[alternative HTML version deleted]]<br />
><br />
> _______________________________________________<br />
> R-SIG-Fedora mailing list<br />
> <a href="mailto:R-SIG-Fedora@r-project.org">R-SIG-Fedora@r-project.org</a><br />
> <a href="https://stat.ethz.ch/mailman/listinfo/r-sig-fedora">https://stat.ethz.ch/mailman/listinfo/r-sig-fedora</a><br />
</blockquote></div><br /></div>
</blockquote></div>