Bitcoin Forum

Other => Beginners & Help => Topic started by: Iceman_B on June 19, 2011, 02:29:23 AM



Title: Trying to compile Ufasoft miner on Linux - aka BREAKING DOWN
Post by: Iceman_B on June 19, 2011, 02:29:23 AM
I'm on the verge of crying, no joke.
I have limited experience with Linux but I learn fast.
Never compiled a program, I have no idea where to begin. I usually use aptitude to install updates to programs and even that is cumbersome.
The interface is too cryptic.....but I digress.

All I want to do is set up a Linux CPU miner.
I'm using Ubuntu 11.04 server. Headless machine so everything is done over SSH/screen.

Now, I downloaded the Ufasoft linux source and managed to unpacked it to ~/bitcoin/somedir.

So what do I do now?
I managed to get a jwasm binary file.

Currently, when I run ./configure I get this:
Code:
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
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 accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for g++... /usr/bin/g++
checking build system type... i686-pc-linux-gnu
checking for jwasm... jwasm
checking for pcre_compile in -lpcre... no
configure: error: "Library not found"

So...now what?


Title: Re: Trying to compile Ufasoft miner on Linux - aka BREAKING DOWN
Post by: Bth8 on June 19, 2011, 02:35:38 AM
If all you need is a CPU miner for linux, i recommend jgarzik's miner. http://forum.bitcoin.org/?topic=1925.0 (http://forum.bitcoin.org/?topic=1925.0)


Title: Re: Trying to compile Ufasoft miner on Linux - aka BREAKING DOWN
Post by: JinTu on June 27, 2011, 04:43:22 PM
Ufasoft does have some pretty exotic compile dependencies, so if troubleshooting errors like this (missing PCRE library) is to much to deal with, I too would suggest jgarzik's miner.