[tahoe-dev] Newbie installation notes
Kill Your TV
killyourtv at i2pmail.org
Tue May 15 20:37:04 UTC 2012
On Mon, 14 May 2012 00:36:12 +0000 (UTC)
David-Sarah Hopwood <david-sarah at jacaranda.org> wrote:
> > 1. On Ubuntu, 'python setup.py build' fails unless the python-dev
> > package is installed.
>
> This happens when it needs to compile a dependency written in C/C++,
> because there is no binary "egg" for that dependency. Can you tell
> which dependency it tried to compile (usually there will be messages
> from gcc)?
I've seen it with pycryptopp (http://pastebin.com/uwS25EJw) and Twisted
twisted/runner/portmap.c:10:20: error: Python.h: No such file or directory
twisted/runner/portmap.c:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
twisted/runner/portmap.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
twisted/runner/portmap.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PortmapMethods’
twisted/runner/portmap.c: In function ‘initportmap’:
twisted/runner/portmap.c:55: warning: implicit declaration of function ‘Py_InitModule’
twisted/runner/portmap.c:55: error: ‘PortmapMethods’ undeclared (first use in this function)
twisted/runner/portmap.c:55: error: (Each undeclared identifier is reported only once
twisted/runner/portmap.c:55: error: for each function it appears in.)
Traceback (most recent call last):
File "setup.py", line 417, in
**setup_args
File "/usr/lib/python2.6/distutils/core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20120515/21110e74/attachment.pgp>
More information about the tahoe-dev
mailing list