[issue9053] distutils compiles extensions so that Python.h cannot be found

2010-08-28 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
stage:  - committed/rejected

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9053
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9053] distutils compiles extensions so that Python.h cannot be found

2010-08-27 Thread Jean-Paul Calderone

Jean-Paul Calderone inva...@example.invalid added the comment:

exar...@boson:~/Projects/python-signalfd/trunk$ PYTHONPATH= 
~/Projects/python/branches/py3k/python setup.py build_ext -i
running build_ext
building 'signalfd._signalfd' extension
creating build
creating build/temp.linux-i686-3.2
creating build/temp.linux-i686-3.2/signalfd
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC 
-I/home/exarkun/Projects/python/branches/py3k/Include 
-I/home/exarkun/Projects/python/branches/py3k -c signalfd/_signalfd.c -o 
build/temp.linux-i686-3.2/signalfd/_signalfd.o
gcc -pthread -shared build/temp.linux-i686-3.2/signalfd/_signalfd.o -o 
/home/exarkun/Projects/python-signalfd/trunk/signalfd/_signalfd.so
exar...@boson:~/Projects/python-signalfd/trunk$

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9053
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9053] distutils compiles extensions so that Python.h cannot be found

2010-08-27 Thread Jean-Paul Calderone

Changes by Jean-Paul Calderone inva...@example.invalid:


--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9053
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9053] distutils compiles extensions so that Python.h cannot be found

2010-08-21 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Jean-Paul, can you still reproduce the bug?

According to Antoine, the configure script has seen changes but sysconfig has 
not been updated; this could be the source of a handful of bugs.

--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9053
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9053] distutils compiles extensions so that Python.h cannot be found

2010-07-31 Thread Mark Lawrence

Mark Lawrence breamore...@yahoo.co.uk added the comment:

Reading msg108321 I'm setting this to 3.2.  Given that the first alpha is due 
now shouldn't this be addressed, apologies if this has already happened but I 
don't know here to look?

--
nosy: +BreamoreBoy
versions: +Python 3.2 -Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9053
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9053] distutils compiles extensions so that Python.h cannot be found

2010-06-21 Thread Jean-Paul Calderone

New submission from Jean-Paul Calderone exar...@twistedmatrix.com:

With a checkout of the py3k branch, building an extension module using 
distutils fails:

  error: Python.h: No such file or directory

This is clearly because the wrong -I option is being supplied:

  gcc -pthread -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC 
-I/home/exarkun/Projects/python-signalfd/trunk/Include 
-I/home/exarkun/Projects/python/branches/py3k -c signalfd/_signalfd.c -o 
build/temp.linux-i686-3.2/signalfd/_signalfd.o

Building the extension with Python 3.1 all the way back through Python 2.3 does 
work, though.

--
assignee: tarek
components: Distutils
messages: 108321
nosy: exarkun, tarek
priority: critical
severity: normal
status: open
title: distutils compiles extensions so that Python.h cannot be found
versions: Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9053
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com