Isaacdelly / Plutus

An automated bitcoin wallet collider that brute forces random wallet addresses
1.15k stars 527 forks source link

fastecdsa install on Ubuntu 22.04 broken #273

Closed GoZippy closed 1 year ago

GoZippy commented 1 year ago

Running new version of your code now - see you added dependency requirements.txt and added starkbank-ecdsa==0.1.4

I had to install gcc first (duh) then now I get this error for no such header "gmp.h" in that build attempt. Looking for similar issues on tracker but all discussion is for Windows compile. Please advise.

`` building 'fastecdsa.curvemath' extension creating build/temp.linux-x86_64-3.10 creating build/temp.linux-x86_64-3.10/src x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/ -I/usr/include/python3.10 -c src/curve.c -o build/temp.linux-x86_64-3.10/src/curve.o -O2 In file included from src/curve.c:1: src/curve.h:4:10: fatal error: gmp.h: No such file or directory 4 | #include "gmp.h" | ^~~ compilation terminated. error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> fastecdsa ``

GoZippy commented 1 year ago

Fixed with install libgmp3-dev