emv-tools icon indicating copy to clipboard operation
emv-tools copied to clipboard

fatal error: 'nettle/sha.h' file not found

Open billnie opened this issue 10 years ago • 6 comments

can't find the header file

billnie avatar Oct 27 '15 01:10 billnie

How to complie this project, can give the step? Thanks!

billnie avatar Oct 27 '15 01:10 billnie

Hello @billnie.

You need either nettle or libgcrypt installed to compile the project. Can you please provide more information -- on which system are you building, libnettle version, etc.

lumag avatar Nov 05 '15 23:11 lumag

On Rasbian, I get all the way up to 'make', and it fails here:

make  all-recursive
make[1]: Entering directory `/tmp/emv-tools-master'
Making all in data
make[2]: Entering directory `/tmp/emv-tools-master/data'
for capk in capk.txt visa.keys mastercard.keys amex.keys; do \
                sed -e 's/^\(..\):\(..\):\(..\):\(..\):\(..\) \(..\).*/\1\2\3\4\5_\6/g' $capk | while read pk; do \
                        ln -sf $capk $pk.0; \
                done; \
        done
make[2]: Leaving directory `/tmp/emv-tools-master/data'
Making all in lib
make[2]: Entering directory `/tmp/emv-tools-master/lib'
Making all in include
make[3]: Entering directory `/tmp/emv-tools-master/lib/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/emv-tools-master/lib/include'
Making all in crypto
make[3]: Entering directory `/tmp/emv-tools-master/lib/crypto'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/emv-tools-master/lib/crypto'
Making all in emu
make[3]: Entering directory `/tmp/emv-tools-master/lib/emu'
make  all-am
make[4]: Entering directory `/tmp/emv-tools-master/lib/emu'
test -f emu_lex.c || /bin/bash ../../build-aux/ylwrap emu_lex.l .c emu_lex.c -- /bin/bash /tmp/emv-tools-master/build-aux/missing --run flex
make[4]: *** [emu_lex.c] Error 1
make[4]: Leaving directory `/tmp/emv-tools-master/lib/emu'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/emv-tools-master/lib/emu'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/emv-tools-master/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/emv-tools-master'
make: *** [all] Error 2

any ideas?

quantum-x avatar Feb 02 '16 14:02 quantum-x

@quantum-x please install flex.

lumag avatar Feb 02 '16 17:02 lumag

Hi ,

Glad to receive your email.

What can I help you ?

Best regards, JavaCardOS

==================================================== JavaCardOS is dedicated to building a comprehensive Java Card platform in order to construct a complete ecosystem for smart card applications. http://www.javacardos.com/javacardforum/Online Shop https://www.javacardos.com/store/ ● Professional Community https://www.javacardos.com/javacardforum/ ● Industry News https://www.javacardos.com/news/ ● Wikipedia https://www.javacardos.com/wiki/ ● Tools https://www.javacardos.com/tools/ Facebook Homepage: JavaCardOS https://www.facebook.com/javacardos/

On Sun, Feb 25, 2018 at 8:57 AM, silverhigh1 [email protected] wrote:

hello sir i have similar problems can u email me so we can speak and discuss how we can get buy i will compensate you if needed [email protected]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lumag/emv-tools/issues/1#issuecomment-368273361, or mute the thread https://github.com/notifications/unsubscribe-auth/ANpJEQyW5FjCH0aUzuhHJ7c-J2P8jT_6ks5tYLAKgaJpZM4GWImn .

JavaCardOS avatar Mar 08 '18 02:03 JavaCardOS

Works well in combination with the atr studio bundle from ATR Studios

ATRSTUDIOS avatar Feb 29 '24 02:02 ATRSTUDIOS