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

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

Open
billnie opened this issue Oct 27, 2015 · 6 comments
Open

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

billnie opened this issue Oct 27, 2015 · 6 comments

Comments

@billnie
Copy link

billnie commented Oct 27, 2015

can't find the header file

@billnie
Copy link
Author

billnie commented Oct 27, 2015

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

@lumag
Copy link
Owner

lumag commented Nov 5, 2015

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
Copy link

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
Copy link
Owner

lumag commented Feb 2, 2016

@quantum-x please install flex.

@JavaCardOS
Copy link

JavaCardOS commented Mar 8, 2018 via email

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

6 participants
@lumag @quantum-x @billnie @JavaCardOS and others