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

MacOS build fail #125

Open
sbzi1020 opened this issue Jul 3, 2021 · 3 comments
Open

MacOS build fail #125

sbzi1020 opened this issue Jul 3, 2021 · 3 comments

Comments

@sbzi1020
Copy link

sbzi1020 commented Jul 3, 2021

Hi there, I love this thing but I can't install it, plz have a look and give me help on this, many thanks:)

I've already gone through the steps in #90`, but no luck:

# Install the libs
brew install gst-editing-services gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly gstreamer gst-rtsp-server libsixel

# Install as #90 says
PKG_CONFIG_PATH='/Library/Frameworks/GStreamer.framework/Versions/Current/lib/pkgconfig' cargo +nightly install hunter

# Install in the normal way
cargo +nightly install hunter

# Install only enable the `img` feature
cargo install --no-default-features --features=img hunter

All point to the same error below:

Screen Shot 2021-07-04 at 11 41 06 AM

@ilyakmet
Copy link

ilyakmet commented Sep 1, 2021

Same

@afd-bai
Copy link

afd-bai commented Sep 6, 2021

The problem you're running into stems from the fact that NoneError has been removed from Rust. If you want a quick fix, you should try installing the program by cloning this repository and using an older nightly version, like nightly-2020-06-04.

git clone https://github.com/rabite0/hunter.git
rustup install nightly-2020-06-04 
rustup override set nightly-2020-06-04
cargo build --release

The resulting binary will be in target/release/hunter. You can copy it to a directory in the PATH variable if you want to run it with the command hunter in your terminal.

@d3-X-t3r
Copy link

d3-X-t3r commented Sep 18, 2021

Unfortunately the solution provided by @afd-bai doesn't work on Apple Silicon machines.

rustup install nightly-2020-06-04 
info: syncing channel updates for 'nightly-2020-06-04-aarch64-apple-darwin'
info: latest update on 2020-06-04, rust version 1.45.0-nightly (56daaf669 2020-06-03)
error: target 'aarch64-apple-darwin' not found in channel.  Perhaps check https://doc.rust-lang.org/nightly/rustc/platform-support.html for available targets

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