In process of building steemd...

in #steem7 years ago (edited)

I

 

have been busy much of today, after @benjojo sorta makes me realise that since I have been calling out the mischief going on here, I have an obligation to do something towards providing the remedy, if only to reinforce the point about what a bunch of lowlifes are sitting on assets that may soon become worthless, and improperly gained, at the expense of everyone else here.


So, I wrote a script to do the build, and I'm still having some issues getting it to actually build, after about 3 hours and lots of revisions:

loki@vmi120844:~$ cat buildsteem.sh 
#!/bin/bash
echo "DOCUMENTATION IS DOCUMENTATION!"
echo "Building Steemd"
echo "Install prerequisite packages"
sudo apt install -y autoconf automake cmake g++ git libssl-dev libtool make pkg-config python3 python3-jinja2 doxygen libncurses5-dev libreadline-dev perl libbz2-dev
echo "Download Boost 1.60 (because C++ fuck you)"
URL='https://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.bz2/download'; wget -c "$URL" -O boost_1_60_0.tar.bz2
echo "Unpack Boobs archive"
tar xjf boost_1_60_0.tar.bz2
echo "Change working directory to Boobs."
cd boost_1_60_0
echo "Boobstrap, with extra titties (size optimization)"
CXXFLAGS='-Os -pipe' ./bootstrap.sh "--prefix=$HOME/boobs"
echo "Build the Boobs!"
./b2 -j$(nproc) install
echo "Escape from the Boobs!"
cd ..
echo "Erase the Boobs! Or the preminers will flag you! (note, we are not going to delete it because you might need the boobs again)"
rm -rf boost*
pwd
echo "Clone the steem"
git clone https://github.com/steemit/steem -b v0.19.1
echo "enter the Bog of eternal Steem, make sure you have first donned your biohazard suit"
cd steem
echo "Update submodules"
git submodule update --init --recursive
echo "Configuring Cmake crap (note, this is just for making your own personal copy of the blagchain, aka p2p node)... edit this script to build a witness, or impossible to run RPC node"
mkdir build
cd build
BOOST_ROOT="$HOME/boobs" cmake -DCMAKE_BUILD_TYPE=Release -DLOW_MEMORY_NODE=ON -DSKIP_BY_TX_ID=ON ..
echo "Build it, and they probably won't come"
make -j`nproc`
echo "Prepare to sign away your life with your user password"
sudo make install
echo "Now, you may run 'steemd' and it will vandalise your hard drive with all their premine"
cd ..


I finally got it to pass through to the actual build stage for steemdand the build tells me there is a serious type mismatch error for a binary left shift operation between two variables. You can see well enough that I have precisely used every version to match what is the latest, and, ya know what, I'm gonna try again with the v0.19.1rc1, because I didn't have this problem building that version. But for posterity, here is the console screenie of the glaring programmer error.

In common language, what we have here, is an attempt to move a decimal place beyond the right hand side of a string of numbers, and anything to the left is disappeared. In other words, if this operation were to be not considered an error, it would always produce zero. Unless the chopped off stuff goes back around from the right hand side, which if it does, is wrong.

This is probably due to the fact that I am running ubuntu 17.04, and that GCC++ was allowing this before, was an error, and that this operation, is an ERROR. I'd guess that there is some compiler flag I can trigger to fix this, but it's still an error.

(Image not shown due to low ratings)


(Image not shown due to low ratings)

Images were hidden due to low ratings.
Sort:  

@elfspice I'm glad you are able to put your joy back into this important effort 😃
More eyeballs and honorable support is growing around this effort - thanks for being here and sharing, cheers!

Keep up the good work bro! At least someones working on a solution of sorts. Thanks

 7 years ago  Reveal Comment

what happened with u getting flagged ??? Maybe i dont even ant to knwo or get involvd but i am guessing ur really getting comfortable calling out people here, sinvce u know u will have ur own fork of steem? lol, peopl cant seriously be mad at u for trying to fork steem blockchain can they?!?!