Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Primecoin HP/Pool Miner
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Desti²
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2003
Posts: 127

PostPosted: Mon Dec 02, 2013 2:53 am    Post subject: Primecoin HP/Pool Miner Reply with quote

Hi,

i've seen that there was an ebuild for the primecoin miner added https://packages.gentoo.org/package/net-p2p/primecoind which compiles and works, but is very slow.

I've tried to compile the hp and pool miner, but no success yet, as it always fails to compile with an db error

http://sourceforge.net/projects/primecoin-hp/files/?source=navbar


from main_poolminer.cpp:29:
db.h:14:20: fatal error: db_cxx.h: No such file or directory


db_cxx.h is available from db-4.8, but it doesn't find it. The primecoind ebuild has a patch to use system installed level db, but I couldn't fit it yet. Has anyone else got it to compile on Gentoo yet?
_________________
Linux Users Everywhere @ climateprediction.net
Back to top
View user's profile Send private message
shazeal
Apprentice
Apprentice


Joined: 03 May 2006
Posts: 197
Location: New Zealand

PostPosted: Mon Dec 02, 2013 4:53 am    Post subject: Reply with quote

You need to modify the source files. Just grep for db_cxx.h and replace the #include lines with <db4.8/db_cxx.h> instead of just <db_cxx.h>. You could then if you wanted make a patch and apply it to the ebuild.
_________________
CFLAGS="-OmgWTFR1CE --fun-lol-loops --march=asmx86go"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum