dgray9000 (OP)
Newbie
Offline
Activity: 29
Merit: 0
|
|
June 16, 2012, 11:41:28 PM |
|
I need some help building and running CGminer on windows 7. I've followed the windows build instructions and gotten to the point that I need to run the "CFLAGS="-O2 -msse2" ./configure" command after that I make and then it's done. But I get an error message when I run that command in mingw. It is as follows:
$ CFLAGS="-02 -msse2" ./configure checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking target system type... i686-pc-mingw32 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/home/XXXXX/cgminer-2.4.2-win32': configure: error: C compiler cannot create executables See `config.log' for more details
when I open config.log it shows this:
$ config.log ./config.log: line 1: This: command not found ./config.log: line 2: running: command not found ./config.log: line 4: It: command not found ./config.log: line 5: generated: command not found ./config.log: line 7: $: command not found hostname: extra operand `XXXXX-PC' Try `hostname --help' for more information. uname: extra operand `=' Try `uname --help' for more information. ./config.log: line 15: syntax error near unexpected token `(' ./config.log: line 15: `uname -r = 1.0.17(0.48/3/2)'
If anyone can help me it would be very much appreciated and rewarded with a bitcoin or 3. I know this belongs in the another thread for CGminer but I'm brand new and thus restricted from posting in it.
|
|
|
|
|
|
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
|
John (John K.)
Global Troll-buster and
Legendary
Offline
Activity: 1288
Merit: 1225
Away on an extended break
|
|
June 17, 2012, 02:51:35 AM |
|
I need some help building and running CGminer on windows 7. I've followed the windows build instructions and gotten to the point that I need to run the "CFLAGS="-O2 -msse2" ./configure" command after that I make and then it's done. But I get an error message when I run that command in mingw. It is as follows:
$ CFLAGS="-02 -msse2" ./configure checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking target system type... i686-pc-mingw32 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/home/XXXXX/cgminer-2.4.2-win32': configure: error: C compiler cannot create executables See `config.log' for more details
when I open config.log it shows this:
$ config.log ./config.log: line 1: This: command not found ./config.log: line 2: running: command not found ./config.log: line 4: It: command not found ./config.log: line 5: generated: command not found ./config.log: line 7: $: command not found hostname: extra operand `XXXXX-PC' Try `hostname --help' for more information. uname: extra operand `=' Try `uname --help' for more information. ./config.log: line 15: syntax error near unexpected token `(' ./config.log: line 15: `uname -r = 1.0.17(0.48/3/2)'
If anyone can help me it would be very much appreciated and rewarded with a bitcoin or 3. I know this belongs in the another thread for CGminer but I'm brand new and thus restricted from posting in it.
Whitelisted ya, go ask at the correct thread for more exposure.
|
|
|
|
dgray9000 (OP)
Newbie
Offline
Activity: 29
Merit: 0
|
|
June 17, 2012, 09:51:06 AM |
|
Thank you very much John.
And thank you Graet, I'm not that much into the coding stuff yet but I'm working on it. I will be taking a look at what you linked.
|
|
|
|
Graet
VIP
Legendary
Offline
Activity: 980
Merit: 1001
|
|
June 17, 2012, 03:54:52 PM |
|
Thank you very much John.
And thank you Graet, I'm not that much into the coding stuff yet but I'm working on it. I will be taking a look at what you linked.
welcome, hope it works out for you
|
|
|
|
dgray9000 (OP)
Newbie
Offline
Activity: 29
Merit: 0
|
|
June 18, 2012, 11:08:11 AM |
|
I tried doing what you wrote but it didn't work in that the window opened but immediately closed, I wasn't able to even read what was wrong with. After much opening and immediate closing I was able to make out that it basically couldn't recognize what cgminer was (when opening from the .bat file) and when I opened cgminer from the .exe it didn't register any of my devices. Someone in the official cgminer thread suggested I visit stackoverflow.com for more super noob help but if you think of anything please let me know.
|
|
|
|
John (John K.)
Global Troll-buster and
Legendary
Offline
Activity: 1288
Merit: 1225
Away on an extended break
|
|
June 18, 2012, 11:12:46 AM |
|
I tried doing what you wrote but it didn't work in that the window opened but immediately closed, I wasn't able to even read what was wrong with. After much opening and immediate closing I was able to make out that it basically couldn't recognize what cgminer was (when opening from the .bat file) and when I opened cgminer from the .exe it didn't register any of my devices. Someone in the official cgminer thread suggested i visit overstack.com for more super noob help but if you think of anything please let me know.
If you only want to run CGMiner, not to build it from scratch, just download the binary at http://ck.kolivas.org/apps/cgminer/cgminer-2.4.3-win32.zip Just continue with Graet's guide next, and make sure the .bat file is at the same dir with the cgminer binaries.
|
|
|
|
Graet
VIP
Legendary
Offline
Activity: 980
Merit: 1001
|
|
June 18, 2012, 11:27:35 AM |
|
Also try without any extra flags cgminer.exe -o http://pool:port -u username.workername -p password sometimes incorrect flags (or out of range flags) will cause the inmstant close thing I just realised I omitted .exe from the guide, that might cause an issue * Graet goes and fixes guide
|
|
|
|
dgray9000 (OP)
Newbie
Offline
Activity: 29
Merit: 0
|
|
June 18, 2012, 01:16:16 PM |
|
I have but no matter how I start it it just immediately shuts down.
|
|
|
|
John (John K.)
Global Troll-buster and
Legendary
Offline
Activity: 1288
Merit: 1225
Away on an extended break
|
|
June 18, 2012, 02:18:31 PM |
|
I have but no matter how I start it it just immediately shuts down.
Try just running cgminer, without the .bat files and so. Just run cgminer.exe. I run CGMiner without a batch file or anything as it loads the settings using the configuration file.
|
|
|
|
dgray9000 (OP)
Newbie
Offline
Activity: 29
Merit: 0
|
|
July 03, 2012, 04:48:38 PM |
|
I got it working in Ubuntu, so I'll just use that since i don't use the computer that's the head of the mining for anything else.
|
|
|
|
|