A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/086250.html below:

Python 2.1: cannot compile socket module

Python 2.1: cannot compile socket module Python 2.1: cannot compile socket moduleCarsten Gaebler cg at schlund.de
Thu Apr 19 09:09:22 EDT 2001
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.

More information about the Python-list mailing list

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