-
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
./configure script sometimes has wrong permissions when installing from zip #151
Comments
It appears that whether or not R's My mac correctly preserves the execute permission on the configure script: download.file("https://github.com/rstudio/httpuv/archive/master.zip", "httpuv-master.zip")
getOption("unzip")
#> [1] "/usr/bin/unzip"
unzip("httpuv-master.zip")
file.mode("httpuv-master/src/libuv/configure")
#> [1] "755" On rstudio.cloud it does not, using the default download.file("https://github.com/rstudio/httpuv/archive/master.zip", "httpuv-master.zip")
getOption("unzip")
#> [1] "internal"
unzip("httpuv-master.zip")
file.mode("httpuv-master/src/libuv/configure")
#> [1] "664" However, if you use download.file("https://github.com/rstudio/httpuv/archive/master.zip", "httpuv-master.zip")
unlink("httpuv-master", recursive = TRUE)
unzip("httpuv-master.zip", unzip = "/usr/bin/unzip")
file.mode("httpuv-master/src/libuv/configure")
#> [1] "755" |
I'v tried, but it still does not work And then Error
|
@kuzmenkov111 Your issue is a different one... Can you file a new issue with httpuv? And please include information about what platform you're running on. |
The build of httpuv runs
./configure
in src/libuv. With some installation methods, it says that it can't execute the script.On rstudio.cloud:
This also fails:
However, these work:
The text was updated successfully, but these errors were encountered: