-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install failing on RHEL7.5 #150
Comments
I'm not able to reproduce the failure. Here's a Dockerfile that builds a Centos 7.5 image: # docker build -t centos7r .
FROM centos:centos7
RUN yum -y install epel-release
RUN yum -y update && \
yum upgrade -y
RUN echo "LANG=en_US.utf8" >> /etc/locale.conf
RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8
RUN export LC_ALL=en_US.UTF-8
RUN yum -y install libtool R-core R-core-devel R-java R-cpp openssl-devel libcurl-devel \
&& echo 'options(repos = c(CRAN = "https://cran.rstudio.com/"), download.file.method = "libcurl")' >> /usr/lib64/R/etc/Rprofile.site
RUN echo "MAKEFLAGS='--jobs=4'" >> /usr/lib64/R/etc/Renviron
# Create directories for documentation
RUN mkdir -p /usr/share/doc/R-3.4.4/html
RUN cp /usr/lib64/R/library/stats/html/R.css /usr/share/doc/R-3.4.4/html/
RUN R -e "install.packages('devtools')"
RUN R -e "install.packages('httpuv')"
CMD bash To build it: docker build -t centos7r . The Docker image includes httpuv, but we can install it again in a container: docker run --rm -ti centos7r
R -e 'install.packages("httpuv")' @ajs6f If you download the tar file and untar it, does the file src/libuv/configure have execute permissions? |
Good question-- it has
to try to install. As I said, I'm an R newb, so if that is a demented way to try to install, please do tell me! |
Changing the perms manually and installing from source got me past this. Furthermore, I saw a similar problem trying to install some other libraries, so I am less and less sure this has as much to do with Closing as unreproduced and unlikely to be a problem for others. |
I tried doing the same in the docker container: creating a user, doing |
@ajs6f Is your home directory and/or temp directory on an NFS mount, by any chance? If so this could be related to root squash? |
I believe this might be caused by #151. |
@ajs6f Can you try this? devtools::install_github("rstudio/httpuv@fix-configure-perms") |
I'm having trouble installing on this platform, failing with:
It's an odd error, which seems to arise from permissions on the
configure
file in thelibuv
subdirectory. I have two questions:yum
-managedlibuv
package? It's not clear to me thathttpuv
needs to buildlibuv
at all in my case.Thank you for any advice!
The text was updated successfully, but these errors were encountered: