Title: cgminer for ubuntu 11.04? Post by: kilgore on August 07, 2011, 10:41:21 AM Hi All!
I would post this in the proper place, but as a noob I'm restriced... I'M trying to install a desktop miner for pooled mining. cgminer seems like the simplest, but I can seem to get it to install. I've searched around, but instructions are always so complicated and I never manage. I'm open to other miners as well, but those seem even more complicated and all my attempts to install them have failed. Any tips for a noob? Title: Re: cgminer for ubuntu 11.04? Post by: PLaci1982 on August 07, 2011, 11:17:16 AM https://help.ubuntu.com/community/CompilingEasyHowTo (https://help.ubuntu.com/community/CompilingEasyHowTo)
Title: Re: cgminer for ubuntu 11.04? Post by: kilgore on August 07, 2011, 11:36:59 AM thanks, i wish it were that easy!
trying to run the ./autogen.sh gives the following error: Code: ./autogen.sh: 8: aclocal: not found The directions in the README for cgminer are difficult to understand as a noob, though a lot simpler than other miners. I would pay BTC for someone who came up with an easy to use/install miner! Title: Re: cgminer for ubuntu 11.04? Post by: PLaci1982 on August 07, 2011, 11:40:22 AM autogen ain't needed
Title: Re: cgminer for ubuntu 11.04? Post by: kilgore on August 07, 2011, 11:46:38 AM ok...what is needed?
the instructions: Quote To actually build: ./autogen.sh # only needed if building from git repo CFLAGS="-O3 -Wall -march=native" ./configure or if you haven't installed the ati files in system locations: CFLAGS="-O3 -Wall -march=native -I<path to AMD APP include>" LDFLAGS="-L<path to AMD APP lib/x86_64> ./configure make so autogen is not needed, ok. The second line of command returns: Code: bash: ./configure: Datei oder Verzeichnis nicht gefunden I've tried the third option as well, which does nothing. just returns: Code: > What next? Thanks in advance! Title: Re: cgminer for ubuntu 11.04? Post by: Wombat on August 07, 2011, 11:50:08 AM If you're trying to build from git following the README, you'll probably need some dependencies:
sudo apt-get install autoconf automake libcurl4-openssl-dev Title: Re: cgminer for ubuntu 11.04? Post by: kilgore on August 07, 2011, 11:54:41 AM Quote If you're trying to build from git following the README, you'll probably need some dependencies: sudo apt-get install autoconf automake libcurl4-openssl-dev Thanks! I installed those files. I am trying to install from the README, if there is an easier way I'd be glad to know! so I've got the files, whats the next step? Title: Re: cgminer for ubuntu 11.04? Post by: kilgore on August 07, 2011, 12:06:37 PM Wombat!
You're suggestion helped... for now! I was able to install according to the README instructions. Code: OpenCL: FOUND. GPU mining support enabled. But I still can't seem to use the program. it just says: Code: cgminer: Befehl nicht gefunden Title: Re: cgminer for ubuntu 11.04? Post by: Wombat on August 07, 2011, 12:07:04 PM Well, you could download the pre-built binary version from the cgminer thread instead:
http://bitcointalk.org/index.php?topic=28402.0 If you still want to try building from git, you'll need the curses dependency as well: sudo apt-get install libncurses5-dev Then just follow the build instructions in the README. It's good to know how to do this, as cgminer is under active development, and you can get early access to new features from git. But the pre-built binary is obviously easier. Good luck ;) Title: Re: cgminer for ubuntu 11.04? Post by: Wombat on August 07, 2011, 12:10:29 PM Code: cgminer: Befehl nicht gefunden Maybe the current directory isn't in your path, try ./cgminer ? Title: Re: cgminer for ubuntu 11.04? Post by: kilgore on August 07, 2011, 12:18:50 PM :-\
turns out I forgot the last command: "make" noob mistake :P But "make" also doesn't work right, spits this out at the end: Code: main.c:14:20: fatal error: curses.h: Datei oder Verzeichnis nicht gefunden If your german is rusty: "Datei oder Verzeichnis nicht gefunden" = File or Folder not found "Fehler" = Error Title: Re: cgminer for ubuntu 11.04? Post by: Wombat on August 07, 2011, 12:22:37 PM Did you install the curses dependency mentioned in the README?
sudo apt-get install libncurses5-dev Title: Re: cgminer for ubuntu 11.04? Post by: kilgore on August 07, 2011, 12:34:09 PM oh, missed that part of the read me. Thanks! Installed that plus one other dependency that it said I could download, though it wasn't necessary.
It got me a bit further with "make", though still no successful install. Heres what it said in the end, though the list with "undefined reference" is much longer..... Code: main.c:(.text+0xae3f): undefined reference to `delwin' Title: Re: cgminer for ubuntu 11.04? Post by: PLaci1982 on August 07, 2011, 12:40:12 PM Try this:
Code: sudo apt-get install libcurl4-gnutls-dev Title: Re: cgminer for ubuntu 11.04? Post by: kilgore on August 07, 2011, 12:43:59 PM got it!
error is still the same as in previous post... Title: Re: cgminer for ubuntu 11.04? Post by: PLaci1982 on August 07, 2011, 01:21:47 PM Weird...
Did you installed the ATI SDK? I have no other idea, then to delete the extracted source, and start over... Title: Re: cgminer for ubuntu 11.04? Post by: kilgore on August 07, 2011, 01:32:02 PM hmm..
I followed these instructions in the readme successfully, that should give me the ati sdk, right? Code: Basic *nix build instructions: Title: Re: cgminer for ubuntu 11.04? Post by: kilgore on August 07, 2011, 02:28:54 PM ok, the last tip worked!
Delete > reboot > start from scratch :) OMG I'm mining for bitcoin!!! |