[issue27667] subprocess32 unable to be installed via pip and python install

2016-08-02 Thread Cambridge

New submission from Cambridge:

OS:RHEL 5.11
PYTHON:2.7.11/12

When i use pip or python install to install this extension:
pip install subprocess32-3.2.7.tar.gz

The error messages:

Processing ./subprocess32-3.2.7.tar.gz
Installing collected packages: subprocess32
  Running setup.py install for subprocess32 ... error
Complete output from command /usr/bin/python -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-ekkMER-build/setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
install --record /tmp/pip-EebZzY-record/install-record.txt 
--single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying subprocess32.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_posixsubprocess' extension
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes -fPIC -I/usr/local/python-2.7/include/python2.7 -c 
_posixsubprocess.c -o build/temp.linux-x86_64-2.7/_posixsubprocess.o
_posixsubprocess.c: In function 'subprocess_cloexec_pipe':
_posixsubprocess.c:764: warning: implicit declaration of function 'pipe2'
_posixsubprocess.c:764: error: 'O_CLOEXEC' undeclared (first use in this 
function)
_posixsubprocess.c:764: error: (Each undeclared identifier is reported only 
once
_posixsubprocess.c:764: error: for each function it appears in.)
error: command 'gcc' failed with exit status 1


Command "/usr/bin/python -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-ekkMER-build/setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
install --record /tmp/pip-EebZzY-record/install-record.txt 
--single-version-externally-managed --compile" failed with error code 1 in 
/tmp/pip-ekkMER-build/

--
components: Extension Modules
messages: 271812
nosy: ldrljq
priority: normal
severity: normal
status: open
title: subprocess32 unable to be installed via pip and python install
type: compile error
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue27667>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27667] subprocess32 unable to be installed via pip and python install

2016-08-02 Thread Cambridge

Cambridge added the comment:

If 3.2.7 don't support RHEL5?

--
nosy: +gregory.p.smith

___
Python tracker 
<http://bugs.python.org/issue27667>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com