On Mon, 14 May 2012 00:36:12 +0000 (UTC) David-Sarah Hopwood <[email protected]> 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)
signature.asc
Description: PGP signature
_______________________________________________ tahoe-dev mailing list [email protected] https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
