Author Topic: [xolominer] How to compile and run in linux  (Read 16712 times)

Offline maybe_just_one

  • Jr. Member
  • **
  • Posts: 21
  • Karma: +1/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #15 on: November 05, 2013, 04:40:24 pm »
Added CentOS. Note: This only seems to work on a clean environment. Make sure you completly remove all openssl, db4 and boost from yum!

Will these already by installed if you just installed the OS? If they are how do I remove them.

Offline donschoe

  • Full Member
  • ***
  • Posts: 92
  • Karma: +8/-1
  • hello world
  • Referrals: 1
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #16 on: November 06, 2013, 04:08:54 am »
Added CentOS. Note: This only seems to work on a clean environment. Make sure you completly remove all openssl, db4 and boost from yum!

Will these already by installed if you just installed the OS? If they are how do I remove them.

No, dont think so. But if you are running server environments I guess at least openssl should be installed. Try:

Code: [Select]
yum remove openssl openssl-devel db4 db4-devel boost boost-devel

Offline xolokram

  • Hero Member
  • *****
  • Posts: 651
  • Karma: +56/-2
  • beeeeer.org
  • Referrals: 9
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: [xolominer] How to compile and run in linux
« Reply #17 on: December 02, 2013, 08:33:16 am »
TODO: add the CentOS 5.9 howto
it's somewhere in the official / tech support forum (lately)
beeeeer.org - beeeeer's GPU miner!
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb | LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo | XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline macmainer

  • Jr. Member
  • **
  • Posts: 19
  • Karma: +0/-10
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #18 on: December 02, 2013, 11:09:27 am »
Please do video tutorial for CentOS or Debian OS. I be very glad for this!! send youtube.

Install and config miner in new OS. Thank you!

Offline almssp

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #19 on: December 02, 2013, 01:28:54 pm »
Does anyone has a static(binary) x86 and x86_64 version ?

Or the way to compile as static ?


Thankz.


Offline thecapitalr

  • Jr. Member
  • **
  • Posts: 11
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #20 on: December 06, 2013, 02:28:41 am »
Managed to get my i5 3570k stable at 4.5ghz (for some reason it just wont get stable at 4.6!) and now I am getting a little over 4000pps. Very happy :-)

Offline avandesande

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #21 on: December 08, 2013, 04:56:02 pm »
Hello- I have been trying to recompile using cpu optimizations and haven't had much luck- when I recompiled with CFLAGS nothing happened, so I used -B to force it to recompile and am getting the following error:

In file included from db.cpp:6:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory
compilation terminated.
make: *** [obj/db.o] Error 1
aaron@debian:~/xolominer/src$ In file included from db.cpp:6:0:

I deleted everything and resynched with git and am getting the same error... anyone have any ideas?

Offline donschoe

  • Full Member
  • ***
  • Posts: 92
  • Karma: +8/-1
  • hello world
  • Referrals: 1
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #22 on: December 15, 2013, 11:31:25 am »
Hello- I have been trying to recompile using cpu optimizations and haven't had much luck- when I recompiled with CFLAGS nothing happened, so I used -B to force it to recompile and am getting the following error:

In file included from db.cpp:6:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory
compilation terminated.
make: *** [obj/db.o] Error 1
aaron@debian:~/xolominer/src$ In file included from db.cpp:6:0:

I deleted everything and resynched with git and am getting the same error... anyone have any ideas?

Which operating system? You are missing libdb++-dev.

Offline edreamer

  • Jr. Member
  • **
  • Posts: 4
  • Karma: +1/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #23 on: December 18, 2013, 08:25:08 pm »
Hello donschoe,

This is an excellent collection of info for compiling primeminer from source.

The Debian 7.2.0 Wheezy x64 is what I used for Linux Mint 16
So far everything has worked correctly.

Thank you,
e
Tips go here:
XPM - Ae6NQRFUDmPtge3eQ1noMqegtRz8VdfGgQ
FTC - 6s8jfq5FfpBsRSG68MpXhdKTqSPjBgiXzJ
LTC - Li5YtuW1i3ucyofkyzpgW78PhT2EwXpCd5
BTC - 1HvfCy164iVc1busMuDDVppenGTBWk5Y9
PPC - PGcVXFDHdYdFn98Q1ofsVnwQ8brxy1vJMv

Offline SegaBIT

  • Jr. Member
  • **
  • Posts: 2
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #24 on: January 12, 2014, 04:42:15 am »
How to compile and run primeminer on Ubuntu 10.04?

Offline peshooo

  • Jr. Member
  • **
  • Posts: 2
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #25 on: January 16, 2014, 11:28:02 pm »
TODO: add the CentOS 5.9 howto
it's somewhere in the official / tech support forum (lately)

Finally managed to compile it on CentOS 5.7.
Will write a short guide, after I get some sleep :)

Offline JPH40

  • Jr. Member
  • **
  • Posts: 3
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #26 on: January 18, 2014, 10:36:08 pm »
So, nooby question here, but I have tried compiling with these scripts both on Ubuntu 12.04 and 13.10, and the entire compilation process completes without any error messages, but at the end there is no primeminer executable. Running ls -a shows the xolominer directory but no .primeminer, and I have run find on the whole directory tree, to no avail. Anyone have any suggestions? I am stumped.

Offline peshooo

  • Jr. Member
  • **
  • Posts: 2
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #27 on: January 19, 2014, 12:50:51 am »
In my case, after compilation the primeminer executable resides in the xolominer/src directory. Also the name doesn't have dot, only "primeminer".

Offline JPH40

  • Jr. Member
  • **
  • Posts: 3
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #28 on: January 19, 2014, 01:03:57 am »
Dear Peshoo,

I have primeminer in xolominer/src as you mention. When I try running it I get

primeminer: command not found.

The file permissions are: -rwxr-xr-x


Offline donschoe

  • Full Member
  • ***
  • Posts: 92
  • Karma: +8/-1
  • hello world
  • Referrals: 1
    • View Profile
Re: [xolominer] How to compile and run in linux
« Reply #29 on: January 19, 2014, 01:27:34 am »
So, nooby question here, but I have tried compiling with these scripts both on Ubuntu 12.04 and 13.10, and the entire compilation process completes without any error messages, but at the end there is no primeminer executable. Running ls -a shows the xolominer directory but no .primeminer, and I have run find on the whole directory tree, to no avail. Anyone have any suggestions? I am stumped.

Paradox. Either you have errors or you have primeminer. You cant have neither of them Please check your logs and post your errors here.

 
Share this topic...
In a forum
(BBCode)
In a site/blog
(HTML)


Peercoin.net Official Peercoin Website