rstudio / httpuv

HTTP and WebSocket server package for R
Other
228 stars 85 forks source link

httpuv updating error #164

Open AntVeal opened 6 years ago

AntVeal commented 6 years ago

Hi, When I try and update to any version of httpuv later than 1.4.3 (from 1.4.1) I get the message below, which results in R reverting to the current version.

Any help with deciphering the message or updating the package would be appreciated, I need the later versions for use with the shiny package. Cheers, Ant

*** arch - i386
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-33~1.3/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-33~1.3/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="httpuv.dll" OBJECTS="RcppExports-legacy.o RcppExports.o callback.o callbackqueue.o filedatasource-unix.o filedatasource-win.o http.o httprequest.o httpresponse.o httpuv.o md5.o set_invalid_parameter.o socket.o thread.o utils.o uvutil.o webapplication.o websockets-base.o websockets-hixie76.o websockets-hybi03.o websockets-ietf.o websockets.o"' had status 127
ERROR: compilation failed for package 'httpuv'
* removing 'C:/Users/327674/Documents/R/win-library/3.3/httpuv'
* restoring previous 'C:/Users/327674/Documents/R/win-library/3.3/httpuv'
Warning in install.packages :
  running command '"C:/PROGRA~1/R/R-33~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\327674\Documents\R\win-library\3.3" C:\Users\327674\AppData\Local\Temp\RtmpAD3Oqq/downloaded_packages/httpuv_1.4.4.2.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘httpuv’ had non-zero exit status
wch commented 6 years ago

It looks like you're using R 3.3.x (I can't tell what the x is from the output). Do you know what version of Rtoools you're using?

Then try updating to Rtools34 or Rtools35 from here and re-install. https://cran.r-project.org/bin/windows/Rtools/

AntVeal commented 6 years ago

Hi, Thanks for the reply - it looks like I don't have Rtools installed on my machine. I'll give it a go and update the thread with the result. Cheers, Ant