Skip to content

Some error in .maintain/scripts/* #14

@wahjoew

Description

@wahjoew

OS: Ubuntu 24.04
CPU: 4 vcpu
RAM: 8GB

.maintain/scripts/install-linux-deps.sh
When I try to run, it give me some error and give suggestion to run this command:

sudo apt install pkg-config
rustup target add wasm32-unknown-unknown --toolchain stable-x86_64-unknown-linux-gnu

.maintain/scripts/install-rust-toolchain.sh
When I try to run, it give me
.maintain/scripts/install-rust-toolchain.sh: line 75: rustc: command not found

So, I add . "$HOME/.cargo/env" in line before command rustc --version

.maintain/scripts/compile-mandala-polkadot.sh
I just add these line:

add to line 16:
ROOT=$(git rev-parse --show-toplevel)

line 42:
rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu

line 59:
cp target/release/polkadot target/release/polkadot-prepare-worker target/release/polkadot-execute-worker "$ROOT/$BINARIES_DIR/"

.maintain/scripts/start-zombienet.sh
I add before "cargo" command:
. "$HOME/.cargo/env"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions