Hello han zheng: On Thu, Apr 5, 2012 at 8:26 AM, han zheng <[email protected]> wrote: > twisted/runner/portmap.c:10:20: error: Python.h: No such file or directory
This means that it attempted to compile Twisted from source, and it failed to compile. This part of Tahoe-LAFS packaging is confusing, because there are two different ways that it attempts to satisfy the requirement for Twisted. First, it checks whether it can download a precompiled binary of Twisted for your platform. It looks in at least these three locations: https://pypi.python.org/pypi/Twisted http://twistedmatrix.com/trac/ https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/README.html That last location is under our control, and we could fix this problem for you if someone would build a Twisted binary for your platform that we could host there. Would you please post the output of: python -c 'import platform;print platform.system();print platform.architecture();print platform.python_version()' Anyway, if the build system doesn't find a precompiled binary of Twisted for your platform then it tries the other approach, which is that it downloads the source code of Twisted and tries to compile it. The reason it failed to compile is that you don't have the "Python.h" file installed. That file comes from the "python-dev" package on Ubuntu, so if you install that package then I believe your build process will proceed. Regards, Zooko _______________________________________________ tahoe-dev mailing list [email protected] http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
