BitShares Forum

Main => General Discussion => Topic started by: Keeper of the Trout on August 26, 2016, 06:41:00 pm

Title: Who will help me build a public testnet?
Post by: Keeper of the Trout on August 26, 2016, 06:41:00 pm
Running a server on Ubuntu 16.04.1 LTS, trying to build my own chain, following the instructions I find here: http://docs.bitshares.org/testnet/1-install.html

Installed gcc-4.9 and Boost 1.57 to avoid confusion.

Here's what I have.

Code: [Select]
root@ubuntu:~/bitshares-2# cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release .
CMake Error at CMakeLists.txt:37 (include):
  include could not find load file:

    GetGitRevisionDescription


CMake Error at CMakeLists.txt:38 (get_git_head_revision):
  Unknown CMake command "get_git_head_revision".


-- Configuring incomplete, errors occurred!
See also "/root/bitshares-2/CMakeFiles/CMakeOutput.log".
See also "/root/bitshares-2/CMakeFiles/CMakeError.log".

Any updated tutorial or any info on how to get rid of this RevisionDescription thing?
Title: Re: Who will help me build a public testnet?
Post by: Keeper of the Trout on August 26, 2016, 07:07:52 pm
OK, I did "git submodule update --init --recursive" and it now gives an error about Boost. Let me play with it a bit more.
Title: Re: Who will help me build a public testnet?
Post by: Keeper of the Trout on August 26, 2016, 09:14:57 pm
Code: [Select]

The following Boost libraries could not be found:

          boost_unit_test_framework
          boost_locale
          boost_coroutine

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.

Now what? Is it really that hard to write a proper documentation for this?

The documentation is obviously flawed. How are we supposed to trust the code, then?

I still want to install a witness node. Any help would be much appreciated.
Title: Re: Who will help me build a public testnet?
Post by: hammurabi on August 27, 2016, 08:59:22 am
Code: [Select]

The following Boost libraries could not be found:

          boost_unit_test_framework
          boost_locale
          boost_coroutine

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.

Now what? Is it really that hard to write a proper documentation for this?

The documentation is obviously flawed. How are we supposed to trust the code, then?

I still want to install a witness node. Any help would be much appreciated.


Yeah, these boost libraries are very often a pain.
try this to see available libraries:
apt-cache search libboost
and then type this to install them:
apt-get install libboost-whateverismissing
(use sudo for above commands if you are on Ubuntu)

I think the reason for the problem is that most developers have those libs installed.
And since the Quality Assurance is non-existence nobody else could spot the problem.


For ubuntu 15.10 I see nice package which should do the trick:
libboost1.58-all-dev - Boost C++ Libraries development files (ALL)
libboost-all-dev - Boost C++ Libraries development files (ALL) (default version)

but I didn't test it.
Title: Re: Who will help me build a public testnet?
Post by: Keeper of the Trout on August 27, 2016, 11:10:19 am
@hammurabi,

You're my man!