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

Can't use the make command on arch #144

Closed
Aquavortqx opened this issue Mar 11, 2023 · 2 comments
Closed

Can't use the make command on arch #144

Aquavortqx opened this issue Mar 11, 2023 · 2 comments

Comments

@Aquavortqx
Copy link

im using CachyOS Linux x86_64
and my shell is fish 3.6.0

when i cd into the spotify-adblock dir and use the make command i get this error even though rust and cargo are installed

# cargo build --profile release cargo build --release make: cargo: No such file or directory make: *** [Makefile:14: target/release/libspotifyadblock.so] Error 127

i think this has something to do with the shell since after installing rust and cargo i got this bunch of text

`To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, run:
source "$HOME/.cargo/env"`

but i do not know what any of that means...bc im relatively a newbie user and google didnt seem to help too

any help would be much appreciated.

@Fulcrum21
Copy link

Fulcrum21 commented Mar 12, 2023

since you're on fish, running source $HOME/.cargo/env will not work, so to use cargo in your shell, run this command: fish_add_path $HOME/.cargo/bin

see: rust-lang/rustup#478

@Aquavortqx
Copy link
Author

yooo thanks man...see im very bad at finding solutions for linux using google...thank you a lot for the help <3

have a good one and cheers mate

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

2 participants