Carsten Gaebler wrote: > I've tried to compile Python 2.1 on my Linux machine, but make says: > > gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I. > -I/root/Python-2.1/./Include -I/usr/local/include -IInclude/ -c > /root/Python-2.1/Modules/socketmodule.c:178: netpacket/packet.h: No such > file or directory > After browsing through my system's header files I have replaced #include <netpacket/packet.h> with #include <net/if_packet.h> in socketmodule.c. Now it compiles and seems to work - at least test_socket succeeds. Is it ok to use if_packet.h instead of packet.h? cg.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4