[Twisted-Python] Help -- can't install Twisted/Zope on x86_64 (RHEL5-beta)
Margaret Lum
mlum at redhat.com
Sat Mar 3 18:49:43 MST 2007
Yes, folks on #twisted told me that, as well. I've built the Python 2.5
source and will experiment with it from there, instead.
Thanks a lot!
Jean-Paul Calderone wrote:
> On Sat, 03 Mar 2007 17:19:49 -0800, Margaret Lum <mlum at redhat.com> wrote:
>> 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.
>>
>
> I'm not terribly familiar with RHEL, but it looks like the Python
> packager
> has done the typical thing and split out the files which he/she
> decided are
> only useful for development purposes into a separate package (often named
> python-dev or some such). If this is the case, installing that package
> should give you the necessary header files to build Python extension
> modules.
>
> Jean-Paul
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
--
-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/f6b437b9/attachment-0002.bin>
More information about the Twisted-Python
mailing list