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

can't install or build module #29

Closed
elichai opened this issue Oct 2, 2016 · 3 comments
Closed

can't install or build module #29

elichai opened this issue Oct 2, 2016 · 3 comments

Comments

@elichai
Copy link

elichai commented Oct 2, 2016

That's the error:

$ python setup.py build
running build
running build_py
running build_ext
building 'smartcard.scard._scard' extension
swigging smartcard/scard/scard.i to smartcard/scard/scard_wrap.c
swig -python -outdir smartcard/scard -DPCSCLITE -o smartcard/scard/scard_wrap.c smartcard/scard/scard.i
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/smartcard
creating build/temp.linux-x86_64-2.7/smartcard/scard
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DVER_PRODUCTVERSION=1,9,4,0000 -DVER_PRODUCTVERSION_STR=1.9.4 -DPCSCLITE=1 -Ismartcard/scard/ -I/usr/include/PCSC -I/usr/include/python2.7 -c smartcard/scard/helpers.c -o build/temp.linux-x86_64-2.7/smartcard/scard/helpers.o
smartcard/scard/helpers.c:28:22: fatal error: winscard.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

@LudovicRousseau
Copy link
Owner

install the package pcsclite-dev

@jnaulty
Copy link

jnaulty commented Jan 6, 2020

Ran into this problem recently on ubuntu 18.04
Package to install is libpcsclite-dev

@LudovicRousseau
Copy link
Owner

Exact @jnaulty

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

3 participants