-----Original Message----- From: CyberAxe-Hotmail [mailto:[email protected]] Sent: Tuesday, July 28, 2009 10:33 AM To: 'Zooko Wilcox-O'Hearn' Subject: FW: tahoe windows test error
4. Download and install MinGW from http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/Mi nGW%205.1.4/MinGW-5.1.4.exe/download. The installer will prompt you for what components to install. You need the base components plus the C++ compiler Note: this program has a typo that shows c++ as g++ I missed adding c++ compiler because it says g++. -----Original Message----- From: CyberAxe-Hotmail [mailto:[email protected]] Sent: Tuesday, July 28, 2009 10:26 AM To: 'Zooko Wilcox-O'Hearn' Subject: tahoe windows test error Steps I took - summary changed from run through installation on Windowshttp://allmydata.org/source/tahoe/snapshots/ to run through installation on Windows And this works with 2.6: -OK 1. Install Windows XP, Service Pack 2 (other variations should work, untested) Mine - Windows 7 -7100 RC 64-bit -OK 2. Download and install Python 2.6.2 from http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi -OK 3. Download and install pywin32 from http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-21 4.win32-py2.6.exe/download -OK 4. Download and install MinGW from http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/Mi nGW%205.1.4/MinGW-5.1.4.exe/download. The installer will prompt you for what components to install. You need the base components plus the C++ compiler -Ok w/change 5. Configure distutils to use MinGW. To configure distutils to use mingw32, create a file called "distutils.cfg" in C:\Python26(not 25)\Lib(not Libs)\distutils, and put in that file: [build] compiler=mingw32 -OK w/change 6. Add the MinGW binary path to your Path variable. To do that, go to the control panel (classic view), double-click "System", click on the "Advanced" tab, click on the "Environment Variables" button, scroll down to the "Path" variable in the "System Variables" list, double-click it, and append ";C:\MinGW\bin" to the path. While you're at it, might as well append ";C:\Python26(not 25);C:\Python26(not 25)\Scripts" also so that you don't have to type full paths to run python or installed python scripts. -OK 7. Download the latest Tahoe snapshot from http://allmydata.org/source/tahoe/snapshots/. Unpack it. I put it in C:\tahoe NOTE: used "allmydata-tahoe-1.4.1-r4026.zip" -OK 8. Open a command prompt and cd to the top of the Tahoe tree (e.g. cd \tahoe). NOTE: Does Windows Vista and Windows 7 need this "Run as Administrator"? -Failed 9. Run "python setup.py build". Wait a bit until it stops working. Note that you need a working network connection because it will download various dependencies. NOTE: see complete log below " File "C:\tahoe\setuptools-0.6c12dev.egg\setuptools\command\easy_install.py", l ine 446, in easy_install distutils.errors.DistutilsError: Could not find suitable distribution for Requir ement.parse('Twisted>=2.4.0') 10. Run "python setup.py install". Wait a bit until it stops working. Again, you may need a working network connection. 11. Run "tahoe create-client --basedir C:\tahoebase". You can pick a different base directory if you want. 12. Run "notepad C:\tahoebase\tahoe.cfg" to edit your config file. Paste in your introducer FURL. 13. Run "tahoe start --basedir C:\taboebase". Your node will start running and connect to the grid! The Windows firewall may ask whether or not to allow "python" to make network connections. Say yes. Actually, all of the MinGW steps (steps 4-6) could be omitted if win32 eggs were available for all dependencies. I think zfec and pycryptopp being out of date are currently the only issues requiring installing a compiler. --------------------------- Resulted in error C:\tahoe>python setup.py build Downloading file:misc/dependencies/setuptools-0.6c12dev.egg C:\tahoe\ez_setup.py:29: DeprecationWarning: the md5 module is deprecated; use h ashlib instead from md5 import md5 Not found: tahoe-deps Not found: ../tahoe-deps Installed c:\tahoe\setuptools_darcs-1.2.8-py2.6.egg 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:\users\jbenis~ 1.bly\appdata\local\temp\easy_install-dothm6\setuptools_trial-0.5.2\egg-dist -tmp -jakszj Installed c:\tahoe\setuptools_trial-0.5.2-py2.6.egg Searching for darcsver>=1.2.0 Best match: darcsver 1.2.1 Processing darcsver-1.2.1.tar Running darcsver-1.2.1\setup.py -q bdist_egg --dist-dir c:\users\jbenis~1.bly\ap pdata\local\temp\easy_install-kphdgm\darcsver-1.2.1\egg-dist-tmp-2jiruo Installed c:\tahoe\darcsver-1.2.1-py2.6.egg Searching for Twisted>=2.4.0 Reading http://allmydata.org/source/tahoe/deps/tahoe-dep-sdists/ Reading http://allmydata.org/source/tahoe/deps/tahoe-dep-eggs/ Reading http://pypi.python.org/simple/Twisted/ Couldn't find index page for 'Twisted' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for Twisted>=2.4.0 Traceback (most recent call last): File "setup.py", line 363, in <module> zip_safe=False, # We prefer unzipped for easier access. File "C:\Python26\lib\distutils\core.py", line 113, in setup _setup_distribution = dist = klass(attrs) File "C:\tahoe\setuptools-0.6c12dev.egg\setuptools\dist.py", line 219, in __in it__ File "C:\tahoe\setuptools-0.6c12dev.egg\setuptools\dist.py", line 243, in fetc h_build_eggs File "C:\tahoe\setuptools-0.6c12dev.egg\pkg_resources.py", line 522, in resolv e File "C:\tahoe\setuptools-0.6c12dev.egg\pkg_resources.py", line 758, in best_m atch File "C:\tahoe\setuptools-0.6c12dev.egg\pkg_resources.py", line 770, in obtain File "C:\tahoe\setuptools-0.6c12dev.egg\setuptools\dist.py", line 286, in fetc h_build_egg File "C:\tahoe\setuptools-0.6c12dev.egg\setuptools\command\easy_install.py", l ine 446, in easy_install distutils.errors.DistutilsError: Could not find suitable distribution for Requir ement.parse('Twisted>=2.4.0') C:\tahoe>
<<attachment: MiniGW-error typo c++.JPG>>
_______________________________________________ tahoe-dev mailing list [email protected] http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
