Jump to content
snailbrain

Guide - Building XAYA on Ubuntu

Recommended Posts

Building XAYA:

on 18.04 (and probably earlier)

open a terminal :

make sure everything is up to date 

sudo apt-get update
sudo apt-get upgrade

install dependencies

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev

also install berklydb 4.8 - easiest way is via bitcoin repository

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:bitcoin/bitcoin 

(if it comes up with a warning press enter to continue)

sudo apt-get update

install db4.8 + more stuff

sudo apt-get install git libdb4.8-dev libdb4.8++-dev libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev libboost-program-options-dev
git clone https://github.com/xaya/xaya
cd xaya
git checkout 1.0
./autogen.sh
./configure

here you can add -jX where x is the number of cores on your computer, this speeds up building.

make -j2
sudo make install

you will now be able to run the binaries from any folder by just typing in a terminal.

To run XAYA QT :

xaya-qt

or you can run the daemon or use the cli with 

xaya-cli

xayad

 

tested working on a fresh ubuntu 18.04 in a VM

  • Thanks 2

Share this post


Link to post
Share on other sites

Everything worked brilliantly. Perfectly smooth. 

(I had to set up an Ubuntu wallet simply to test something for a support request.)

Share this post


Link to post
Share on other sites

Hi,
nice guide, but it does not save the cookie file ... I tryed everything, the generator from /share/... even with config file setting rpcusername and rpcpassword

If I try with the rpcauth from generator I can see a "using invalid password" message in the logs ... same with rpcuser and pw -.-

Linux Ubuntu 16.04
QT working fine and xayad too

I think I miss something

Regards
casp0or

Share this post


Link to post
Share on other sites

i think for the cookie file to be generated you need to run the Qt with -server

the datadir should be in

~/.xaya/

or

/home/<user>/.xaya/

 

Share this post


Link to post
Share on other sites

E: Paket libqt5gui5 not found
E: Paket qttools5-dev-tools not found
E: Paket libqrencode-dev not found

and then... fatal: unable to access 'https://github.com/xaya/xaya/': The requested URL returned error: 400

 

 

Edited by Stefan Peters

Share this post


Link to post
Share on other sites

This worked for me on linux mint 19. It failed at first when I tried using other than make -j2 though.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×