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

error when running setup.py #254

Open
Damien455 opened this issue Apr 21, 2022 · 5 comments
Open

error when running setup.py #254

Damien455 opened this issue Apr 21, 2022 · 5 comments

Comments

@Damien455
Copy link

building 'zigbee_crypt' extension
x86_64-linux-gnu-gcc -pthread -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 -I/usr/local/include -I/usr/include -I/sw/include/ -Izigbee_crypt -I/usr/include/python3.8 -c zigbee_crypt/zigbee_crypt.c -o build/temp.linux-x86_64-3.8/zigbee_crypt/zigbee_crypt.o
x86_64-linux-gnu-gcc: error: zigbee_crypt/zigbee_crypt.c: No such file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

@taylorcenters
Copy link
Collaborator

are you able to see the file zigbee_crypt/zigbee_crypt.c ?

@Eofric
Copy link

Eofric commented May 5, 2022

I had the same issue. Installing libgcrypt-dev via apt solved it.

@Damien455
Copy link
Author

problem went away when i removed everything and redownloaded it

@freqyXin
Copy link

freqyXin commented Mar 8, 2023

Still having this issue on MacOS.

Libgcrypt-dev is not available via homebrew or macports.

building 'zigbee_crypt' extension
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/usr/local/include -I/usr/include -I/sw/include/ -Izigbee_crypt -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c zigbee_crypt/zigbee_crypt.c -o build/temp.macosx-10.9-universal2-cpython-311/zigbee_crypt/zigbee_crypt.o
zigbee_crypt/zigbee_crypt.c:15:10: fatal error: 'gcrypt.h' file not found
#include <gcrypt.h>
         ^~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1 

Any advice?

@mma4194
Copy link

mma4194 commented Nov 15, 2023

Had the same issue on Ubuntu and solved it using: sudo apt-get install -y libgcrypt-dev

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

5 participants