rstudio / httpuv

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

httpuv installation error on RH6.8AS_64 #74

Open stevenkoren opened 7 years ago

stevenkoren commented 7 years ago

Attempting to install httpuv version=1.3.3 using the command: install.packages("httpuv",contriburl="file:///tmp")

OS_REL=RH6.8AS_64 C_REL=4.4.7r17_64 CPLUS_REL=4.4.7r17_64

I have successfully installed several other packages and am only encountering an error with this one.

I have tried 2 versions of the gcc compiler (4.4.7r4 and 4.4.7r17)

Here are the errors and warnings I receive:

             from src/unix/async.c:25:

/xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/in.h:113: warning: comma at end of enumerator list

             from src/unix/async.c:25:

/xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:99: warning: type of bit-field âres1â is a GCC extension /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:100: warning: type of bit-field âdoffâ is a GCC extension /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:101: warning: type of bit-field âfinâ is a GCC extension /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:102: warning: type of bit-field âsynâ is a GCC extension /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:103: warning: type of bit-field ârstâ is a GCC extension /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:104: warning: type of bit-field âpshâ is a GCC extension /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:105: warning: type of bit-field âackâ is a GCC extension /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:106: warning: type of bit-field âurgâ is a GCC extension /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:107: warning: type of bit-field âres2â is a GCC extension /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:196: warning: type of bit-field âtcpi_snd_wscaleâ is a GCC extension /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netinet/tcp.h:196: warning: type of bit-field âtcpi_rcv_wscaleâ is a GCC extension

             from src/unix/async.c:25:

/xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/netdb.h:694: warning: ISO C90 does not support âstaticâ or type qualifiers in parameter array declarators

from src/unix/async.c:25: /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/bits/sigset.h:119:65: warning: invoking macro SIGSETFN argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/bits/sigset.h:120:66: warning: invoking macro SIGSETFN argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 In file included from src/unix/internal.h:28, from src/unix/async.c:26: /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/stdlib.h:424: warning: ISO C90 does not support âlong longâ In file included from src/unix/internal.h:28, from src/unix/async.c:26: /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/stdlib.h:521: error: expected identifier or â(â before â/â token In file included from src/unix/internal.h:28, from src/unix/async.c:26: /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/stdlib.h:522:35: error: invalid suffix "x" on integer constant /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/stdlib.h:547: error: expected identifier or â(â before â/â token /xenv/OS/ia64/RH6.8AS_64/x86_64/usr/include/stdlib.h:548:35: error: invalid suffix "x" on integer constant ia64make[1]: [src/unix/async.o] Error 1 ia64make[1]: Leaving directory `/tmp/RtmpqFvysR/R.INSTALL11df58c6fcf1/httpuv/src/libuv' ia64make: [libuv.a] Error 2 ERROR: compilation failed for package âhttpuvâ

pthakur4 commented 7 years ago

*** arch - i386 Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-32~1.5/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-32~1.5/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="httpuv.dll" OBJECTS="RcppExports.o filedatasource-unix.o filedatasource-win.o http.o httpuv.o md5.o register.o set_invalid_parameter.o uvutil.o websockets-base.o websockets-hixie76.o websockets-hybi03.o websockets-ietf.o websockets.o"' had status 127 ERROR: compilation failed for package 'httpuv'

The downloaded source packages are in ‘C:\Users\44062934\AppData\Local\Temp\RtmpGgWWhs\downloaded_packages’