walidzohair thanks so much for your post! It works a charm!
I have re-simplified your instructions for anyone else trying to build Ufasoft's CPU Bitcoin Miner under Ubuntu 10.10 x86 (32bit):
############################################################
# Ufasoft CPU bitcoin miner supporting RPC for pooled mining
# x86 (32bit) Debian / Ubuntu install guide
# Tested under Ubunutu 10.10 32bit
# Reference:
http://forum.bitcoin.org/index.php?topic=3486.msg114156#msg114156############################################################
# Install package dependencies
sudo apt-get install gcc-4.5 g++-4.5 libpcre++-dev libcurl4-dev unzip unace
# Manually install JWasm dependency
wget
http://www.japheth.de/Download/JWasm/JWasm205bl.zipunzip JWasm205bl.zip && sudo cp JWASM /usr/bin/jwasm && sudo chmod +x /usr/bin/jwasm
# Download, build and install software (should install in /usr/local/bin)
wget
http://ufasoft.com/files/open/ufasoft_bitcoin-miner-0.10.tar.lzmatar -xavf ufasoft_bitcoin-miner-0.10.tar.lzma
cd ufasoft_bitcoin-miner-0.10/
sudo CC=gcc-4.5 CXX=g++-4.5 ./configure && sudo make && sudo make install
# Cleanup
If your a clean freak, delete all files downloaded and extracted above
# Usage
bitcoin-miner --help
# Deepbit online mining pool example
bitcoin-miner -a 5 -t 4 -o
http://pit.deepbit.net:8332 -u
user@domain.com -p 'password'
so, this morning, could't sleep decided to play about with natty.... got right through to:
sudo CC=gcc-4.5 CXX=g++-4.5 ./configure && sudo make && sudo make install
and this and then this happend..
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc-4.5
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.5 accepts -g... yes
checking for gcc-4.5 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc-4.5... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++-4.5 accepts -g... yes
checking dependency style of g++-4.5... gcc3
checking for g++-4.5... /usr/bin/g++-4.5
checking build system type... x86_64-unknown-linux-gnu
checking for jwasm... jwasm
checking for pcre_compile in -lpcre... no
configure: error: "Library not found"
now prior to this i did have a small issue with libcurl3-nss libcurl4-nss-dev libnspr4 libnspr4-dev libnss3 libnss3-dev installation, but i think i got past that one.
i don't suppose anyone who's up and awake might have hit this one before ?