Skip to content

Instantly share code, notes, and snippets.

@wch
Created Mar 26, 2020
Embed
What would you like to do?
Rcpp and httpuv install logs
> install.packages("Rcpp")
Installing package into ‘/Users/winston/R/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/bin/macosx/el-capitan/contrib/3.6/Rcpp_1.0.4.tgz'
Content type 'application/x-gzip' length 3124401 bytes (3.0 MB)
==================================================
downloaded 3.0 MB
The downloaded binary packages are in
/var/folders/vd/0_g4hj6d7kq_fw5gd_r0ml5w0000gn/T//Rtmp6xesIQ/downloaded_packages
Restarting R session...
> install.packages("httpuv", type = "source")
Installing package into ‘/Users/winston/R/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/httpuv_1.5.2.tar.gz'
Content type 'application/x-gzip' length 1763900 bytes (1.7 MB)
==================================================
downloaded 1.7 MB
* installing *source* package ‘httpuv’ ...
** package ‘httpuv’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c RcppExports-legacy.cpp -o RcppExports-legacy.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c RcppExports.cpp -o RcppExports.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c callback.cpp -o callback.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c callbackqueue.cpp -o callbackqueue.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c filedatasource-unix.cpp -o filedatasource-unix.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c filedatasource-win.cpp -o filedatasource-win.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c fs.cpp -o fs.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c http.cpp -o http.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c httprequest.cpp -o httprequest.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c httpresponse.cpp -o httpresponse.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c httpuv.cpp -o httpuv.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c md5.c -o md5.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c mime.cpp -o mime.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c set_invalid_parameter.c -o set_invalid_parameter.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c socket.cpp -o socket.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c staticpath.cpp -o staticpath.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c thread.cpp -o thread.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c utils.cpp -o utils.o
In file included from staticpath.cpp:1:
In file included from ./staticpath.h:7:
In file included from /Users/winston/R/3.6/BH/include/boost/optional.hpp:15:
In file included from /Users/winston/R/3.6/BH/include/boost/optional/optional.hpp:28:
In file included from /Users/winston/R/3.6/BH/include/boost/core/addressof.hpp:17:
In file included from /Users/winston/R/3.6/BH/include/boost/config.hpp:57:
In file included from /Users/winston/R/3.6/BH/include/boost/config/platform/macos.hpp:28:
In file included from /Users/winston/R/3.6/BH/include/boost/config/detail/posix_features.hpp:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:655:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/gethostuuid.h:39:17: error: unknown type name 'uuid_t'
int gethostuuid(uuid_t, const struct timespec *) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_NA);
^
In file included from staticpath.cpp:1:
In file included from ./staticpath.h:7:
In file included from /Users/winston/R/3.6/BH/include/boost/optional.hpp:15:
In file included from /Users/winston/R/3.6/BH/include/boost/optional/optional.hpp:28:
In file included from /Users/winston/R/3.6/BH/include/boost/core/addressof.hpp:17:
In file included from /Users/winston/R/3.6/BH/include/boost/config.hpp:57:
In file included from /Users/winston/R/3.6/BH/include/boost/config/platform/macos.hpp:28:
In file included from /Users/winston/R/3.6/BH/include/boost/config/detail/posix_features.hpp:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:662:27: error: unknown type name 'uuid_t'; did you mean 'uid_t'?
int getsgroups_np(int *, uuid_t);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h:31:31: note: 'uid_t' declared here
typedef __darwin_uid_t uid_t;
^
In file included from staticpath.cpp:1:
In file included from ./staticpath.h:7:
In file included from /Users/winston/R/3.6/BH/include/boost/optional.hpp:15:
In file included from /Users/winston/R/3.6/BH/include/boost/optional/optional.hpp:28:
In file included from /Users/winston/R/3.6/BH/include/boost/core/addressof.hpp:17:
In file included from /Users/winston/R/3.6/BH/include/boost/config.hpp:57:
In file included from /Users/winston/R/3.6/BH/include/boost/config/platform/macos.hpp:28:
In file included from /Users/winston/R/3.6/BH/include/boost/config/detail/posix_features.hpp:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:664:27: error: unknown type name 'uuid_t'; did you mean 'uid_t'?
int getwgroups_np(int *, uuid_t);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h:31:31: note: 'uid_t' declared here
typedef __darwin_uid_t uid_t;
^
In file included from staticpath.cpp:1:
In file included from ./staticpath.h:7:
In file included from /Users/winston/R/3.6/BH/include/boost/optional.hpp:15:
In file included from /Users/winston/R/3.6/BH/include/boost/optional/optional.hpp:28:
In file included from /Users/winston/R/3.6/BH/include/boost/core/addressof.hpp:17:
In file included from /Users/winston/R/3.6/BH/include/boost/config.hpp:57:
In file included from /Users/winston/R/3.6/BH/include/boost/config/platform/macos.hpp:28:
In file included from /Users/winston/R/3.6/BH/include/boost/config/detail/posix_features.hpp:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:727:31: error: unknown type name 'uuid_t'; did you mean 'uid_t'?
int setsgroups_np(int, const uuid_t);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h:31:31: note: 'uid_t' declared here
typedef __darwin_uid_t uid_t;
^
In file included from staticpath.cpp:1:
In file included from ./staticpath.h:7:
In file included from /Users/winston/R/3.6/BH/include/boost/optional.hpp:15:
In file included from /Users/winston/R/3.6/BH/include/boost/optional/optional.hpp:28:
In file included from /Users/winston/R/3.6/BH/include/boost/core/addressof.hpp:17:
In file included from /Users/winston/R/3.6/BH/include/boost/config.hpp:57:
In file included from /Users/winston/R/3.6/BH/include/boost/config/platform/macos.hpp:28:
In file included from /Users/winston/R/3.6/BH/include/boost/config/detail/posix_features.hpp:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:729:31: error: unknown type name 'uuid_t'; did you mean 'uid_t'?
int setwgroups_np(int, const uuid_t);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h:31:31: note: 'uid_t' declared here
typedef __darwin_uid_t uid_t;
^
In file included from staticpath.cpp:1:
In file included from ./staticpath.h:8:
In file included from ./thread.h:4:
In file included from ./libuv/include/uv.h:62:
In file included from libuv/include/uv/unix.h:37:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pwd.h:114:26: error: unknown type name 'uuid_t'; did you mean 'uid_t'?
struct passwd *getpwuuid(uuid_t);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h:31:31: note: 'uid_t' declared here
typedef __darwin_uid_t uid_t;
^
In file included from staticpath.cpp:1:
In file included from ./staticpath.h:8:
In file included from ./thread.h:4:
In file included from ./libuv/include/uv.h:62:
In file included from libuv/include/uv/unix.h:37:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pwd.h:115:19: error: unknown type name 'uuid_t'
int getpwuuid_r(uuid_t, struct passwd *, char *, size_t, struct passwd **);
^
In file included from staticpath.cpp:1:
In file included from ./staticpath.h:8:
In file included from ./thread.h:4:
In file included from ./libuv/include/uv.h:62:
In file included from libuv/include/uv/unix.h:59:
In file included from libuv/include/uv/darwin.h:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach/mach.h:66:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h:111:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h:44:2: error: unknown type name 'uuid_t'; did you mean 'uid_t'?
uuid_t uuid;
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h:31:31: note: 'uid_t' declared here
typedef __darwin_uid_t uid_t;
^
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ilibuv/include -pthread -I"/Users/winston/R/3.6/Rcpp/include" -I"/Users/winston/R/3.6/BH/include" -I"/Users/winston/R/3.6/later/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -g -O0 -Wall -c uvutil.cpp -o uvutil.o
8 errors generated.
make: *** [staticpath.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘httpuv’
* removing ‘/Users/winston/R/3.6/httpuv’
* restoring previous ‘/Users/winston/R/3.6/httpuv’
Warning in install.packages :
installation of package ‘httpuv’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/vd/0_g4hj6d7kq_fw5gd_r0ml5w0000gn/T/RtmpBjN6bK/downloaded_packages’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment