[tahoe-dev] 回复: Re: 回复: Re: 回复: Re: 回复: Re: how to run the tahoe-lafs in another computer without internet?
han zheng
z.han0903 at gmail.com
Fri Apr 6 05:25:10 UTC 2012
hi,
I run the allmydata-tahoe-1.9.1-SUMO in ubuntu11.0 without internet connected,and there is a problem like this:
************************
zhan at ubuntu:/mnt/hgfs/share/allmydata-tahoe-1.9.1-SUMO$ python setup.py build
Not found: ../tahoe-deps
Download error: [Errno -2] Name or service not known -- Some packages may not be found!
Download error: [Errno -2] Name or service not known -- Some packages may not be found!
In file included from /usr/include/python2.7/Python.h:8:0,
from twisted/internet/_sigchld.c:9:
/usr/include/python2.7/pyconfig.h:1158:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
/usr/include/features.h:214:0: note: this is the location of the previous definition
twisted/internet/_sigchld.c: In function ‘got_signal’:
twisted/internet/_sigchld.c:15:9: warning: variable ‘ignored_result’ set but not used [-Wunused-but-set-variable]
Installed /mnt/hgfs/share/allmydata-tahoe-1.9.1-SUMO/Twisted-11.0.0-py2.7-linux-i686.egg
running update_version
no version-control data found, leaving _version.py alone
running develop
Not found: ../tahoe-deps
running egg_info
writing requirements to src/allmydata_tahoe.egg-info/requires.txt
writing src/allmydata_tahoe.egg-info/PKG-INFO
writing top-level names to src/allmydata_tahoe.egg-info/top_level.txt
writing dependency_links to src/allmydata_tahoe.egg-info/dependency_links.txt
writing entry points to src/allmydata_tahoe.egg-info/entry_points.txt
reading manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.png' under directory 'src'
warning: no previously-included files matching '*~' found anywhere in distribution
writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt'
running build_ext
Creating /mnt/hgfs/share/allmydata-tahoe-1.9.1-SUMO/support/lib/python2.7/site-packages/site.py
Processing darcsver-1.7.2.egg
Copying darcsver-1.7.2.egg to /mnt/hgfs/share/allmydata-tahoe-1.9.1-SUMO/support/lib/python2.7/site-packages
Adding darcsver 1.7.2 to easy-install.pth file
Installing darcsver script to support/bin
Installed /mnt/hgfs/share/allmydata-tahoe-1.9.1-SUMO/support/lib/python2.7/site-packages/darcsver-1.7.2.egg
Creating /mnt/hgfs/share/allmydata-tahoe-1.9.1-SUMO/support/lib/python2.7/site-packages/allmydata-tahoe.egg-link (link to src)
Adding allmydata-tahoe 1.9.1 to easy-install.pth file
Installing tahoe script to support/bin
Installed /mnt/hgfs/share/allmydata-tahoe-1.9.1-SUMO/src
Processing dependencies for allmydata-tahoe==1.9.1
Searching for pycryptopp>=0.5.20
Reading http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/
Download error: [Errno -2] Name or service not known -- Some packages may not be found!
Reading http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/
Download error: [Errno -2] Name or service not known -- Some packages may not be found!
Best match: pycryptopp 0.5.29
Processing pycryptopp-0.5.29.tar.bz2
Running pycryptopp-0.5.29/setup.py -q bdist_egg --dist-dir /tmp/easy_install-o9277e/pycryptopp-0.5.29/egg-dist-tmp-w1ArbZ
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1
******************************
why does tahoe-SUMO still download packages as tahoe-deps packages already in place? Does the -SUMO has everything it need? or It has to connect the internet?
2012-04-06
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/dfb5fbbe/attachment-0001.html>
More information about the tahoe-dev
mailing list