Bitcoin Forum
June 15, 2024, 08:21:03 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][OLY] OlympicCoin (rebranding as Aricoin with new features) on: September 03, 2014, 09:36:58 PM
Hi all,

I tried linux wallet  from github and it works..I compiled short instructions how to compile it on ubuntu....

How to compile AriCoin Wallet on ubuntu

1. Install necessary packages

#sudo apt-get install autoconf libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev git build-essential libminiupnpc-dev

2. Download Oracle Berkley DB 4.8
# wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz


Aricoin relies on an old version of the Berkeley Database that is not available as a standard Ubuntu 14.04 package.    
3. Unpack Berkley DB source and compile it

# tar -xvf db-4.8.30.NC.tar.gz
# cd db-4.8.30.NC/build_unix
# mkdir -p build
# BDB_PREFIX=$(pwd)/build
# ../dist/configure --disable-shared --enable-cxx --with-pic --prefix=$BDB_PREFIX
# make install
# cd ../..

4. Get Aricoin source

# mkdir -p src
# cd src
# git clone https://github.com/aricoin/aricoin.git


5. Compile Aricoin-qt from source

# cd aricoin
# qmake

After runing "qmake" edit the created Makefile.

a. update line INCPATH by adding BerkleyDB to the include path. (check that you still have $BDB_PREFIX variable set - or better yet replace it with the real path)

before:
INCPATH       =  -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ibuild -Ibuild

after:
INCPATH       =  -I$BDB_PREFIX/include -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ibuild -Ibuild

b. update line LIBS by adding BerkleyDB to the include path. (check that you still have $BDB_PREFIX variable set - or better yet replace it with the real path)


LIBS          = $(SUBLIBS)  -L/usr/lib/x86_64-linux-gnu -lminiupnpc -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lQtGui -lQtCore -lpthread

LIBS          = $(SUBLIBS)   -L$BDB_PREFIX/lib -L/usr/lib/x86_64-linux-gnu -lminiupnpc -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lQtGui -lQtCore -lpthread



# make


6. Compile aricoind from source

# cd aricoin/src

Befor runing "make" edit the  makefile.unix.

a. update line INCPATH by adding BerkleyDB to the include path. (check that you still have $BDB_PREFIX variable set - or better yet replace it with the real path)

before:
INCPATH       =  -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ibuild -Ibuild

after:
INCPATH       =  -I$BDB_PREFIX/include -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ibuild -Ibuild

b. update line LIBS by adding BerkleyDB to the include path. (check that you still have $BDB_PREFIX variable set - or better yet replace it with the real path)


LIBS          = $(SUBLIBS)  -L/usr/lib/x86_64-linux-gnu -lminiupnpc -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lQtGui -lQtCore -lpthread

LIBS          = $(SUBLIBS)   -L$BDB_PREFIX/lib -L/usr/lib/x86_64-linux-gnu -lminiupnpc -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lQtGui -lQtCore -lpthread

# make



After the compilation create aricoin.conf file and place it into $HOME/.Aricoin.

If you want to have it in another location starti aricoin-qt with parameter -conf=/path/to/aricoin.conf
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!