Fighting Steem Daemon #2steemCreated with Sketch.

in #steemd8 years ago

I can't report any progress since yesterday.
I had some encouraging comments, but my problem with the blockchain directory still persists.
Also: thanks for the votes !

I'm preparing to install a fresh Ubuntu 14.04.1 yet again.
Somehow the boost / libboost won't compile steemd anymore.

Running the older Ubuntu, I couldn't use the guides, until I found this:

-D_boost_TEST_VERSIONS=1.57

Before, cmake would return an error, stating that my boost version was too old.
Ubuntu 14.04.1 comes with boost 1.54 - But steemd requires boost 1.57 or newer.
Even though I had 1.57 installed, cmake wouldn't even look for it.
Adding the argument above, I could make cmake look for a newer version.

That worked and allowed me to build steemd.
I configured the config file in witness_node_data_dir and started downloading the blockchain.
My miner was syncronizing and downloading alright - It just didn't save it in the right folder.

Somehow, I think I compiled with the argument

-DCMAKE_BUILD_TYPE=Debug

That builds a slower, prerelease version.
Maybe that's my problem.
I should have used:

-DCMAKE_BUILD_TYPE=Release

I just can't make it compile a new steemd now.

Trying to find a workaround for the boost issue, I had uninstalled libboost.
I reinstalled it afterwards - Even though it wasn't even installed, cmake didn't look for 1.57 still.

Boost is more than a compiler - It does all sorts of other jobs ( Linking and stuff ).
For C and C++ it uses gcc compiler by default.
For some reason ( I can't remember ) I used clang / clang++ instead of gcc (gnu), once.
It did a good job. I told cmake to use clang with the 2 arguments here:

-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

However, that's now the default and I have to manually set:

-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=gcc

Everytime that I want to use gcc with cmake now.

Why is this so complicated ?

I understand boost is cross-plattform and allows to build steemd on different systems.
That's pretty nice - For me it's just annoying.

After posting, I will start out on a clean Ubuntu 14.04.1 yet again.
Uninstalling libboost and other fixes somehow scrambled some paths - I have no clue.

I will use these posts also as a ressource to store the helpful bits, that I found all over the internet.

Being a noob on Linux and steemd / blockchain in general, makes this really frustrating.
I don't know whether my difficulties are the Steem Daemon itself, or if it's just Linux.

It's funny:
For the train to Amsterdam I had bought a PC gaming hardware magazine.
It was a special issue on high-end GPUs.
I didn't realise then, that I had just taken part in a mining rush and wanted to inform myself on hardware.
A week later mining equihash got far less profitable.
Anyways ...
The magazine also covered, how the whole editorial team was experimenting with Linux.
They are just fed up with Microsoft.

It made me smile, because I had just made a similar decision.

I regularly reinstalled Windows, but the last days I have gone through the process too many times.
I seem to have deprecated paths or dependencies or whatever.
Fixing that would take me forever.

See you on a clean System soon ;)

Sort:  

This post has been ranked within the top 50 most undervalued posts in the first half of Nov 19. We estimate that this post is undervalued by $5.97 as compared to a scenario in which every voter had an equal say.

See the full rankings and details in The Daily Tribune: Nov 19 - Part I. You can also read about some of our methodology, data analysis and technical details in our initial post.

If you are the author and would prefer not to receive these comments, simply reply "Stop" to this comment.

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.029
BTC 75847.70
ETH 2878.96
USDT 1.00
SBD 2.57