-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed compile for ubuntu20.04 on raspberry pi 4 #4
Comments
Update:2021/08/17 Follow this one But I use VERS=v1.4.1106 instead.
|
Hi, I got this error while following your guide and running Please set them or make sure they are set and tested correctly in the CMake files:
SOCI_CORE_LIB
linked by target "rstudio-core-tests" in directory /root/rstudio-v1.4.1106/src/cpp/core
linked by target "rstudio-core" in directory /root/rstudio-v1.4.1106/src/cpp/core
linked by target "rserver" in directory /root/rstudio-v1.4.1106/src/cpp/server
SOCI_POSTGRESQL_LIB
linked by target "rstudio-core-tests" in directory /root/rstudio-v1.4.1106/src/cpp/core
linked by target "rstudio-core" in directory /root/rstudio-v1.4.1106/src/cpp/core
linked by target "rserver" in directory /root/rstudio-v1.4.1106/src/cpp/server
SOCI_SQLITE_LIB
linked by target "rstudio-core-tests" in directory /root/rstudio-v1.4.1106/src/cpp/core
linked by target "rstudio-core" in directory /root/rstudio-v1.4.1106/src/cpp/core
linked by target "rserver" in directory /root/rstudio-v1.4.1106/src/cpp/server
-- Configuring incomplete, errors occurred!
See also "/root/rstudio-v1.4.1106/build/CMakeFiles/CMakeOutput.log".
See also "/root/rstudio-v1.4.1106/build/CMakeFiles/CMakeError.log". Here is CMakeError.log
|
Compiling |
Thanks, I tried that, but it still shows the same error. |
Try |
That did not help either. :( |
Hmmm ... I don't have a Raspberry Pi - I have a Jetson but it's running 18.04 and I haven't seen this error. I did run into the libpq one though |
I am using Ubuntu 20.04 on an Oracle cloud ARM machine. It gives 24 GB RAM and a 4 core CPU as always free. This one worked, but I can't change the default username and password: |
Hmmm ... how much RAM is in the Raspberry Pi? It's been a while but I used to have RStudio Server builds crash on my 4 GB Jetson Nano because the Java steps ran out of RAM. |
You may get up to 8 GB on a raspberry pi. Better is to sign up for oracle cloud always free tier. Use this one; it's the best for ARM: |
My guide is specific working only for v1.4.1106 and Ubuntu 20.04 LTS. When you compile the latest version rather than v1.4.1106, it will come out with these 3 LIB missing errors.
|
@myfingerhurt My build process is now working for Ubuntu 18.04 LTS and v1.4.1717 (NVIDIA Jetson). I believe the same scripts will work on 20.04 LTS. They're essentially the same as the ones that come in the RStudio source except:
I have a bit more documentation to clean up and some more testing but it seems to be working. In particular I haven't had any problems with soci. There are some build dependencies; you need at least |
@myfingerhurt I used the docker one because it's easy to deploy and works. I am a stats guy with limited computer knowledge. Also, it's quick to deploy. Can you share the arm64 binary you built on oracle ampere, maybe in a repo, so that I may deploy it without needing to build it separately? |
Ah ... interesting. I looked at it and he may be getting the binaries indirectly from my Jetson Docker image ... more motivation for me to document it, especially because of RStudio's AGPL-3 licensing. My source is available here on GitHub but there are some files now that I've hacked from the RStudio source. In an ideal world there'd be free / low cost CI tools for |
Here is what you requested.
|
Thank you. I'll try using this. |
How can I compile rstudio-server on raspberry pi 4?
I try this script but it doesn't work
The text was updated successfully, but these errors were encountered: