[New-bugs-announce] [issue36360] undef HAVE_STROPTS_H in pyconfig.h.in is ignored

Shady Atef report at bugs.python.org
Tue Mar 19 05:02:02 EDT 2019


New submission from Shady Atef <shadyoatef at gmail.com>:

I have `#undef HAVE_STROPTS_H` inside pyconfig.h.in, but after configuration it's commented out in pyconfig.h. Leading into compilation error as stropts.h is not found.

It seems like the configuration phase ignores the #undef directive for a reason.

These are the configuration parameters 

./configure --prefix=/home/shatef/python/Python3.7.2/build_rh67_491 --enable-shared --with-openssl=$OPENSSL_HOME CPPFLAGS="-I/home/shatef/libs/libffi-3.2.1/build/lib/libffi-3.2.1/include"  CFLAGS="-fgnu89-inline     -D__USE_XOPEN2K8"  LDFLAGS="-L/home/shatef/libs/libffi-3.2.1/build/lib64"

Building Information:
OS: Redhat 6.7
Compiler: GCC 4.9.1

----------
components: Build
messages: 338333
nosy: Shady Atef
priority: normal
severity: normal
status: open
title: undef HAVE_STROPTS_H in pyconfig.h.in is ignored
type: compile error
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36360>
_______________________________________


More information about the New-bugs-announce mailing list