[tahoe-dev] Windows 7 install Error on 1.8

Paul Grunwald pgrunwald at comcast.net
Tue Oct 5 03:08:06 UTC 2010


Installed MinGW and added to path as per the instructions
Results below


---------------------------------------------------------------

G:\allmydata-tahoe-1.8.0>python setup.py build
Not found: tahoe-deps
Not found: ../tahoe-deps

Setting up environment to run scripts for the current user...
Already done: associate the filetype .pyscript with Python.File for the
current
user.
Already done: add .pyscript to the user environment variable PATHEXT.
Already done: add .pyw to the user environment variable PATHEXT.
conftest.c:1:21: fatal error: rpc/rpc.h: No such file or directory
compilation terminated.
conftest.c:1:23: fatal error: sys/epoll.h: No such file or directory
compilation terminated.
twisted/protocols/_c_urlarg.c: In function 'unquote':
twisted/protocols/_c_urlarg.c:41:50: warning: 'tmp' may be used
uninitialized in
 this function
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x41): undefined reference to `_imp__PyArg_ParseTupleAndKeywords'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x65): undefined reference to `_imp__PyString_FromStringAndSize'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x7b): undefined reference to `_imp__PyString_FromStringAndSize'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x8f): undefined reference to `_imp__PyString_AsString'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x1c8): undefined reference to `_imp___PyString_Resize'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x225): undefined reference to `_imp__Py_InitModule4'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x22e): undefined reference to `_imp__PyModule_GetDict'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x23d): undefined reference to `_imp__PyExc_Exception'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x250): undefined reference to `_imp__PyErr_NewException'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x26a): undefined reference to `_imp__PyDict_SetItemString'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x325): undefined reference to `_imp__PyErr_Occurred'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x32f): undefined reference to `_imp__PyErr_Print'
build\temp.win-amd64-2.6\Release\twisted\protocols\_c_urlarg.o:_c_urlarg.c:(
.tex
t+0x33c): undefined reference to `_imp__Py_FatalError'
collect2: ld returned 1 exit status
Traceback (most recent call last):
  File "setup.py", line 373, in <module>
    **setup_args
  File "C:\Python26\lib\distutils\core.py", line 113, in setup
    _setup_distribution = dist = klass(attrs)
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\setuptools\dist.py",
line 260, in __init__
    self.fetch_build_eggs(attrs.pop('setup_requires'))
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\setuptools\dist.py",
line 284, in fetch_build_eggs
    parse_requirements(requires), installer=self.fetch_build_egg
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\pkg_resources.py", li
ne 563, in resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\pkg_resources.py", li
ne 799, in best_match
    return self.obtain(req, installer) # try and download/install
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\pkg_resources.py", li
ne 811, in obtain
    return installer(requirement)
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\setuptools\dist.py",
line 327, in fetch_build_egg
    return cmd.easy_install(req)
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\setuptools\command\ea
sy_install.py", line 453, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\setuptools\command\ea
sy_install.py", line 483, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\setuptools\command\ea
sy_install.py", line 662, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\setuptools\command\ea
sy_install.py", line 937, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File
"G:\allmydata-tahoe-1.8.0\setuptools-0.6c16dev2.egg\setuptools\command\ea
sy_install.py", line 928, in run_setup
    raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command
'gcc' f
ailed with exit status 1

G:\allmydata-tahoe-1.8.0>gcc
gcc: no input files




More information about the tahoe-dev mailing list