last night I made another attempt at compiling the dogecoin sources on a "spare" server, something I've been making lame attacks on for 10 months now. looks like it finally built.
going back through my history log, here are some of the things that made the difference. first problem was that the header libdb_cxx.h wasn't found. I had to recompile the BDB 5.1 sources again:
$ cd ../db-5.1.29/build_unix $ ../dist/configure --prefix=/usr/local --enable-cxx $ make $ make install
then I was missing most of the boost libraries. sudo apt-get install libboost-all-dev libminiupnpc-dev fixed that and another potential problem. then back to /usr/src/dogecoin:
$ ./configure --without-gui $ make
it was taking forever. stopped the job with ^Z and looked around. top showed I was thrashing, so I shut down bitcoind to free up some memory. then resumed compiling, it still thrashed now and then but at least it was building. then in the final linking of the binary, it crapped out with two errors relating to boost::program_options, the first was with to_internal and I forget the other one. I looked in the sources, /usr/include/boost/program_options/detail/config_file.hpp, and it looked like it should have been there, because BOOST_NO_STD_WSTRING was not defined. googled around and got some StackOverflow results, most of which said to downgrade boost, and one which said to upgrade g++. I chose the latter, and left it running all night with make V=1 for verbosity. it worked.
Back to blog or home page
last updated 2017-12-06 10:29:11. served from tektonic