NightAss (OP)
Member
Offline
Activity: 85
Merit: 10
|
|
April 15, 2013, 03:10:15 PM |
|
trying to install p2pool on windows and for personal reasons I don't want to use the p2pool exe ver C:\Documents and Settings\admin>cd..
C:\Documents and Settings>cd..
C:\>cd p2pool
C:\p2pool>cd litecoin_scrypt
C:\p2pool\litecoin_scrypt>C:\Python27\python.exe setup.py build --compile=mingw3 2 install running build running build_ext building 'ltc_scrypt' extension gcc -mno-cygwin -mdll -O -Wall -I. -IC:\Python27\include -IC:\Python27\PC -c scr yptmodule.c -o build\temp.win32-2.7\Release\scryptmodule.o error: command 'gcc' failed: No such file or directory
C:\p2pool\litecoin_scrypt> how can I get this to work?
|
|
|
|
|
|
|
|
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
Schleicher
|
|
April 15, 2013, 03:32:40 PM |
|
Looks like C:\mingw\bin is not in your path. Do this first before you try to build the scrypt support: set path=%PATH%;C:\mingw\bin
|
|
|
|
NightAss (OP)
Member
Offline
Activity: 85
Merit: 10
|
|
April 15, 2013, 04:11:49 PM |
|
C:\p2pool>cd..
C:\>set path=%PATH%;C:\mingw\bin
C:\>cd /p2pool/litecoin_scrypt
C:\p2pool\litecoin_scrypt>C:\Python27\python.exe setup.py build --compile=mingw3 2 install running build running build_ext building 'ltc_scrypt' extension C:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -I. -IC:\Python27\include -IC:\P ython27\PC -c scryptmodule.c -o build\temp.win32-2.7\Release\scryptmodule.o gcc: error: CreateProcess: No such file or directory error: command 'gcc' failed with exit status 1
C:\p2pool\litecoin_scrypt>
I think its a new error and new is all ways better exit status 1 looks new
|
|
|
|
Schleicher
|
|
April 15, 2013, 04:52:54 PM Last edit: April 15, 2013, 05:03:08 PM by Schleicher |
|
Ok, looks like you have to do it differently. Try this: - Right-click 'My Computer' and select 'Properties'
- Click the 'Advanced' tab, then 'Environment Variables'.
This opens the Environment Variables dialog. - In the top 'User variables for' pane, select 'PATH' and click 'Edit'.
If there is no 'PATH' variable, click on 'New' to create it. - Add C:\mingw\bin
It should look like this (my Windows version is german):
|
|
|
|
NightAss (OP)
Member
Offline
Activity: 85
Merit: 10
|
|
April 15, 2013, 05:21:37 PM Last edit: April 15, 2013, 05:56:29 PM by NightAss |
|
C:\>cd p2pool
C:\p2pool>cd litecoin_script The system cannot find the path specified.
C:\p2pool>cd litecoin_scrypt
C:\p2pool\litecoin_scrypt>C:\Python27\python.exe setup.py build --compile=mingw3 2 install running build running build_ext building 'ltc_scrypt' extension gcc -mno-cygwin -mdll -O -Wall -I. -IC:\Python27\include -IC:\Python27\PC -c scr yptmodule.c -o build\temp.win32-2.7\Release\scryptmodule.o error: command 'gcc' failed: No such file or directory
C:\p2pool\litecoin_scrypt> I all so went to the dir it self and it was spelt C:\MinGW\bin so i tryed it with the same caps and so on same error so did not bother to display it in the read me for p2pool it says this cd litecoin_scrypt C:\Python27\python.exe setup.py build --compile=mingw32 install If you run into an error with unrecognized command line option '-mno-cygwin', see this: http://stackoverflow.com/questions/6034390/compiling-with-cython-and-mingw-produces-gcc-error-unrecognized-command-line-obut the link is no help at all thanks for trying to help me fyi been working on this for like 4 days
|
|
|
|
|
NightAss (OP)
Member
Offline
Activity: 85
Merit: 10
|
|
April 15, 2013, 08:46:50 PM |
|
Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\admin>cd..
C:\Documents and Settings>cd..
C:\>cd p2pool
C:\p2pool>python run_p2pool.py --help C:\p2pool\p2pool\main.py:76: Warning: 'with' will become a reserved keyword in P ython 2.6 Traceback (most recent call last): File "run_p2pool.py", line 3, in <module> from p2pool import main File "C:\p2pool\p2pool\main.py", line 76 with open(address_path, 'rb') as f: ^ SyntaxError: invalid syntax
C:\p2pool>python run_p2pool.py --help C:\p2pool\p2pool\main.py:76: Warning: 'with' will become a reserved keyword in P ython 2.6 Traceback (most recent call last): File "run_p2pool.py", line 3, in <module> from p2pool import main File "C:\p2pool\p2pool\main.py", line 76 with open(address_path, 'rb') as f: ^ SyntaxError: invalid syntax
C:\p2pool>run_p2pool.py --help Traceback (most recent call last): File "C:\Python27\lib\site.py", line 563, in <module> main() File "C:\Python27\lib\site.py", line 545, in main known_paths = addusersitepackages(known_paths) File "C:\Python27\lib\site.py", line 278, in addusersitepackages user_site = getusersitepackages() File "C:\Python27\lib\site.py", line 253, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "C:\Python27\lib\site.py", line 243, in getuserbase USER_BASE = get_config_var('userbase') File "C:\Python27\lib\sysconfig.py", line 472, in get_config_var return get_config_vars().get(name) File "C:\Python27\lib\sysconfig.py", line 405, in get_config_vars import re File "C:\Python27\lib\re.py", line 105, in <module> import sre_compile File "C:\Python27\lib\sre_compile.py", line 14, in <module> import sre_parse File "C:\Python27\lib\sre_parse.py", line 17, in <module> from sre_constants import * File "C:\Python27\lib\sre_constants.py", line 18, in <module> from _sre import MAXREPEAT ImportError: cannot import name MAXREPEAT
C:\p2pool>run_p2pool.py Traceback (most recent call last): File "C:\Python27\lib\site.py", line 563, in <module> main() File "C:\Python27\lib\site.py", line 545, in main known_paths = addusersitepackages(known_paths) File "C:\Python27\lib\site.py", line 278, in addusersitepackages user_site = getusersitepackages() File "C:\Python27\lib\site.py", line 253, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "C:\Python27\lib\site.py", line 243, in getuserbase USER_BASE = get_config_var('userbase') File "C:\Python27\lib\sysconfig.py", line 472, in get_config_var return get_config_vars().get(name) File "C:\Python27\lib\sysconfig.py", line 405, in get_config_vars import re File "C:\Python27\lib\re.py", line 105, in <module> import sre_compile File "C:\Python27\lib\sre_compile.py", line 14, in <module> import sre_parse File "C:\Python27\lib\sre_parse.py", line 17, in <module> from sre_constants import * File "C:\Python27\lib\sre_constants.py", line 18, in <module> from _sre import MAXREPEAT ImportError: cannot import name MAXREPEAT
C:\p2pool>python run_p2pool.py --help well new errors thats all ways good as thay say a change is as good as a holerday I just wish there was a way you could remote in to my pc and set it up for me how much would it cost? for u to do that?
|
|
|
|
|
NightAss (OP)
Member
Offline
Activity: 85
Merit: 10
|
|
April 15, 2013, 09:17:50 PM |
|
thanks I will try my luck there figgerd with 248 pages there I may go unherd all so you may find it funny I am asking for help setting this up p2pool wile I am hosting http://ltc.cryptocoined.com/that was is from the exe I need the .py to work for what I have in mind
|
|
|
|
|