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 ?
Kind regards
Hans
amur1:root> 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'
--
Ing. Dipl.-Ing. Hans Mayer
Systems Administrator
Information and Communication Technologies (ICT)
International Institute for Applied Systems Analysis (IIASA)
Schlossplatz 1
A-2361 Laxenburg, Austria
Phone: +43 2236 807 Ext 215
Mobile: +43 676 83 807 215
Web: http://www.iiasa.ac.at
[[alternative HTML version deleted]]