Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

OMC 

How to Compile OmniCoind

Incomplete. I'm fixing it.
A lot of people keep asking me for help with this, so I thought I'd create this. Thanks to Doctor Blue for helping me figure this out 😝

1) Install Git We'll be using Git to download the source code.
Code
# unjunked version of linux's post, possibly works
sudo apt-get update && sudo apt-get update
sudo apt-get install build-essential libglib2.0-dev libglibmm-2.4-dev libboost-all-dev libdb++-dev autoconf automake ncurses-dev git ca-certificates libdb++-dev

2) Clone (aka download) OmniCoin
Code
git clone https://github.com/omnicoinsource/Omnicoin.git omc

3) Enter the leveldb directory to perform a fix
Code
cd omc/src/leveldb
chmod +x build_*
make
make libleveldb.a libmemenv.a

4) Possibly successfully build it
Code
make -f makefile.unix USE_UPNP=-
strip ./OmniCoind
sudo cp ./OmniCoind /usr/bin/OmniCoind

Yay.
Why do we need to compile this? Don't get it.
Adding to this, these instructions are for *nix only.

I'll post a tutorial for OSX shortly.
Crypto

(Apr 10, 2014 08:04 AM)VRUMM Wrote:  Why do we need to compile this? Don't get it.

This is for Debian/Ubuntu. If you plan on running a pool or exchange you need OmniCoind.
(Apr 10, 2014 08:04 AM)VRUMM Wrote:  Why do we need to compile this? Don't get it.

This is how cough online wallets work. And any other online service for that matter.
Thanks i've been trying to compile this for a site i'm making :P

Edit: This works for me, I was able to compile it.
I took the lazy way out since I already had wine installed I just ran the windows exe and it worked fine.
MAKE REP GREAT AGAIN 2027
(Apr 10, 2014 03:17 PM)Immortal Wrote:  I took the lazy way out since I already had wine installed I just ran the windows exe and it worked fine.

Well, that's not what this tutorial is for.

OmniCoind is different from QT.
Thanks for posting this, didn't really need the help but others may.


Oh and some may have issues here are some fixes (check replies): http://forum.qrk.cc/thread/1210/quark-p2pool-setup
This guide doesn't actually work. Gonna add to it in a min
(Apr 13, 2014 02:14 PM)xhflhkeuhwguu34 Wrote:  This guide doesn't actually work. Gonna add to it in a min

Of course it doesn't. You didn't add the dependencies part of it :P
[Image: wOdD4yf.gif]
(Apr 13, 2014 02:15 PM)Pillows Wrote:  Of course it doesn't. You didn't add the dependencies part of it :P

yes i have noticed this after attempting to install it on a fresh server
(Apr 13, 2014 02:16 PM)xhflhkeuhwguu34 Wrote:  yes i have noticed this after attempting to install it on a fresh server

Yea, hints the link I added, you also need libssl, and may need to restart in order to free up memory.


sudo apt-get update

sudo apt-get install python-software-properties screen git python-rrdtool python-pygame python-scipy

sudo apt-get install python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev

sudo apt-get install python-dev libboost-all-dev libdb++-dev autoconf automake ncurses-dev

Including:
sudo apt-get install libssl (something like that)
sudo apt-get install libboost-all-dev
and
sudo apt-get install boost-devel
Oh and if anyone has problems with it killing itself use this python script I made:
(E.g sudo python scriptname.py &)
PHP Code

<?php 
while True:
    
import os
      s 
= os.popen("ps -A | grep 'OmniCoind'")
      if(
s.read() == ""): os.system("OmniCoind") 
(Apr 13, 2014 02:38 PM)Linux. Wrote:  Yea, hints the link I added, you also need libssl, and may need to restart in order to free up memory.


sudo apt-get update

sudo apt-get install python-software-properties screen git python-rrdtool python-pygame python-scipy

sudo apt-get install python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev

sudo apt-get install python-dev libboost-all-dev libdb++-dev autoconf automake ncurses-dev

Including:
sudo apt-get install libssl (something like that)
sudo apt-get install libboost-all-dev
and
sudo apt-get install boost-devel
Oh and if anyone has problems with it killing itself use this python script I made:
(E.g sudo python scriptname.py &)
PHP Code

<?php 
while True:
    
import os
      s 
= os.popen("ps -A | grep 'OmniCoind'")
      if(
s.read() == ""): os.system("OmniCoind") 

I believe these are the dependencies:
build-essential
libssl-dev
libboost-all-dev
libdb5.1-dev
libdb5.1++-dev
libgtk2.0-dev
New to trading cryptocurrencies but don't know where to start? Join Binance here! Binance is my favourite exchange for cryptocurrencies w/ low fees.

[Image: 793854efd3c9ee7d90ddd413ae9deed6.png]
apt-get install ntp git build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev
That made it work. Don't think you need qrencode though, that's for QT.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[OMC] by ScreamXFeb 8, 2016 11:27 AM 5 249 Feb 8, 2016 11:27 AM
Last Post: k6ng
[OMC] by SomeWhiteGuyJul 19, 2015 05:38 PM 6 154 Jul 19, 2015 05:38 PM
Last Post: SomeWhiteGuy
[OMC] by spidumSep 12, 2014 01:10 PM 9 165 Sep 12, 2014 01:10 PM
Last Post: HustlerEnergy