
Dear All,

I tried to compile httpuv_1.2.0 and got a lot of errors.  See below.
Compiling 1.0.6.3 was successful, but I need the latest version for "shiny".
Any ideas how to fix this cpp-file problem ?

Kind regards
Hans


# R  CMD INSTALL .
* installing to library '/usr/local/lib/R/library'
* installing *source* package 'httpuv' ...
** package 'httpuv' successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/local/lib/R/include -DNDEBUG -I./libuv/include -I./http-parser -I./sha1 -I./base64 -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I"/usr/local/lib/R/library/Rcpp/include"   -fPIC  -g -O2  -c websockets-hybi03.cpp -o websockets-hybi03.o
websockets-hybi03.cpp: In member function `virtual bool WebSocketProto_HyBi03::canHandle(const RequestHeaders&, const char*, size_t) const':
websockets-hybi03.cpp:40: error: 'const class std::map<std::string, std::string, compare_ci, std::allocator<std::pair<const std::string, std::string> > >' has no member named 'at'
websockets-hybi03.cpp:41: error: 'const class std::map<std::string, std::string, compare_ci, std::allocator<std::pair<const std::string, std::string> > >' has no member named 'at'
websockets-hybi03.cpp:48: error: 'const class std::map<std::string, std::string, compare_ci, std::allocator<std::pair<const std::string, std::string> > >' has no member named 'at'
websockets-hybi03.cpp: In member function `virtual void WebSocketProto_HyBi03::handshake(const std::string&, const RequestHeaders&, char**, size_t*, ResponseHeaders*, std::vector<uint8_t, std::allocator<uint8_t> >*) const':
websockets-hybi03.cpp:60: error: 'const class std::map<std::string, std::string, compare_ci, std::allocator<std::pair<const std::string, std::string> > >' has no member named 'at'
websockets-hybi03.cpp:61: error: 'const class std::map<std::string, std::string, compare_ci, std::allocator<std::pair<const std::string, std::string> > >' has no member named 'at'
websockets-hybi03.cpp:84: error: 'const class std::map<std::string, std::string, compare_ci, std::allocator<std::pair<const std::string, std::string> > >' has no member named 'at'
websockets-hybi03.cpp:86: error: 'const class std::map<std::string, std::string, compare_ci, std::allocator<std::pair<const std::string, std::string> > >' has no member named 'at'
websockets-hybi03.cpp:89: error: 'const class std::map<std::string, std::string, compare_ci, std::allocator<std::pair<const std::string, std::string> > >' has no member named 'at'
gmake: *** [websockets-hybi03.o] Error 1
ERROR: compilation failed for package 'httpuv'
* removing '/usr/local/lib/R/library/httpuv'
* restoring previous '/usr/local/lib/R/library/httpuv'





	[[alternative HTML version deleted]]

