Bitcoin Forum
May 24, 2024, 07:57:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Trying to compile Ufasoft miner on Linux - aka BREAKING DOWN  (Read 4622 times)
Iceman_B (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 19, 2011, 02:29:23 AM
 #1

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?
Bth8
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
June 19, 2011, 02:35:38 AM
 #2

If all you need is a CPU miner for linux, i recommend jgarzik's miner. http://forum.bitcoin.org/?topic=1925.0
JinTu
Full Member
***
Offline Offline

Activity: 133
Merit: 100



View Profile
June 27, 2011, 04:43:22 PM
 #3

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!