Hello
I'm trying to install tahoe on a windows XP computer running python 2.6.2,
i've tryed installing from the source tarball and using easy_install.
The instal breaks trying to compile the zfec module. I've tryed both MS
Visual Studio Express C++ 2008 and MinGW without success.
Is there some place i can get a simple binary distribution for windows?
Or can someone point me to any documentation on how to correctly install it?
I'm attaching 2 files with the errors i get in the compilation process.
running darcsver
setup.py darcsver: Failure from attempt to find version tags with 'darcs
changes', and src\allmydata\_version.py already exists, so leaving it alone.
running develop
Not found: tahoe-deps
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'
writing manifest file 'src\allmydata_tahoe.egg-info\SOURCES.txt'
running build_ext
Creating
d:\bd\tahoe\allmydata-tahoe-1.4.1\support\lib\site-packages\allmydata-tahoe.egg-link
(link to src)
allmydata-tahoe 1.4.1 is already the active version in easy-install.pth
Installing tahoe-script.py script to support/Scripts
Installing tahoe.exe script to support/Scripts
Installed d:\bd\tahoe\allmydata-tahoe-1.4.1\src
Processing dependencies for allmydata-tahoe==1.4.1
Searching for zfec>=1.1.0
Reading http://allmydata.org/source/tahoe/deps/tahoe-deps/
Best match: zfec 1.4.4
Downloading http://allmydata.org/source/tahoe/deps/tahoe-deps/zfec-1.4.4.tar.gz
Processing zfec-1.4.4.tar.gz
Running zfec-1.4.4\setup.py -q bdist_egg --dist-dir
c:\docume~1\owner\locals~1\temp\easy_install-3f9g3w\zfec-1.4.4\egg-dist-tmp-ndfbfy
fec.c
_fecmodule.c
zfec/_fecmodule.c(119) : warning C4018: '<' : signed/unsigned mismatch
zfec/_fecmodule.c(133) : warning C4018: '>=' : signed/unsigned mismatch
zfec/_fecmodule.c(157) : warning C4018: '<' : signed/unsigned mismatch
zfec/_fecmodule.c(174) : warning C4018: '>=' : signed/unsigned mismatch
zfec/_fecmodule.c(196) : warning C4018: '<' : signed/unsigned mismatch
zfec/_fecmodule.c(379) : warning C4018: '<' : signed/unsigned mismatch
zfec/_fecmodule.c(405) : warning C4018: '<' : signed/unsigned mismatch
zfec/_fecmodule.c(416) : warning C4018: '>=' : signed/unsigned mismatch
zfec/_fecmodule.c(435) : warning C4018: '<' : signed/unsigned mismatch
zfec/_fecmodule.c(436) : warning C4018: '>=' : signed/unsigned mismatch
zfec/_fecmodule.c(465) : warning C4018: '<' : signed/unsigned mismatch
zfec/_fecmodule.c(484) : warning C4018: '<' : signed/unsigned mismatch
zfec/_fecmodule.c(554) : error C2143: syntax error : missing ';' before 'type'
zfec/_fecmodule.c(554) : error C2143: syntax error : missing ';' before 'type'
zfec/_fecmodule.c(554) : error C2143: syntax error : missing ')' before 'type'
zfec/_fecmodule.c(554) : error C2143: syntax error : missing ';' before 'type'
zfec/_fecmodule.c(554) : error C2065: 'i' : undeclared identifier
zfec/_fecmodule.c(554) : warning C4018: '<' : signed/unsigned mismatch
zfec/_fecmodule.c(554) : warning C4552: '<' : operator has no effect; expected
operator with side-effect
zfec/_fecmodule.c(554) : error C2065: 'i' : undeclared identifier
zfec/_fecmodule.c(554) : error C2059: syntax error : ')'
zfec/_fecmodule.c(555) : error C2146: syntax error : missing ';' before
identifier 'printf'
zfec/_fecmodule.c(555) : error C2065: 'i' : undeclared identifier
zfec/_fecmodule.c(565) : error C2143: syntax error : missing ';' before 'const'
zfec/_fecmodule.c(566) : error C2143: syntax error : missing ';' before 'type'
zfec/_fecmodule.c(567) : error C2143: syntax error : missing ';' before 'type'
zfec/_fecmodule.c(575) : error C2275: 'fec_t' : illegal use of this type as an
expression
c:\documents and settings\owner\local
settings\temp\easy_install-3f9g3w\zfec-1.4.4\zfec\fec.h(15) : see declaration
of 'fec_t'
zfec/_fecmodule.c(575) : error C2059: syntax error : 'const'
zfec/_fecmodule.c(576) : error C2065: 'fec' : undeclared identifier
zfec/_fecmodule.c(576) : warning C4047: 'function' : 'const fec_t *' differs in
levels of indirection from 'int'
zfec/_fecmodule.c(576) : warning C4024: 'fec_encode' : different types for
formal and actual parameter 1
zfec/_fecmodule.c(576) : error C2065: 'blocks' : undeclared identifier
zfec/_fecmodule.c(576) : warning C4047: 'function' : 'const gf *const *const '
differs in levels of indirection from 'int'
zfec/_fecmodule.c(576) : warning C4024: 'fec_encode' : different types for
formal and actual parameter 2
zfec/_fecmodule.c(576) : error C2065: 'outblocks' : undeclared identifier
zfec/_fecmodule.c(576) : warning C4047: 'function' : 'gf *const *const '
differs in levels of indirection from 'int'
zfec/_fecmodule.c(576) : warning C4024: 'fec_encode' : different types for
formal and actual parameter 3
zfec/_fecmodule.c(576) : error C2065: 'block_nums' : undeclared identifier
zfec/_fecmodule.c(576) : warning C4047: 'function' : 'const unsigned int *const
' differs in levels of indirection from 'int'
zfec/_fecmodule.c(576) : warning C4024: 'fec_encode' : different types for
formal and actual parameter 4
zfec/_fecmodule.c(585) : error C2143: syntax error : missing ';' before 'const'
zfec/_fecmodule.c(586) : error C2143: syntax error : missing ';' before 'type'
zfec/_fecmodule.c(587) : error C2143: syntax error : missing ';' before 'type'
zfec/_fecmodule.c(589) : error C2065: 'fec' : undeclared identifier
zfec/_fecmodule.c(589) : warning C4047: 'function' : 'const fec_t *' differs in
levels of indirection from 'int'
zfec/_fecmodule.c(589) : warning C4024: 'fec_decode' : different types for
formal and actual parameter 1
zfec/_fecmodule.c(589) : error C2065: 'inpkts' : undeclared identifier
zfec/_fecmodule.c(589) : warning C4047: 'function' : 'const gf *const *const '
differs in levels of indirection from 'int'
zfec/_fecmodule.c(589) : warning C4024: 'fec_decode' : different types for
formal and actual parameter 2
zfec/_fecmodule.c(589) : error C2065: 'outpkts' : undeclared identifier
zfec/_fecmodule.c(589) : warning C4047: 'function' : 'gf *const *const '
differs in levels of indirection from 'int'
zfec/_fecmodule.c(589) : warning C4024: 'fec_decode' : different types for
formal and actual parameter 3
zfec/_fecmodule.c(589) : error C2065: 'indexes' : undeclared identifier
zfec/_fecmodule.c(589) : warning C4047: 'function' : 'const unsigned int *const
' differs in levels of indirection from 'int'
zfec/_fecmodule.c(589) : warning C4024: 'fec_decode' : different types for
formal and actual parameter 4
zfec/_fecmodule.c(603) : warning C4113: 'PyObject *(__cdecl *)()' differs in
parameter lists from 'PyCFunction'
running build
running build_py
running egg_info
writing requirements to zfec.egg-info\requires.txt
writing zfec.egg-info\PKG-INFO
writing top-level names to zfec.egg-info\top_level.txt
writing dependency_links to zfec.egg-info\dependency_links.txt
writing entry points to zfec.egg-info\entry_points.txt
reading manifest file 'zfec.egg-info\SOURCES.txt'
writing manifest file 'zfec.egg-info\SOURCES.txt'
running build_ext
building 'zfec._fec' extension
writing build\temp.win32-2.6\Release\zfec\_fec.def
c:\MinGW\bin\gcc.exe -mno-cygwin -shared -s
build\temp.win32-2.6\Release\zfec\fec.o
build\temp.win32-2.6\Release\zfec\_fecmodule.o
build\temp.win32-2.6\Release\zfec\_fec.def -Lc:\python26\libs
-Lc:\python26\PCbuild -lpython26 -lmsvcr90 -o build\lib.win32-2.6\zfec\_fec.pyd
build\temp.win32-2.6\Release\zfec\_fecmodule.o:_fecmodule.c:(.text+0xefa):
undefined reference to `_imp___Py_TrueStruct'
build\temp.win32-2.6\Release\zfec\_fecmodule.o:_fecmodule.c:(.text+0xf01):
undefined reference to `_imp___Py_TrueStruct'
build\temp.win32-2.6\Release\zfec\_fecmodule.o:_fecmodule.c:(.text+0xf08):
undefined reference to `_imp___Py_ZeroStruct'
build\temp.win32-2.6\Release\zfec\_fecmodule.o:_fecmodule.c:(.text+0xf0f):
undefined reference to `_imp___Py_ZeroStruct'
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
_______________________________________________
tahoe-dev mailing list
[email protected]
http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev