rstudio / httpuv

HTTP and WebSocket server package for R
Other
229 stars 86 forks source link

Unable to install httpuv 1.4.5 from CRAN #170

Closed timothywong731 closed 6 years ago

timothywong731 commented 6 years ago

Hi I am not able to install httpuv 1.4.5 from CRAN. Detailed log is at the bottom.

I tried the same using sudo access, but it doesn't solve the problem. Error message is identical. I started R using: sudo su - Revo64 install.packages("httpuv", "~/R/x86_64-pc-linux-gnu-library/3.4","https://cran.microsoft.com")

Even root cannot install httpuv. We are on RHEL 7.5 with Microsoft MLS 9.3 (R 3.4.3).

R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Microsoft R Open 3.4.3
The enhanced R distribution from Microsoft
Microsoft packages Copyright (C) 2018 Microsoft

Loading Microsoft Machine Learning Server packages, version 9.3.0.
Type 'readme()' for release notes, privacy() for privacy policy, or
'RevoLicense()' for licensing information.

Using the Intel MKL for parallel mathematical computing (using 16 cores).
Default CRAN mirror snapshot taken on 2018-01-01.
See: https://mran.microsoft.com/.

> install.packages("httpuv", repos = "https://cran.microsoft.com")
Installing package into ‘/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
also installing the dependencies ‘rlang’, ‘magrittr’, ‘Rcpp’, ‘promises’, ‘later’, ‘BH’

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0100  317k  100  317k    0     0   212k      0  0:00:01  0:00:01 --:--:--  211k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0  100  195k  100  195k    0     0   163k      0  0:00:01  0:00:01 --:--:--  163k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0  100 3719k  100 3719k    0     0   704k      0  0:00:05  0:00:05 --:--:--  779k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0100  104k  100     0    0     0      0      0 --:100  104k  100  104k    0     0  89897      0  0:00:01  0:00:01 --:--:-- 89878
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 38192  100 38192    0     0  43257      0 --:--:-- --:--:-- --:--:--     0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0100 11.0M  100 11.0M    0     0  5037k      0  0:00:02  0:00:01  0:04:0100 11.0M    0     0  5037k      0  0:00:02  0:00:02 --:--:-- 5036k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1636k  100 16115    0     0  18104      0  0:01:32 --:---:--:- 1636k    0     0  1012k      0  0:00:01  0:00:01 --:--:-- 1012k
* installing *source* package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -I./lib/  -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c capture.c -o capture.o
gcc -std=gnu99 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -I./lib/  -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c export.c -o export.o
gcc -std=gnu99 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -I./lib/  -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c internal.c -o internal.o
gcc -std=gnu99 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -I./lib/  -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c lib.c -o lib.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o rlang.so capture.o export.o internal.o lib.o
installing to /home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/rlang/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded
* DONE (rlang)
* installing *source* package ‘magrittr’ ...
** package ‘magrittr’ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (magrittr)
* installing *source* package ‘Rcpp’ ...
** package ‘Rcpp’ successfully unpacked and MD5 sums checked
** libs
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -I../inst/include/  -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c Date.cpp -o Date.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -I../inst/include/  -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c Module.cpp -o Module.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -I../inst/include/  -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c Rcpp_init.cpp -o Rcpp_init.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -I../inst/include/  -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c api.cpp -o api.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -I../inst/include/  -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c attributes.cpp -o attributes.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -I../inst/include/  -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c barrier.cpp -o barrier.o
g++ -shared -L/usr/local/lib64 -o Rcpp.so Date.o Module.o Rcpp_init.o api.o attributes.o barrier.o
installing to /home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (Rcpp)
* installing *source* package ‘BH’ ...
** package ‘BH’ successfully unpacked and MD5 sums checked
** inst
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (BH)
* installing *source* package ‘later’ ...
** package ‘later’ successfully unpacked and MD5 sums checked
** libs
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c RcppExports.cpp -o RcppExports.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c callback_registry.cpp -o callback_registry.o
gcc -std=gnu99 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c init.c -o init.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c later.cpp -o later.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c later_native.cpp -o later_native.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c later_posix.cpp -o later_posix.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c later_win32.cpp -o later_win32.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c timer_posix.cpp -o timer_posix.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c timestamp_unix.cpp -o timestamp_unix.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c timestamp_win32.cpp -o timestamp_win32.o
gcc -std=gnu99 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c tinycthread.c -o tinycthread.o
g++ -shared -L/usr/local/lib64 -o later.so RcppExports.o callback_registry.o init.o later.o later_native.o later_posix.o later_win32.o timer_posix.o timestamp_unix.o timestamp_win32.o tinycthread.o -pthread
installing to /home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (later)
* installing *source* package ‘promises’ ...
** package ‘promises’ successfully unpacked and MD5 sums checked
** libs
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG  -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c RcppExports.cpp -o RcppExports.o
g++  -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG  -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c promise_task.cpp -o promise_task.o
g++ -shared -L/usr/local/lib64 -o promises.so RcppExports.o promise_task.o
installing to /home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/promises/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (promises)
* installing *source* package ‘httpuv’ ...
** package ‘httpuv’ successfully unpacked and MD5 sums checked
** libs
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c RcppExports-legacy.cpp -o RcppExports-legacy.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c callback.cpp -o callback.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c callbackqueue.cpp -o callbackqueue.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c filedatasource-unix.cpp -o filedatasource-unix.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c filedatasource-win.cpp -o filedatasource-win.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c http.cpp -o http.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c httprequest.cpp -o httprequest.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c httpresponse.cpp -o httpresponse.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c httpuv.cpp -o httpuv.o
gcc -std=gnu99 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c md5.c -o md5.o
gcc -std=gnu99 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2  -c set_invalid_parameter.c -o set_invalid_parameter.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c socket.cpp -o socket.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c thread.cpp -o thread.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c utils.cpp -o utils.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c uvutil.cpp -o uvutil.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c webapplication.cpp -o webapplication.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c websockets-base.cpp -o websockets-base.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c websockets-hixie76.cpp -o websockets-hixie76.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c websockets-hybi03.cpp -o websockets-hybi03.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c websockets-ietf.cpp -o websockets-ietf.o
g++ -std=gnu++11 -I/software/microsoft/mlserver/9.3.0/runtime/R/include -DNDEBUG -fvisibility=hidden -pthread -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/later/include" -I/usr/local/include -DU_STATIC_IMPLEMENTATION   -fpic  -DU_STATIC_IMPLEMENTATION -g -O2 -c websockets.cpp -o websockets.o
cp -p -f libuv/m4/lt_obsolete.m4 libuv/m4/lt~obsolete.m4
(cd libuv \
    && touch aclocal.m4 \
    && touch -r aclocal.m4 configure Makefile.in \
    && chmod +x configure \
    && CC="gcc -std=gnu99" CFLAGS="-DU_STATIC_IMPLEMENTATION -g -O2  -fpic -fvisibility=hidden" AR="ar" RANLIB="ranlib" LDFLAGS="-L/usr/local/lib64" ./configure "--quiet")
mkdir: cannot create directory '/home/wong0s/tmp/cg48424-17650': No such file or directory
mkdir: cannot create directory '/home/wong0s/tmp/cg-48424': No such file or directory
config.guess: cannot create a temporary directory in /home/wong0s/tmp
configure: error: cannot guess build type; you must specify one
make: *** [libuv/Makefile] Error 1
ERROR: compilation failed for package ‘httpuv’
* removing ‘/home/wong0s/R/x86_64-pc-linux-gnu-library/3.4/httpuv’
Warning in install.packages :
  installation of package ‘httpuv’ had non-zero exit status

The downloaded source packages are in
    ‘/tmp/RtmpPsRsj7/downloaded_packages’
> 
jcheng5 commented 6 years ago

It looks like your temp directory is set to ~/tmp, does this directory exist and is it writable?

timothywong731 commented 6 years ago

You are right, I tracked to a place where the TMRDIR environment variable is set and changed that. Now I am able to install this correctly. Thanks for helping.