limifly / pypcap

Exported from
http://code.google.com/p/pypcap
Other
0 stars 0 forks source link

Pypcap on Mac OS X and Python 2.7 #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
How to install Pypcap under mac os x and python 2.7? When I run python setup.py 
install I got the following error:
llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common 
-fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG 
-Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall 
-Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe 
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
pcap_ex.c -o build/temp.macosx-10.7-intel-2.7/pcap_ex.o
pcap_ex.c: In function ‘pcap_ex_fileno’:
pcap_ex.c:165: error: dereferencing pointer to incomplete type
pcap_ex.c: In function ‘pcap_ex_next’:
pcap_ex.c:253: error: dereferencing pointer to incomplete type
pcap_ex.c: In function ‘pcap_ex_fileno’:
pcap_ex.c:165: error: dereferencing pointer to incomplete type
pcap_ex.c: In function ‘pcap_ex_next’:
pcap_ex.c:253: error: dereferencing pointer to incomplete type
lipo: can't open input file: /var/tmp//ccv9vsmB.out (No such file or directory)
error: command 'llvm-gcc-4.2' failed with exit status 1

Original issue reported on code.google.com by rmoritz...@gmail.com on 11 May 2012 at 9:28

GoogleCodeExporter commented 9 years ago
You may be interested in http://code.google.com/p/pypcap/issues/detail?id=40

Original comment by hell...@gmail.com on 9 Dec 2012 at 12:46