[Twisted-Python] Help -- can't install Twisted/Zope on x86_64 (RHEL5-beta)

Margaret Lum mlum at redhat.com
Sat Mar 3 18:19:49 MST 2007


Hi folks,

I'm trying to install Twisted/Zope on a 64-bit RHEL5 (beta) system with 
the following packages installed:

mod_python-3.2.8-3.1
postgresql-python-8.1.4-1.1
python-2.4.3-18.fc6
python-2.4.3-19.el5
python-elementtree-1.2.6-5
python-krbV-1.0.13-4.el5
python-ldap-2.2.0-2.1
python-numeric-23.7-2.2.2
python-sqlite-1.1.7-1.2.1
python-urlgrabber-3.1.0-1
python-urlgrabber-3.1.0-2

This is the error I get when attempting to install both TwistedCore-2.5.0:
python setup.py install
Traceback (most recent call last):
  File "setup.py", line 20, in ?
    from twisted import copyright
  File "./twisted/__init__.py", line 22, in ?
    raise ImportError("you need zope.interface installed "
ImportError: you need zope.interface installed 
(http://zope.org/Products/ZopeInterface/)

And subsequently ../zope.interface-3.3.0:
running install
running build
running build_py
running build_ext
building '_zope_interface_coptimizations' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC 
-I/usr/include/python2.4 -c 
src/zope/interface/_zope_interface_coptimizations.c -o 
build/temp.linux-x86_64-2.4/src/zope/interface/_zope_interface_coptimizations.o
src/zope/interface/_zope_interface_coptimizations.c:15:20: error: 
Python.h: No such file or directory
src/zope/interface/_zope_interface_coptimizations.c:16:26: error: 
structmember.h: No such file or directory

Any quick tips would be appreciated.  Thanks for your time.

-- 
-Margaret

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3229 bytes
Desc: S/MIME Cryptographic Signature
URL: </pipermail/twisted-python/attachments/20070303/48e1dbd0/attachment-0002.bin>


More information about the Twisted-Python mailing list