Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4060

Other projects • Re: Pigg - A GUI for interacting with Raspberry Pi GPIO Hardware

$
0
0
Thanks for sharing your project.


It isn't directly a pigg issue, but to smooth the on-ramp for RPi users running RasPiOS Bookworm, could you say a few words about installing a version of rustc capable of supporting the installation of pigg, please?

The version in the RasPiOS/Debian apt repositories is 1.63.0

Code:

david@rp54bw64full0512:~ $ apt policy rustcrustc:  Installed: 1.63.0+dfsg1-2  Candidate: 1.63.0+dfsg1-2  Version table: *** 1.63.0+dfsg1-2 500        500 http://deb.debian.org/debian bookworm/main arm64 Packages        100 /var/lib/dpkg/statusdavid@rp54bw64full0512:~ $

The minimum version demanded by the cargo installer jumps around a lot, but 1.63 is never enough -

Code:

david@rp54bw64full0512:~/Projects/pigg $ cargo install pigg --locked    Updating crates.io index  Installing pigg v0.1.0  Downloaded async-broadcast v0.7.0  Downloaded wayland-cursor v0.31.1  Downloaded bytemuck_derive v1.6.1  Downloaded ctor v0.2.8  Downloaded event-listener-strategy v0.4.0  Downloaded piper v0.2.2  Downloaded font-types v0.5.3https://www.rust-lang.org/tools/install[url][/url]  Downloaded tiny-xlib v0.2.2  Downloaded event-listener v4.0.3  Downloaded async-lock v3.3.0  Downloaded async-io v2.3.2  Downloaded wayland-sys v0.31.1  Downloaded wayland-scanner v0.31.1  Downloaded parking_lot v0.12.2  Downloaded wayland-client v0.31.2  Downloaded proc-macro2 v1.0.83  Downloaded wayland-backend v0.3.3  Downloaded polling v3.7.0  Downloaded read-fonts v0.19.1  Downloaded 19 crates (813.1 KB) in 1.63serror: failed to compile `pigg v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-installoz52Z7`Caused by:  package `winnow v0.5.40` cannot be built because it requires rustc 1.64.0 or newer, while the currently active rustc version is 1.63.0david@rp54bw64full0512:~/Projects/pigg $ cargo install pigg    Updating crates.io index  Installing pigg v0.1.0error: failed to compile `pigg v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-installKv0snw`Caused by:  package `softbuffer v0.4.3` cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is 1.63.0  Try re-running cargo install with `--locked`david@rp54bw64full0512:~/Projects/pigg $ cargo install pigg --locked    Updating crates.io index  Installing pigg v0.1.0error: failed to compile `pigg v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-install2m36Hu`Caused by:  package `half v2.4.1` cannot be built because it requires rustc 1.70 or newer, while the currently active rustc version is 1.63.0david@rp54bw64full0512:~/Projects/pigg $ cargo install pigg    Updating crates.io index  Installing pigg v0.1.0error: failed to compile `pigg v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-install9gqvU8`Caused by:  package `kurbo v0.10.4` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.63.0  Try re-running cargo install with `--locked`david@rp54bw64full0512:~/Projects/pigg $ cargo install pigg --locked    Updating crates.io index  Installing pigg v0.1.0error: failed to compile `pigg v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-installOFLvjr`Caused by:  package `softbuffer v0.4.3` cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is 1.63.0david@rp54bw64full0512:~/Projects/pigg $ cargo install pigg    Updating crates.io index  Installing pigg v0.1.0error: failed to compile `pigg v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-installIVmK7P`Caused by:  package `wayland-scanner v0.31.2` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.63.0  Try re-running cargo install with `--locked`david@rp54bw64full0512:~/Projects/pigg $ cargo install pigg --locked    Updating crates.io index  Installing pigg v0.1.0error: failed to compile `pigg v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-installXofZ2W`Caused by:  package `zvariant v4.1.1` cannot be built because it requires rustc 1.75 or newer, while the currently active rustc version is 1.63.0david@rp54bw64full0512:~/Projects/pigg $ 

An historic post in these forums, pre-dating RasPiOS Bookworm, suggests visiting https://www.rust-lang.org/tools/install

Is that still a valid recommendation?

Statistics: Posted by B.Goode — Tue Jun 04, 2024 8:40 am



Viewing all articles
Browse latest Browse all 4060

Trending Articles