[tahoe-dev] Build issue
sidsal sal
sidsaleesh at googlemail.com
Tue May 11 04:26:49 PDT 2010
Hi Fred,
Thank you very much for the detailed steps. (resending the e-mail with the
logs)
As per the suggestion, I removed all my Python, MinGW installations,
(rebooted my PC), tried with new installations. Checked the versions and are
correctly printed.
(This is visible in the attached log). But I am bit unlucky, getting the
same error! Not sure why. (log attached)
As a solution, I copied "tahoe-deps" directory (from
http://tahoe-lafs.org/source/tahoe-lafs/deps/) in allmydata-tahoe-1.6.1
directory, build seems to be fine. Is this fine?
Thanks,
--Sid
On Tue, May 11, 2010 at 12:24 PM, sidsal sal <sidsaleesh at googlemail.com>wrote:
> Hi Fred,
> Thank you very much for the detailed steps.
>
> As per the suggestion, I removed all my Python, MinGW installations,
> (rebooted my PC), tried with new installations. Checked the versions and are
> correctly printed.
> (This is visible in the attached log). But I am bit unlucky, getting the
> same error! Not sure why. (log attached)
>
> As a solution, I copied "tahoe-deps" directory (from
> http://tahoe-lafs.org/source/tahoe-lafs/deps/) in allmydata-tahoe-1.6.1
> directory, build seems to be fine. Is this fine?
>
> Thanks,
> --Sid
>
>
>
>
> On Tue, May 11, 2010 at 11:26 AM, FreeStorm . <freestorm77 at gmail.com>wrote:
>
>> Hi Sid,
>>
>> Maybe we need to start from the begining.
>>
>> If you don't use Python for another usage as tahoe, you can uninstall
>> all your Python and pywin32 stuff with add/remove program on your
>> control panel.
>>
>> After that, you can remove all Python directories from your c:\
>> I think you have c:\python25 and c:\python26
>> (dont remove theses directory before uninstalling properly from
>> add/remove)
>>
>> You can delete entire allmydata-tahoe-1.6.1 diretory.
>>
>> After this point you are going to have clean base to start.
>>
>> So we can start step by step :-)
>>
>> 1) Install Python 2.6 from
>> http://www.python.org/ftp/python/2.6.5/python-2.6.5.msi
>> 2) Install pywin32 from http://sourceforge.net/projects/pywin32/
>> 3) Follow points 1-4 of section "What if that doesn't work?" on page
>> http://allmydata.org/trac/tahoe-lafs/wiki/AdvancedInstall
>> 4) Add c:\python26 and c:\python26\scripts to your environment
>> variable PATH (same way as point 4 on AdvancedInstall page)
>>
>> After that we can confirm some points:
>>
>> 5) Open DOS Prompt from: start menu => run => cmd.exe
>> and run these command:
>>
>> a) python -V
>> => (capital V) it must return something like: python 2.6.5
>>
>> b) g++ -v
>> => it must return somethink like: gcc version 3.4.5
>>
>> c) as --version
>> => it must return : GNU assembler (GNU Binutils) 2.19.1
>>
>> Is you don't loose something, you will have Python, and Mingw
>> correctly installed :-)
>>
>>
>> Next point, downloading and installaling Tahoe-Lafs.
>>
>> 6) Download and unzip
>> http://allmydata.org/source/tahoe-lafs/releases/allmydata-tahoe-1.6.1.zip
>>
>> 7) Open DOS Prompt, and go to directory where you unziped
>> allmydata-tahoe-1.6.1 and run:
>> (you need an Internet connexion to download and install some Python's
>> packages)
>>
>> a) python setup.py build
>> b) python setup.py install
>> c) python setup.py test
>> => To be sure that tahoe-Lafs is good working.
>>
>>
>>
>> If I don't miss somthing, It will build and install successfully
>>
>> Hope that help.
>>
>> Fred
>>
>>
>> 2010/5/11 sidsal sal <sidsaleesh at googlemail.com>:
>> > Hi,
>> > Here are the steps I done in my windows machine.
>> >
>> > 1) followed link
>> >
>> > http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html
>> > tried to install python from http://sourceforge.net/projects/pywin32/
>> >
>> > Got the following error while installing
>> > "Python version 2.6 required, which was not found in the registry"
>> >
>> > 2)
>> > referred the link
>> >
>> > http://allmydata.org/trac/tahoe-lafs/wiki/AdvancedInstall
>> >
>> > Downloaded and install Python 2.5.4 from
>> > http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi
>> > Downloaded and install pywin32 from
>> >
>> http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.5.exe/download
>> >
>> > 3)
>> > downloaded
>> >
>> http://allmydata.org/source/tahoe-lafs/releases/allmydata-tahoe-1.6.1.zip
>> >
>> > 4)
>> > python setup.py build gives me this error.
>> >
>> > Request for help
>> > ---------------------------------------------------------------
>> >
>> > As a solution, I copied "tahoe-deps" directory (from
>> > http://tahoe-lafs.org/source/tahoe-lafs/deps/) in my top directory,
>> build
>> > seems to be fine.
>> > Is this OK?
>> >
>> > Thanks,
>> > --Sid
>> >
>> >
>> >
>> > On Mon, May 10, 2010 at 8:18 PM, Zooko O'Whielacronx <zookog at gmail.com>
>> > wrote:
>> >>
>> >> On Mon, May 10, 2010 at 9:56 AM, sidsal sal <sidsaleesh at googlemail.com
>> >
>> >> wrote:
>> >> >> I am trying to build Tahoe-LAFS, my purpose is to run Tahoe-LAFS in
>> >> >> server
>> >> >> mode in Windows.
>> >> >> I am following the link
>> >> >> http://allmydata.org/trac/tahoe-lafs/wiki/AdvancedInstall for
>> getting
>> >> >> my
>> >> >> build.
>> >>
>> >> Did you try
>> >> http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html
>> >> first?
>> >>
>> >> We've recently added the following text to the top of
>> >> http://tahoe-lafs.org/trac/tahoe-lafs/wiki/AdvancedInstall :
>> >>
>> >> "The quick start docs in docs/quickstart.html are sufficient to get
>> >> Tahoe-LAFS running on all platforms. This wiki page is only for
>> >> advanced, optional installation features and you should not read this
>> >> page if all you want is to get Tahoe-LAFS running. If you have trouble
>> >> getting it to work by following docs/quickstart.html then please
>> >> write to the tahoe-dev mailing list and ask for help."
>> >>
>> >> Regards,
>> >>
>> >> Zooko
>> >> _______________________________________________
>> >> tahoe-dev mailing list
>> >> tahoe-dev at allmydata.org
>> >> http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
>> >
>> >
>> > _______________________________________________
>> > tahoe-dev mailing list
>> > tahoe-dev at allmydata.org
>> > http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
>> >
>> >
>> _______________________________________________
>> tahoe-dev mailing list
>> tahoe-dev at allmydata.org
>> http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://allmydata.org/pipermail/tahoe-dev/attachments/20100511/349487cc/attachment.htm
-------------- next part --------------
C:\>as --version
GNU assembler (GNU Binutils) 2.19.1
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `mingw32'.
C:\>python -V
Python 2.6.5
C:\>g++ -v
Reading specs from C:/SS/MinGW/bin/../lib/gcc/mingw32/3.4.5/specs
Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld --wi
th-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --dis
able-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --d
isable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --with
out-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enabl
e-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.5 (mingw-vista special r3)
C:\>as --version
GNU assembler (GNU Binutils) 2.19.1
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `mingw32'.
C:\>cd C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1
C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1>ls
'ls' is not recognized as an internal or external command,
operable program or batch file.
C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1>python setup.py build
Downloading file:misc/dependencies/setuptools-0.6c12dev.egg
C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1\ez_setup.py:29: DeprecationWarning: the m
d5 module is deprecated; use hashlib instead
from md5 import md5
Not found: tahoe-deps
Not found: ../tahoe-deps
Installed c:\ss\tahoe-lafs\allmydata-tahoe-1.6.1\setuptools_darcs-1.2.8-py2.6.eg
g
Searching for setuptools-trial>=0.5
Best match: setuptools-trial 0.5.2
Processing setuptools_trial-0.5.2.tar
Running setuptools_trial-0.5.2\setup.py -q bdist_egg --dist-dir c:\docume~1\nsgg
7808\locals~1\temp\easy_install-vxprsz\setuptools_trial-0.5.2\egg-dist-tmp-qm0_m
m
Installed c:\ss\tahoe-lafs\allmydata-tahoe-1.6.1\setuptools_trial-0.5.2-py2.6.eg
g
Searching for darcsver>=1.2.0
Reading http://allmydata.org/source/tahoe/deps/tahoe-dep-sdists/
Download error: [Errno 10060] A connection attempt failed because the connected
party did not properly respond after a period of time, or established connection
failed because connected host has failed to respond -- Some packages may not be
found!
Reading http://allmydata.org/source/tahoe/deps/tahoe-dep-eggs/
Download error: [Errno 10060] A connection attempt failed because the connected
party did not properly respond after a period of time, or established connection
failed because connected host has failed to respond -- Some packages may not be
found!
Reading http://pypi.python.org/simple/darcsver/
Download error: [Errno 10060] A connection attempt failed because the connected
party did not properly respond after a period of time, or established connection
failed because connected host has failed to respond -- Some packages may not be
found!
Reading http://pypi.python.org/simple/darcsver/
Download error: [Errno 10060] A connection attempt failed because the connected
party did not properly respond after a period of time, or established connection
failed because connected host has failed to respond -- Some packages may not be
found!
Couldn't find index page for 'darcsver' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: [Errno 10060] A connection attempt failed because the connected
party did not properly respond after a period of time, or established connection
failed because connected host has failed to respond -- Some packages may not be
found!
No local packages or download links found for darcsver>=1.2.0
Traceback (most recent call last):
File "setup.py", line 384, in <module>
**setup_args
File "C:\Python26\lib\distutils\core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1\setuptools-0.6c12dev.egg\setuptoo
ls\dist.py", line 219, in __init__
File "C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1\setuptools-0.6c12dev.egg\setuptoo
ls\dist.py", line 243, in fetch_build_eggs
File "C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1\setuptools-0.6c12dev.egg\pkg_reso
urces.py", line 522, in resolve
File "C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1\setuptools-0.6c12dev.egg\pkg_reso
urces.py", line 758, in best_match
File "C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1\setuptools-0.6c12dev.egg\pkg_reso
urces.py", line 770, in obtain
File "C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1\setuptools-0.6c12dev.egg\setuptoo
ls\dist.py", line 286, in fetch_build_egg
File "C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1\setuptools-0.6c12dev.egg\setuptoo
ls\command\easy_install.py", line 446, in easy_install
distutils.errors.DistutilsError: Could not find suitable distribution for Requir
ement.parse('darcsver>=1.2.0')
C:\SS\Tahoe-LAFS\allmydata-tahoe-1.6.1>
More information about the tahoe-dev
mailing list