[tahoe-dev] [tahoe-lafs] #701: The instructions in "Installing Tahoe" do not mention C compiler requirement.
tahoe-lafs
trac at allmydata.org
Mon May 11 18:09:10 PDT 2009
#701: The instructions in "Installing Tahoe" do not mention C compiler
requirement.
---------------------------+------------------------------------------------
Reporter: nejucomo | Owner: somebody
Type: defect | Status: new
Priority: minor | Milestone: undecided
Component: documentation | Version: 1.4.1
Keywords: | Launchpad_bug:
---------------------------+------------------------------------------------
Comment(by nejucomo):
I misunderstood the build failure, and the solution was to install the
python development headers. I see that from the InstallDetails page, if I
follow the DownloadDebianPackages link, then scroll to the section on
building from source on debian, it mentions the python-dev package.
Perhaps the "Installing Tahoe" page could clarify that the full python C
development environment is required?
Here's the relevant snippet:
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 346, in <module>
zip_safe=False, # We prefer unzipped for easier access.
File "/usr/lib/python2.6/distutils/core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/setuptools/dist.py", line 219, in
__init__
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/setuptools/dist.py", line 243, in
fetch_build_eggs
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/pkg_resources.py", line 522, in
resolve
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/pkg_resources.py", line 758, in
best_match
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/pkg_resources.py", line 770, in
obtain
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/setuptools/dist.py", line 286, in
fetch_build_egg
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/setuptools/command/easy_install.py",
line 452, in easy_install
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/setuptools/command/easy_install.py",
line 482, in install_item
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/setuptools/command/easy_install.py",
line 661, in install_eggs
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/setuptools/command/easy_install.py",
line 936, in build_and_install
File "/home/n/sandbox/allmydata-
tahoe-1.4.1/setuptools-0.6c12dev.egg/setuptools/command/easy_install.py",
line 927, in run_setup
distutils.errors.DistutilsError: Setup script exited with error: command
'gcc' failed with exit status 1
--
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/701#comment:1>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid
More information about the tahoe-dev
mailing list