|
Today I tested another way:I rewrited setup.py line 32~39 changing
"include = ["/usr/include/pcsc"] " to "include = ["/usr/local/include/PCSC"]"(I got known where pcsclite *.h being put default.).This time I got different message: running build running build_ext building 'pycsc' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -URELEASE -I/usr/local/include/PCSC -I/usr/include/python2.4 -I/usr/bin/include/python2.4 -c pycsc.c -o build/temp.linux-i686-2.4/pycsc.o pycsc.c:26: warning: `LPSTR' is deprecated (declared at /usr/local/include/PCSC/wintypes.h:58) pycsc.c: In function `pycsc_status': pycsc.c:259: warning: `LPSTR' is deprecated (declared at /usr/local/include/PCSC/wintypes.h:58) pycsc.c:266: warning: `LPSTR' is deprecated (declared at /usr/local/include/PCSC/wintypes.h:58) pycsc.c: In function `pycscobject_pycsc': pycsc.c:502: warning: `LPSTR' is deprecated (declared at /usr/local/include/PCSC/wintypes.h:58) pycsc.c:503: warning: `LPSTR' is deprecated (declared at /usr/local/include/PCSC/wintypes.h:58) pycsc.c: In function `pycscobject_listReader': pycsc.c:614: warning: `LPSTR' is deprecated (declared at /usr/local/include/PCSC/wintypes.h:58) pycsc.c:615: warning: `LPSTR' is deprecated (declared at /usr/local/include/PCSC/wintypes.h:58) pycsc.c: At top level: pycsc.c:944: warning: `LPSTR' is deprecated (declared at /usr/local/include/PCSC/wintypes.h:58) pycsc.c: In function `getReaderList': pycsc.c:946: error: `LPCSTR' undeclared (first use in this function) pycsc.c:946: error: (Each undeclared identifier is reported only once pycsc.c:946: error: for each function it appears in.) pycsc.c:946: error: syntax error before "mszGroups" pycsc.c:947: warning: `LPSTR' is deprecated (declared at /usr/local/include/PCSC/wintypes.h:58) pycsc.c:952: error: `mszGroups' undeclared (first use in this function) error: command 'gcc' failed with exit status 1 It shows that winscard.h found but many statements in pycsc.c sre deprecated. Philippe C. Martin wrote: LD_LIBRARY_PATH will not help here: I seem to recall having to link winscard.h and others from a PCSC directory to /usr/local/include.Philippe On Friday 21 April 2006 05:33 am, shoichi wrote:Sorry I have new problem again.I found the python wrapper.After downloading from http://homepage.mac.com/jlgiraud/pycsc/Pycsc.html.I typed "python setup.py build" as written in README .It will compile error: running build running build_ext building 'pycsc' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -URELEASE -I/usr/local/lib -I/usr/include/python2.4 -I/usr/bin/include/python2.4 -c pycsc.c -o build/temp.linux-i686-2.4/pycsc.o pycsc.c:22:22: winscard.h: No such file or directory ... ... ... ... Have someone also meet the situation? This time I have LD_LIBRARY_PATH=/usr/local/lib setting ok.and also compiled pcsc-perl pcsc-tools ok and running correct.I am checking the setup.py.... _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle |
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
