Thank you for this great walkthrough. I am able to install shiny-server. When i try to install r-studio i get this error when i execute ./install-dependencies-debian --exclude-qt-sdk.
I use raspberry pi 3b+. I have read some replies saying that i need to add shebang line to a file. I tried to add to last file which is "subprocess.py" but it has shebang line already. Any help is appreciated.
File "/opt/rstudio-tools/depot_tools/gn.py", line 75, in <module>
sys.exit(main(sys.argv))
File "/opt/rstudio-tools/depot_tools/gn.py", line 70, in main
return subprocess.call([gn_path] + args[1:])
File "/usr/lib/python2.7/subprocess.py", line 168, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
Sorry, not that I'm aware of, I'm currently using my Pi in "production", so I can't take it down for the moment to make tests with the new Buster release.
I've tried to modify the stretch dependencies script to install in Buster, but ran into openssl issue when compiling rstudio.
After that I've switched to Raspbian Stretch Lite, did all exactly according to instructions, (only installed cmake 3.15 instead), but when compiling rstudio, next error pops out. Up to rstudio compiling part everything worked without errors.
Any ideas?
Thanks!
BUILD FAILED
/home/pi/rstudio/src/gwt/build.xml:89: Compile failed; see the compiler error output for details.
Total time: 1 minute 43 seconds
src/gwt/CMakeFiles/gwt_build.dir/build.make:57: recipe for target 'gwt_build' failed
make[2]: *** [gwt_build] Error 1
CMakeFiles/Makefile2:117: recipe for target 'src/gwt/CMakeFiles/gwt_build.dir/all' failed
make[1]: *** [src/gwt/CMakeFiles/gwt_build.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
This seems like a problem with the gwt compiler, you can try manually installing the latest compiler, I can't test this solution right now but hopefully it would point you in the right direction.
I tried everything related to swap, fresh Stretch install, instead of adding swap.1 I modified original swap to 5GB, set swapiness to 90 and 100, nothing worked.
After some search, problem was [javac] java.lang.OutOfMemoryError: Java heap space
and problem was solved using java -Xms1800m. After 14h of compiling, server works like charm.