[tahoe-dev] 回复: Re: 回复: Re: 回复: Re: 回复: Re: how to run the tahoe-lafs in another computer without internet?

han zheng z.han0903 at gmail.com
Thu Apr 5 16:20:33 UTC 2012


hi Zooko,
The output is:
**********
Linux
('32bit', 'ELF')
2.7.2+
**********
and I think I figure it out, because I installed it in a virtual machine without internet connected. So it failed to download the precompiled binary of Twisted, and I have not installed the "python-dev" package in my system at the same time.
Thanks

2012-04-05



han zheng



发件人:Zooko Wilcox-O'Hearn
发送时间:2012-04-05 23:23
主题:Re: [tahoe-dev] 回复: Re: 回复: Re: 回复: Re: how to run the tahoe-lafs in another computer without internet?
收件人:"Tahoe-LAFS development"<tahoe-dev at tahoe-lafs.org>
抄送:

Hello han zheng: 

On Thu, Apr 5, 2012 at 8:26 AM, han zheng <z.han0903 at gmail.com> 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 
tahoe-dev at tahoe-lafs.org 
http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20120406/db535ccd/attachment.html>


More information about the tahoe-dev mailing list