Skip to content
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

Add binary for arm64 #63

Open
MVasuki1 opened this issue Jul 5, 2023 · 3 comments
Open

Add binary for arm64 #63

MVasuki1 opened this issue Jul 5, 2023 · 3 comments

Comments

@MVasuki1
Copy link

MVasuki1 commented Jul 5, 2023

Add binary for arm64 or include build instructions in README

@OL-Mark
Copy link

OL-Mark commented Jul 6, 2023

@MVasuki1 I had the same question.

  1. Install rustup curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh session relogin is needed
  2. Do git clone https://github.com/glotlabs/gdrive.git
  3. open project folder cd ./gdrive
  4. compile cargo build --release
  5. install binary sudo install target/release/gdrive /usr/bin/gdrive
  6. run gdrive version
gdrive 3.9.0
Commit: f53c38a1e2ebdece4e2e68c64c957b1de8888dc6
Rust: 1.70.0
Arch: aarch64
OS: linux

@buzzbo
Copy link

buzzbo commented Aug 13, 2023

I get this error.

$ cargo build --release

    Updating crates.io index
    Updating git repository `https://github.com/prasmussen/google-apis-rs`
error: failed to get `google-drive3` as a dependency of package `gdrive v3.9.0 (/home/pi/git/gdrive)`

Caused by:
  failed to load source for dependency `google-drive3`

Caused by:
  Unable to update https://github.com/prasmussen/google-apis-rs?branch=resumable-fix#1f754445

Caused by:
  failed to create directory `/home/pi/.cargo/git/db/google-apis-rs-9de08c63e04c0b9f`

Caused by:
  Permission denied (os error 13)

@victorlcasilva
Copy link

victorlcasilva commented Aug 15, 2023

@buzzbo you can always run the build using rust's official docker image (https://hub.docker.com/_/rust). Here's an example (considering you've already cloned the gdrive git repo):

host$ cd gdrive
host$ docker run -it --rm -v $(pwd):/app rust bash
container$ cd app
container$ cargo build --release
container$ cd target/release/
container$ ./gdrive version
gdrive 3.9.0
Commit: 5735c25437e657b4fd881814dfcbd8b68312c072
Rust: 1.71.1
Arch: aarch64
OS: linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants