为 python 2.7 编译 libdnet
我正在尝试在 win32 python2.7 上使用 scapy
我已经设法编译所有其他依赖项,希望这个依赖项
可以帮助实现此可执行文件的目标? “dnet-1.12.win32-py2.7.exe”
(我保证也会更新这个问题和 scapy 手册,
使用 Python 2.7 在 Windows 上运行 Scapy)
更新:
我已经成功地用 mingw32 编译它 我正在使用 vs2005,我必须对 libdnet 进行一些修复才能实际工作(看起来上次他们在 Windows 上编译它是使用 vs6.0
我将尝试更新 scapy 手册...(并将可执行文件上传到那里)
I'm trying to use scapy on win32 python2.7
I've manage to compile all the other dependencies expect this one
can some help in the goal of reaching this executable ?
"dnet-1.12.win32-py2.7.exe"
(I promise to update the this question too and the scapy manual,
Running Scapy on Windows with Python 2.7)
Update:
I've managed to compile it with mingw32
I'm using vs2005, and I have to make some fixes to libdnet to actually work (look like last time they compiled it on windows it was with vs6.0
I'll try updating scapy manual... (and upload the executables to there)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您阅读了 README 文件吗?从 http://prdownloads.sourceforge.net/libdnet/ 下载源 tarball libdnet-1.11.tar.gz?下载,解压并查看自述文件:
正如您很可能注意到的那样,您将需要 Cygwin+MinGW。我不知道你想要 MinGW 本机库还是 Microsoft Visual C++ 本机库。另请注意,您必须使用 C:/Python27/python.exe 来构建它。
如果你尝试这样做,我猜你可以提出一个具体的问题,你最有可能(但不是 100% 必须)最好将其放入一个新问题中,如果你有编译问题,最好询问 libdnet 的邮件列表。
Did you read the README file? Download the source tarball from http://prdownloads.sourceforge.net/libdnet/libdnet-1.11.tar.gz?download, extract it and see README:
As you most likely noticed you will need Cygwin+MinGW. I don't know whether you want the MinGW native lib or the Microsoft Visual C++ native lib. Also note that you have to use the C:/Python27/python.exe to build it.
If you try this, you can come up with a concrete problem I guess, which you most likely, but not 100% necessarly, better put into a new question and might better ask the mailing list of libdnet if you have compilation problems.
Dirk Loss 提供Python 2.7 dnet 包的 Windows 安装程序。与 Python 2.7 的 pypcap 软件包的 Windows 安装程序一起使用能够在 Windows 上的 Python 2.7 上成功运行 Scapy。
Dirk Loss provides an Windows installer for the dnet package for Python 2.7. Together with the Windows installer for the pypcap package for Python 2.7 I was able to run Scapy successfully on Python 2.7 on Windows.