-
Notifications
You must be signed in to change notification settings - Fork 2
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
prqlr fails to compile on Linux arm64 #88
Comments
Thank your for letting me know about that! I believe this is actually an extendr issue, since this package does not use libR-sys directly. |
Sadly, I get the same error message. My hope was that compilation options for |
Those files come from rextendr. |
The problem is both |
I created a PR to add libR-sys bindings for linux/arm64 (extendr/libR-sys#133) |
The new |
The version of extendr is fixed here. This needs to be updated. |
It appears that extendr 0.4.0 has not yet been released to crates.io. |
#90 should allow installation on arm64 Linux. |
I tested it on RPi OS, and it is working great! |
Wow, that's fantastic! |
prqlr 0.2.1 is now on CRAN. |
Now compilation fails on RPi OS because of the cargo version
It would be possible for you to lower the version requirement? |
The version of Rust is too old (older than 1.56 !?). The Rust version of Debian stable is too old, so if you install it with apt, you will need to install from testing at least. |
I see, I'll try to convince Mark (from R4Pi) to install Rust with rustup. rustup installs per user and when I used prqlr on RStudio with my personal user rather than Pi, it worked normally. As far as I can tell, once the package is installed an up to date Rust version is no longer required right? |
Thank you for doing this. The Rust version of Debian stable is really too old... (See #49) I am currently continuing to patch prql-compiler with every release of prqlr to make it buildable on older Rust versions.......
Yes, it is required at source code build time. |
FYI, a binary for aarch64 is available now in the R4Pi package repository. It took a little while because we had to figure out some infrastructure management issues to make sure Rust can be installed consistently in the builder server without manual intervention. |
@andresrcs Awesome! Thank you for working on that! |
@andresrcs FYI, prqlr can be source install without Rust now. Sys.setenv(NOT_CRAN = "true")
install.packages("prqlr") |
Thanks for the heads up. I do not compile |
prqlr
complains about the Rust version that comes from the OS repositories on Debian-based distros (tried with Ubuntu 22.04 LTS and RPi OS) but even after installing the latest Rust version withrustup
(which solves the problem for Linux amd64) compilation still fails on arm64 with this error message.The text was updated successfully, but these errors were encountered: