Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: Trongersoll on April 23, 2013, 08:48:58 PM



Title: CGminer, please take pity on me...
Post by: Trongersoll on April 23, 2013, 08:48:58 PM
Everyone has start up pains. i've downloaded the cgminer tar file and extracted it. I'm using ubuntu linux 32 bit. Is there step by step directions some where on building and running the program? I assume make is used, $make cgminer didn't work. I assume i'm missing something intuitively obvious to the most casual observer. There is a lot of support on how to use the program, but i need the steps to getting an executable first. All my experience is with using well supported development environments.

mod edit: Simply, the solution on xubuntu 13.10 is:
apt-get install libcurl4-gnutls-dev


Title: Re: CGminer, please take pity on me...
Post by: Zanatos666 on April 24, 2013, 02:20:45 PM
https://docs.google.com/document/d/1Gw7YPYgMgNNU42skibULbJJUx_suP_CpjSEdSi8_z9U/preview?pli=1&sle=true


Title: Re: CGminer, please take pity on me...
Post by: Trongersoll on April 24, 2013, 05:28:09 PM
thanks, i had already read that. unfortunately it doesn't help. it goes from unpacking the tar ball to executing cgminer with out saying how to compile it. is there supposed to be an executable file in the tar ball?


Title: Re: CGminer, please take pity on me...
Post by: Zanatos666 on April 24, 2013, 05:42:26 PM
My knowledge of Linux is next to nothing, the most of I know is from dealing with BAMT.  Looking at the instructions though, and how you would go about downloading and installing an updated version on BAMT, try this

cd cgminer
./autogen.sh


Title: Re: CGminer, please take pity on me...
Post by: Trongersoll on April 24, 2013, 06:20:54 PM
ok, after reading the first 30 or so pages of the CGminer thread, it sunk in. the command that i was looking for to compile cgminer was:  ./configure

yeah, that was clear as mud. i was looking for a make file.

now i have what appears to be a linux issues:

configure: WARNING: Could not find curses library - if you want a TUI, install libncurses-dev or pdcurses-dev

...

configure: error: Missing required libcurl dev >= 7.18.2


anyone wanna tell me how to fix these? by giving me the commands? I'm not a Linux expert by any means.


Title: Re: CGminer, please take pity on me...
Post by: grue on April 24, 2013, 06:21:41 PM
sudo apt-get libncurses-dev


Title: Re: CGminer, please take pity on me...
Post by: Trongersoll on April 24, 2013, 06:29:23 PM
Thanks Grue. This is a completely new Linux install. I got the following:

sudo apt-get libncurses-dev
[sudo] password for trong:
E: Invalid operation libncurses-dev

I wish Unix had existed when I was in college. Life would be so much easier now.


Title: Re: CGminer, please take pity on me...
Post by: Trongersoll on April 24, 2013, 07:43:08 PM
ok, this is where i am at presently:

configure: error: Missing required libcurl dev >= 7.18.2

i'm not sure what to do about this, libcurl3 is installed.


Title: Re: CGminer, please take pity on me...
Post by: Viceroy on April 24, 2013, 07:53:21 PM
follow the step by step in my signature, perhaps.


Title: Re: CGminer, please take pity on me...
Post by: Zanatos666 on April 24, 2013, 08:51:37 PM
ok, this is where i am at presently:

configure: error: Missing required libcurl dev >= 7.18.2

i'm not sure what to do about this, libcurl3 is installed.


sudo apt-get install curl


Title: Re: CGminer, please take pity on me...
Post by: Trongersoll on April 24, 2013, 09:21:00 PM
lets let this thread die, i'm now getting help in the cgminer thread. Thanks for all the help!  ;D


Title: Re: CGminer, please take pity on me...
Post by: Viceroy on April 25, 2013, 01:38:27 AM
you can lock this thread by editing the OP.  the support in that thread will quickly die as it is just too noisy.  you should stay here.