Skip to content
This repository was archived by the owner on Dec 9, 2018. It is now read-only.
This repository was archived by the owner on Dec 9, 2018. It is now read-only.

Shell syntax error whilst running ruststrap binaries with multirust #41

@Von-Cheam

Description

@Von-Cheam

So this is probably an error of my own making (they usually are..), but I can't seem to get rustc (or rustdoc, or cargo) to run using the arm binaries via multirust.

~$ rustc -V
rustc 1.3.0-nightly (e4e93196e 2015-07-14)
~$ multirust default arm-nightly
multirust: using existing install for 'arm-nightly'
multirust: default toolchain set to 'arm-nightly'
~$ rustc -V
~/.multirust/toolchains/arm-nightly/bin/rustc: 1: ~/.multirust/toolchains/arm-nightly/bin/rustc: Syntax error: word unexpected (expecting ")")

Trying to run cargo and rustdoc give the same error. I've not very experienced (this is in fact my first time installing or using Rust) but it seems odd to me to get a Bash syntax error when running a binary, isn't it? The only other odd thing I've noticed is that multirust doesn't seem to create man pages for rustc, cargo etc.; wondering whether I've botched something in the installation somehow that may be affecting usage of certain toolchains?

That being said, a reinstallation of multirust and use of different binaries (as below) didn't seem to help. I've tried both 1.1.0 and also the following:

cargo-2015-07-13-aa6967f-arm-unknown-linux-gnueabihf-de1562383e82bad5d79ab8f6e1e3119f285fde29
rust-2015-07-13-7ea2674-arm-unknown-linux-gnueabihf-77b6b7491fa78c3013b69ff476b9b8401fd1264d

My system is an old netbook running Lubuntu 14.04 (definitely too slow to build from source upon!) My goal is to be able to cross-compile for the (ARMv6) Raspberry Pi, but I haven't done anything other than follow the Ruststrap Readme instructions, so far! If there's any further information I ought to give, to get assistance, I'll gladly do so. Similarly, if Github isn't the appropriate place to post newbie questions like this, any advice on whereabouts I ought to go to ask for help would be very much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions