Post
Topic
Board Announcements (Altcoins)
Re: ⚒ Syscoin - LIVE Decentralized Marketplace, Encrypted Messaging, Escrow & more ☍
by
sidhujag
on 04/06/2016, 21:41:42 UTC
Do you have build instructions for Ubuntu.  I tried to build Sycoin on Ubuntu 16 using this:

Code:
./autogen.sh && ./configure --with-gui=qt5 --with-incompatible-bdb && make

It builds but I get a Segfault when I run it.  There is not much in the debug.log but the problem seems to be with Berkeley db:

Code:
CDBEnv::Open: LogDir=/home/dev/.syscoin/database ErrorFile=/home/dev/.syscoin/db.log

I tried on an Ubuntu 14 machine, the VM I use to build Bitcoin with:
Code:
./autogen.sh && ./configure --with-gui=qt4 && make
but I get a compile error:
Code:
In file included from /usr/include/qt4/QtNetwork/QNetworkRequest:1:0,
                 from qt/acceptandpayofferlistpage.cpp:21:
/usr/include/qt4/QtNetwork/qnetworkrequest.h:56:7: error: forward declaration of ‘class QSslConfiguration’
 class QSslConfiguration;
       ^
qt/acceptandpayofferlistpage.cpp:385:27: error: ‘QSslSocket’ has not been declared
    conf.setPeerVerifyMode(QSslSocket::VerifyNone);
                           ^
qt/acceptandpayofferlistpage.cpp:386:21: error: ‘QSsl’ has not been declared
    conf.setProtocol(QSsl::TlsV1_0);
I am using the code from the master branch:  https://github.com/syscoin/syscoin2
I can wait for the PPA  to be complete and leave my coins on Bittrex but like to build my own binaries.  Thanks!
There seems to be issue with that version because bdb 5.1 is used but you need 4.8 unless you build with compatibility mode.. the Ubuntu build instructions on github talk about this I believe

https://github.com/syscoin/syscoin2/blob/master/doc/build-unix.md