ยง2024-12-17

On a newly built Hc4odroid runing ubuntu noble fished making the compiling RSTudio from source codes. It has used cmake .. -DRSTUDIO_TARGET=Server -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/rstudio from a build directory.

  1. make install
alexlai@hc4Noble:~/build/rstudio/build$ echo 'alex1765' | sudo -S  make install > make_install.log 2>&1 &
$ ls -l /opt/
total 0
drwxr-xr-x 9 root root 190 Dec 17 08:15 rstudio
drwxr-xr-x 3 root root  21 Dec 16 15:23 rstudio-tools
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.22/Modules/FindBoost.cmake:2360 (find_package_handle_standard_args)
  src/cpp/CMakeLists.txt:299 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/alexlai/build/rstudio/build/CMakeFiles/CMakeOutput.log".
See also "/home/alexlai/build/rstudio/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:967: cmake_check_build_system] Error 1
sudo apt update
sudo apt install libboost-all-dev
echo 'alex1765' | sudo -S  make install > make_install.log 2>&1 &


> please put into conda control and install nodejs > 

$ conda activate R-4.4 $ conda install -c conda-forge nodejs $ $ which node /home/alexlai/anaconda3/envs/R-4.4/bin/node (R-4.4) alexlai@Jetson:~/build/rstudio/build$ node --version v22.12.0