I'm running Ubuntu desktop 12.04 32bit. I downloaded cgminer-2.8.5-x86_64-built.tar.bz2 and unpack it to my home directory. When I run cgminer I get the syntax error (bracket is unexpected):
me@me:~/cgminer-2.8.5-x86_64-built$ sudo ./cgminer --help
[sudo] password for me:
./cgminer: 1: ./cgminer: Syntax error: "(" unexpected
How to solve this issue? I'm newbie, so cannot post this to the right thread.
You have to compile it for 32 bit, I had a lot of trouble with cgminer and ubuntu x86
1. First you have to install dependencies: sudo apt-get install .....
libcurl4-openssl-dev
pkg-config
libtool
2. Download and extract the sources
http://ck.kolivas.org/apps/cgminer/cgminer-2.9.1.tar.bz23. Then compile:
CFLAGS="-O2 -Wall -march=native" ./configure
and you are ready to go