exported / pypcap

Automatically exported from code.google.com/p/pypcap
Other
0 stars 0 forks source link

No pypcap binaries for python 3.0 #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There is no pycapc windows binaries for python 3.0

I tried to compile it myself : look like winpcap sources are needed
I tried to compile winpcap myself : look like Windows "driver SDK" is needed
For what I remember, "driver SDK" is not free, and I not willing to use it
illegally nor buy it.

(same as Issue 11, but different issue because python 2.6 probably only
need just a new compilation/packaging, while python may require some changes)

Original issue reported on code.google.com by gissehel@gmail.com on 31 Dec 2008 at 10:21

GoogleCodeExporter commented 9 years ago
Hello,

I'm having the same problem. I'm trying to compile pycap for python 3.0. 
Did you figure out smth ?

Tks

Original comment by eos...@gmail.com on 30 Apr 2009 at 1:57

GoogleCodeExporter commented 9 years ago
Try:

winpcap development is free. 
http://www.winpcap.org/install/bin/WpdPack_4_0_2.zip

1) Download MinGW32. Install to c:\wingw32
2) path=%path%;c:\wingw32\bin
3) Download winpcap development pack from above. Unzip to c:\WpdPack
4) From pypcap-1.1 directory. 
   > python .\setup.py --with-pcap="C:\WpdPack"
   > python .\setup.py build -cmingw32
   > python .\setup.py install

Original comment by johannse...@gmail.com on 19 May 2009 at 1:28

GoogleCodeExporter commented 9 years ago
I managed to make a python 3 compatible version.
Tested on windows XP with visual studio 2008, cython instead of pyrex and 
python 3.2. Works on all the test case in test.py

I attached the modified files

Original comment by pachalm...@gmail.com on 18 Aug 2011 at 1:58

Attachments:

GoogleCodeExporter commented 9 years ago
sorry,I want to ask some question that ,in my comouter when I do the four 
steps, after  the order "python .\setup.py --with-pcap="C:\WpdPack"" then find 
dos tips  " error: option --with-pcap not recognized",please help me !my email 
zhzhliyu@163.com,thanks!

Original comment by taotaolo...@gmail.com on 13 Oct 2011 at 1:44