[Twisted-Python] unable to install twisted

Hello, I hate asking questions like this but quite frankly I'm stumped. I have been trying to install Twisted for the past two days and it just won't go. I've tried multiple versions of Zope and Twisted but nothing seems to work. The box I am attempting the install is a fresh install of CentOS 4.4 on an Intel Celeron 733 mhz processor [root@milky ~]# gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-3) [root@milky ~]# python -V Python 2.3.4 This is what happens when I attempt to build zope... running build running build_py running build_ext building 'zope.interface._zope_interface_coptimizations' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC -fPIC -IDependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface -I/usr/include/python2.3 -c Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c -o build/temp.linux-i686-2.3/Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.o Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:20: Python.h: Nosuch file or directory Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:16:26: structmember.h: No such file or directory Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:22: error: syntax error before '*' token Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:22: warning: data definition has no type or storage class Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:23: error: syntax error before '*' token Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:23: warning: data definition has no type or storage class Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:24: error: syntax error before '*' token ... ... etc ... ... error: command 'gcc' failed with exit status 1 Now I realize that I could probably ask for help on the Zope list but seeing as how a person NEEDS zope in order to install twisted I'm hoping someone here has experienced similar issues and can provide some insight into what I'm missing and/or doing wrong. Surely someone running either CentOS or RHEL has encountered this problem and can explain what is going on. Thanks in advance, Fritz

Quoting Fritz Platzke <twisted-python@milkpotato.org>:
Python.h: No such file or directory
Your problem is here. Something like 'yum install python-devel' should do the trick. -- Thomas ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.

On 9/1/06, Fritz Platzke <twisted-python@milkpotato.org> wrote:
<snip>
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:20: Python.h: Nosuch file or directory
Python.h is usually supplied separately, in a package named python-dev or python2.3-dev or some such. Try installing that.

Quoting Fritz Platzke <twisted-python@milkpotato.org>:
Python.h: No such file or directory
Your problem is here. Something like 'yum install python-devel' should do the trick. -- Thomas ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.

On 9/1/06, Fritz Platzke <twisted-python@milkpotato.org> wrote:
<snip>
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:20: Python.h: Nosuch file or directory
Python.h is usually supplied separately, in a package named python-dev or python2.3-dev or some such. Try installing that.
participants (3)
-
Fritz Platzke
-
Pavel Pergamenshchik
-
Thomas HERVE