HenrikBengtsson / CBI-software

A Scientific Software Stack for HPC (CentOS oriented)
https://wynton.ucsf.edu/hpc/software/software-repositories.html
5 stars 2 forks source link

rstudio-server: installation issues #77

Closed HenrikBengtsson closed 1 year ago

HenrikBengtsson commented 1 year ago
$ make install
...
[100%] Building CXX object src/cpp/server/crash-handler-proxy/CMakeFiles/crash-handler-proxy.dir/CrashHandlerProxyMain.cpp.o
[100%] Linking CXX executable crash-handler-proxy
make[3]: Leaving directory '/tmp/hb/20220929/rstudio-server-2022.07.2-576/build'
[100%] Built target crash-handler-proxy
make[2]: Leaving directory '/tmp/hb/20220929/rstudio-server-2022.07.2-576/build'
make[1]: Leaving directory '/tmp/hb/20220929/rstudio-server-2022.07.2-576/build'
cd "/tmp/hb/20220929/rstudio-server-2022.07.2-576/build"; \
make install
make[1]: Entering directory '/tmp/hb/20220929/rstudio-server-2022.07.2-576/build'
-- GLOB mismatch!
-- Building RStudio 2022.09.999-dev+999
-- Machine architecture: x86_64
-- CMake build type: Release
fatal: not a git repository (or any of the parent directories): .git
-- Using RStudio tools root: /opt/rstudio-tools/x86_64
-- Configured to build GWT
-- Using GWT module: org.rstudio.studio.RStudio
-- Using ant: /usr/bin/ant
-- Configured to install GWT
CMake Error at src/cpp/CMakeLists.txt:222 (message):
  yaml-cpp not found (re-run dependencies script to install)

-- Configuring incomplete, errors occurred!
See also "/tmp/hb/20220929/rstudio-server-2022.07.2-576/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/hb/20220929/rstudio-server-2022.07.2-576/build/CMakeFiles/CMakeError.log".
make[1]: *** [Makefile:474: cmake_check_build_system] Error 1
make[1]: Leaving directory '/tmp/hb/20220929/rstudio-server-2022.07.2-576/build'
make: *** [Makefile:52: /home/hb/shared/software/CBI/rstudio-server-2022.07.2-576/bin/rserver] Error 2
HenrikBengtsson commented 1 year ago
export RSTUDIO_TOOLS_ROOT=/tmp/hb/20220929/rstudio-server-2022.07.2-576/rstudio-tools

seems to workaround the problem.