R version 3.5.2 (2018-12-20) -- "Eggshell Igloo" Copyright (C) 2018 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin15.6.0 (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. [R.app GUI 1.70 (7612) x86_64-apple-darwin15.6.0] [History restored from /Users/fakhrikhanlarzade/.Rapp.history] > install.packages('Rserve',,"http://rforge.net/",type="source") trying URL 'http://rforge.net/src/contrib/Rserve_1.8-6.tar.gz' Content type 'application/x-gzip' length 497829 bytes (486 KB) ================================================== downloaded 486 KB * installing *source* package ‘Rserve’ ... checking whether to compile the server... yes checking whether to compile the client... no checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directoryyes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking whether time.h and sys/time.h may both be included... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking return type of signal handlers... void checking for memset... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for socket... yes checking for srandomdev... yes checking for library containing crypt... none required checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking for socklen_t... yes checking for connect... yes checking whether to enable IPv6... no checking for dlopen in -ldl... yes checking openssl/rsa.h usability... no checking openssl/rsa.h presence... no checking for openssl/rsa.h... no checking openssl/ssl.h usability... no checking openssl/ssl.h presence... no checking for openssl/ssl.h... no checking whether threads are desired... yes checking for working threads support... checking build system type... x86_64-apple-darwin18.2.0 checking host system type... x86_64-apple-darwin18.2.0 checking if compiler needs -Werror to reject unknown flags... yes checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for PTHREAD_PRIO_INHERIT... yes yes configure: creating ./config.status config.status: creating src/Makevars config.status: creating src/client/cxx/Makefile config.status: creating src/config.h ** libs clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c RSserver.c -o RSserver.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c Rserv.c -o Rserv.o Rserv.c:2994:6: warning: unused variable 'type' [-Wunused-variable] int type = 0; ^ Rserv.c:3350:8: warning: variable 'i' is uninitialized when used here [-Wuninitialized] if (i < plen) { ^ Rserv.c:3268:22: note: initialize the variable 'i' to silence this warning size_t plen = 0, i; ^ = 0 Rserv.c:360:13: warning: unused variable 'authkey' [-Wunused-variable] static char authkey[1024]; /* server-side authentication key */ ^ Rserv.c:361:12: warning: unused variable 'authkey_req' [-Wunused-variable] static int authkey_req = 0; /* number of auth requests */ ^ Rserv.c:592:12: warning: unused function 'fork_http' [-Wunused-function] static int fork_http(args_t *arg) { ^ Rserv.c:608:12: warning: unused function 'fork_https' [-Wunused-function] static int fork_https(args_t *arg) { ^ Rserv.c:624:12: warning: unused function 'fork_ws' [-Wunused-function] static int fork_ws(args_t *arg) { ^ Rserv.c:670:13: warning: unused function 'generate_addr' [-Wunused-function] static void generate_addr(rsmsg_addr_t *addr) { ^ Rserv.c:699:28: warning: unused variable 'NaStringRepresentation' [-Wunused-const-variable] static const unsigned char NaStringRepresentation[2] = { 255, 0 }; ^ 9 warnings generated. clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c base64.c -o base64.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c http.c -o http.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c ioc.c -o ioc.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c md5.c -o md5.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c oc.c -o oc.o oc.c:127:10: warning: unused variable 'res' [-Wunused-variable] SEXP res; ^ 1 warning generated. clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c qap_decode.c -o qap_decode.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c qap_encode.c -o qap_encode.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c rsio.c -o rsio.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c session.c -o session.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c sha1.c -o sha1.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c standalone.c -o standalone.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c tls.c -o tls.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c ulog.c -o ulog.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c utils.c -o utils.o clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c websockets.c -o websockets.o In file included from websockets.c:8: ./rserr.h:20:13: warning: unused function 'RSEprintf' [-Wunused-function] static void RSEprintf(const char *format, ...) { ^ 1 warning generated. clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -c winembed.c -o winembed.o clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o Rserve.so RSserver.o Rserv.o base64.o http.o ioc.o md5.o oc.o qap_decode.o qap_encode.o rsio.o session.o sha1.o standalone.o tls.o ulog.o utils.o websockets.o winembed.o -ldl -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation clang -DSTANDALONE_RSERVE -DDAEMON -I. -Iinclude -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -I/usr/local/include -Wall -g -O2 -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -o Rserve standalone.c md5.c session.c qap_decode.c qap_encode.c sha1.c base64.c websockets.c RSserver.c tls.c http.c oc.c rsio.c ulog.c ioc.c utils.c -ldl -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation -ldl In file included from standalone.c:6: ./Rserv.c:2994:6: warning: unused variable 'type' [-Wunused-variable] int type = 0; ^./Rserv.c:3350:8: warning: variable 'i' is uninitialized when used here [-Wuninitialized] if (i < plen) { ^ ./Rserv.c:3268:22: note: initialize the variable 'i' to silence this warning size_t plen = 0, i; ^ = 0 ./Rserv.c:670:13: warning: unused function 'generate_addr' [-Wunused-function] static void generate_addr(rsmsg_addr_t *addr) { ^ 3 warnings generated. In file included from websockets.c:8: ./rserr.h:20:13: warning: unused function 'RSEprintf' [-Wunused-function] static void RSEprintf(const char *format, ...) { ^ 1 warning generated. oc.c:127:10: warning: unused variable 'res' [-Wunused-variable] SEXP res; ^1 warning generated. clang -DSTANDALONE_RSERVE -DRSERV_DEBUG -DNODAEMON -I. -Iinclude -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -I/usr/local/include -fPIC -Wall -g -O2 -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -o Rserve.dbg standalone.c md5.c session.c qap_decode.c qap_encode.c sha1.c base64.c websockets.c RSserver.c tls.c http.c oc.c rsio.c ulog.c ioc.c utils.c -ldl -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation -ldl In file included from standalone.c:6: ./Rserv.c:2994:6: warning: unused variable 'type' [-Wunused-variable] int type = 0; ^./Rserv.c:3350:8: warning: variable 'i' is uninitialized when used here [-Wuninitialized] if (i < plen) { ^ ./Rserv.c:3268:22: note: initialize the variable 'i' to silence this warning size_t plen = 0, i; ^ = 0 ./Rserv.c:670:13: warning: unused function 'generate_addr' [-Wunused-function] static void generate_addr(rsmsg_addr_t *addr) { ^ 3 warnings generated. In file included from websockets.c:8: ./rserr.h:20:13: warning: unused function 'RSEprintf' [-Wunused-function] static void RSEprintf(const char *format, ...) { ^ 1 warning generated. oc.c:127:10: warning: unused variable 'res' [-Wunused-variable] SEXP res; ^ 1 warning generated. ./mergefat Rserve "/Library/Frameworks/R.framework/Resources/bin/Rserve" ./mergefat Rserve.dbg "/Library/Frameworks/R.framework/Resources/bin/Rserve.dbg" make -C proxy 'CC=clang' 'CPPFLAGS=-I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread' CFLAGS='-Wall -g -O2 -D_THREAD_SAFE -pthread' 'LIBS=-ldl ' && cp -p proxy/forward . ln -sfn ../ulog.h ulog.h clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o forward.o forward.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o http.o http.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o http_tools.o http_tools.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o server.o server.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o tls.o tls.c ln -sfn ../md5.h md5.h ln -sfn ../sha1.h sha1.h ln -sfn ../base64.c base64.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o websockets.o websockets.c ln -sfn ../md5.c md5.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o md5.o md5.c ln -sfn ../sha1.c sha1.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o sha1.o sha1.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o base64.o base64.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o date.o date.c ln -sfn ../ulog.c ulog.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o ulog.o ulog.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o chandler.o chandler.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -I.. -DFORKED -I/usr/local/include -DRSERVE_PKG -I. -Iinclude -D_THREAD_SAFE -pthread -c -o rscript.o rscript.c clang -Wall -g -O2 -D_THREAD_SAFE -pthread -o forward forward.o http.o http_tools.o server.o tls.o websockets.o md5.o sha1.o base64.o date.o ulog.o chandler.o rscript.o -ldl -lssl ld: library not found for -lssl clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [forward] Error 1 make: *** [all] Error 2 ERROR: compilation failed for package ‘Rserve’ * removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rserve’ * restoring previous ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rserve’ The downloaded source packages are in ‘/private/var/folders/33/llzp6ld517v5jj5mtt2672sc0000gn/T/Rtmp3eCk8r/downloaded_packages’ Warning message: In install.packages("Rserve", , "http://rforge.net/", type = "source") : installation of package ‘Rserve’ had non-zero exit status >