Nick Papior added the comment:
FYI:
The problem arises since Intel adds a library path to:
../clck/2019.2.1/lib/intel64/
which has libutil.so!
This means that the Intel compiler *may* not find OpenPTY since that may
optionally be placed in libutil.so...
Simply removing the path from the
New submission from Nick Papior :
When trying to compile Python without OpenPTY and without stropts.h the
compilation fails at Modules/posixmodule.c.
Apparently there is a failed logic in the def's.
It goes something like this:
#ifdef HAVE_OPENPTY
...
#elif defined(HAVE__GETPTY)
...
#else