I have used link1 and link2 and keep getting errors on cmake .. -DRSTUDIO_TARGET=Server -DCMAKE_BUILD_TYPE=Release.
Error:
CMake Error at /usr/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.6/Modules/FindOpenSSL.cmake:380 (find_package_handle_standard_args)
src/cpp/core/CMakeLists.txt:204 (find_package)
CMakeError.log:
Determining if the function getpeereid exists failed with the following output:
Change Dir: /home/pi/Downloads/rstudio/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d7cd2/fast"
/usr/bin/make -f CMakeFiles/cmTC_d7cd2.dir/build.make
CMakeFiles/cmTC_d7cd2.dir/build
make[1]: Entering directory '/home/pi/Downloads/rstudio/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d7cd2.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=getpeereid -o
CMakeFiles/cmTC_d7cd2.dir/CheckFunctionExists.c.o -c /usr/share$
Linking C executable cmTC_d7cd2
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d7cd2.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=getpeereid
CMakeFiles/cmTC_d7cd2.dir/CheckFunctionExists.c.o -o cmTC_d7cd2 -rd$
CMakeFiles/cmTC_d7cd2.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x14): undefined reference to `getpeereid'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_d7cd2.dir/build.make:97: recipe for target 'cmTC_d7cd2' failed
make[1]: *** [cmTC_d7cd2] Error 1
make[1]: Leaving directory '/home/pi/Downloads/rstudio/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_d7cd2/fast' failed
make: *** [cmTC_d7cd2/fast] Error 2