lumag / emv-tools

Tools to work with EMV bank cards
GNU Lesser General Public License v2.1
76 stars 49 forks source link

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

Open billnie opened 9 years ago

billnie commented 9 years ago

can't find the header file

billnie commented 9 years ago

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

lumag commented 9 years ago

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.

quantum-x commented 8 years ago

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?

lumag commented 8 years ago

@quantum-x please install flex.

JavaCardOS commented 6 years ago

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 notifications@github.com 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 silverhigh1@gmail.com

— 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 .