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

Compile error on Ubuntu #1849

Closed
cryptoinhero opened this issue Sep 11, 2020 · 4 comments
Closed

Compile error on Ubuntu #1849

cryptoinhero opened this issue Sep 11, 2020 · 4 comments

Comments

@cryptoinhero
Copy link

make[3]: Entering directory '/home/ubuntu/work/PIVX/src/secp256k1'
gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
gcc gen_context.o -o gen_context
./gen_context
CC src/libsecp256k1_la-secp256k1.lo
CCLD libsecp256k1.la
/usr/bin/ar: u' modifier ignored since D' is the default (see `U')
make[3]: Leaving directory '/home/ubuntu/work/PIVX/src/secp256k1'
RUSTC="" TERM=dumb build --release --manifest-path ../Cargo.toml
/bin/bash: build: command not found
Makefile:13140: recipe for target 'cargo-build' failed
make[2]: *** [cargo-build] Error 127
make[2]: Leaving directory '/home/ubuntu/work/PIVX/src'
Makefile:12614: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/work/PIVX/src'
Makefile:778: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

@furszy
Copy link

furszy commented Sep 11, 2020

Next time, please write the branch that are you compiling and the flag that you are using.
As far as can see, you are most likely missing to install cargo. Please check the new dependencies in the specific .md of your system.

@Fuzzbawls
Copy link
Collaborator

as @furszy said, you're missing the cargo binary. you can install it with

sudo apt install cargo

@habibalejalil
Copy link

same issue

@habibalejalil
Copy link

as @furszy said, you're missing the cargo binary. you can install it with

sudo apt install cargo

getting the bellow error:
Makefile:778: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

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