GithubHelp home page GithubHelp logo

Comments (7)

 avatar commented on August 24, 2024 1

Something you forgot is running ./autogen.sh before ./configure
Look at https://github.com/Tau-Coin/taucoin/blob/developer/build-unix.md#to-build
Is this enough to fix your problem ?

No. I just miss ./autogen.sh in my first post. But i was execute it.

from tautcoin.

 avatar commented on August 24, 2024 1

I try do it again. It works. Here full instruction.

Installation. DigitalOcean, Ubuntu 16.04 Server.

Create Droplet on DigitalOcean

Ubuntu 16.04.4 x64 / 4 GB Memory / 80 GB Disk

Log in server. xxx.xxx.xxx.xxx - your server IP.

Fix locale

sudo nano /etc/environment

Add line to /etc/environment and save file

LC_ALL="en_US.UTF-8"

Reboot

sudo reboot

After reboot wait about minute and log in again.

Update operating system

sudo apt update
sudo apt dist-upgrade -y
sudo apt upgrade -y
sudo apt autoremove -y

Install dependencies

Install dependencies

sudo apt install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-all-dev libminiupnpc-dev libzmq3-dev autoconf autoconf-archive -y

Install libdb4.8

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt update
sudo apt install libdb4.8-dev libdb4.8++-dev -y

Update OpenSSL from 1.0.1 to 1.1.1

Instruction from howtoforge.com

sudo apt install build-essential checkinstall zlib1g-dev -y
cd /usr/local/src/
sudo wget https://www.openssl.org/source/openssl-1.1.1.tar.gz
sudo tar -xf openssl-1.1.1.tar.gz
cd openssl-1.1.1

sudo ./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'
sudo make
sudo make install

Create /etc/ld.so.conf.d/openssl-1.1.1.conf

sudo nano /etc/ld.so.conf.d/openssl-1.1.1.conf

Add line to /etc/ld.so.conf.d/openssl-1.1.1.conf and save file

/usr/local/ssl/lib

Edit /etc/environment

sudo nano /etc/environment

Add "/usr/local/ssl/bin" at the end of PATH

- PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

+ PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/ssl/bin"

Backup old OpenSSL version

sudo mv /usr/bin/c_rehash /usr/bin/c_rehash.BEKUP
sudo mv /usr/bin/openssl /usr/bin/openssl.BEKUP

Reload PATH

source /etc/environment
echo $PATH

Check OpenSSL version

openssl version

Result: OpenSSL 1.1.1 11 Sep 2018

Install taucoin

cd ~/
git clone https://github.com/Tau-Coin/taucoin
cd taucoin/
cat "/usr/share/libtool/build-aux/ltmain.sh" > ltmain.sh

./autogen.sh
./configure --without-gui --without-miniupnpc
make

Wait about 30m =)

make install

Check taucoin

taucoin-cli -version

Result TauCoin Core RPC client version v0.1.0.0-ad4a8a7

You can add my instruction in repository for newbies. Please close issue.

from tautcoin.

feyrian avatar feyrian commented on August 24, 2024

Something you forgot is running ./autogen.sh before ./configure
Look at https://github.com/Tau-Coin/taucoin/blob/developer/build-unix.md#to-build
Is this enough to fix your problem ?

from tautcoin.

qingxueyunfeng avatar qingxueyunfeng commented on August 24, 2024

From file "test-suite.log", it can be found that some test cases failed. Taucoin is forked from BTC and test cases are still not updated.
Just execute "make" not "make check".

thanks.

from tautcoin.

Td10tsk avatar Td10tsk commented on August 24, 2024

You can add my instruction in repository for newbies. Please close issue.

ERROR: CInit::CInit(): until.cpp:147 - undefined reference to 'OPENSSL_init_crypto'
after update SSL my 14.04 desctop ubuntu throw this error during make

from tautcoin.

feyrian avatar feyrian commented on August 24, 2024

@Td10tsk
According to https://www.howtoforge.com/tutorial/how-to-install-openssl-from-source-on-linux/
To build OpenSSL 1.1.1 try this:

sudo ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib
sudo make
sudo make install

Don't know what the parameters given by @nkgrigoryev are for -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)' ?

For the rest, do all as stated, except for the "fix locale" part which is not necessary.
And in "Install taucoin" part, if you plan to use taucoin-qt (the GUI wallet), of course don't use the
--without-gui parameter.

A thing to know, even if the wallet don't need much RAM to work, compiling the wallet does. So if you have less than 2Gb don't forget to use swap file and even with just 2Gb I needed to kill other process running to be able to compile succesfully on a VPS with 1vCore and 2Gb.

from tautcoin.

feyrian avatar feyrian commented on August 24, 2024

@qingxueyunfeng we are out of the topic of this issue, it could/should be closed.

from tautcoin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.