[issue45404] Undefined I_* macros of stropts.h when building Python 3.10 on Ubuntu: fail to build the fcntl module

2021-11-03 Thread Andrei Kulakov
Andrei Kulakov added the comment: Duplicate of #41105 , where two more people ran into this issue. -- nosy: +andrei.avk ___ Python tracker ___

[issue45404] Undefined I_* macros of stropts.h when building Python 3.10 on Ubuntu: fail to build the fcntl module

2021-10-14 Thread Christian Heimes
Christian Heimes added the comment: I'm glad you figured out the problem and fixed your system. Python uses autoconf (configure) to detect the presence of features. It's a standard approach. Since you had a stropts.h in your include directory, configure declared HAVE_STROPTS_H. The system

[issue45404] Undefined I_* macros of stropts.h when building Python 3.10 on Ubuntu: fail to build the fcntl module

2021-10-14 Thread Diego Alonso
Diego Alonso added the comment: I had an empty stropts.h lying around somewhere in /usr/* (can't remember where) because some programs don't compile if they don't see that file (even an empty one suffices). But Python doesn't compile if it sees it... So I deleted stropts.h and then ran

[issue45404] Undefined I_* macros of stropts.h when building Python 3.10 on Ubuntu: fail to build the fcntl module

2021-10-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is not defined on my Ubuntu 20.04 either. But stropts.h could be installed by some Ubuntu package not installed on my computer, or came from some non-standard source. On my computer: $ dlocate stropts.h manpages-posix-dev:

[issue45404] Undefined I_* macros of stropts.h when building Python 3.10 on Ubuntu: fail to build the fcntl module

2021-10-08 Thread STINNER Victor
Change by STINNER Victor : -- title: Undefined I_* macros when building 3.10 on Ubuntu? -> Undefined I_* macros of stropts.h when building Python 3.10 on Ubuntu: fail to build the fcntl module ___ Python tracker