Closed cpsilent closed 3 years ago
@cpsilent, if this has been resolved with latest changes at #80, then please close this issue
Unfortunately, it hasn't. However, please note that I'm using a different set of instructions to build it. I need to figure out how to build the linux version deviating a little bit of the instructions set located at #80.
@cpsilent, we have reached a point where we can't upgrade dependencies and stay compatible current linux distros. The only way is to build statically linked binaries, which is the last resource. Can you try to build this experimental release of devcoin? https://github.com/devcoin/core/tree/devcoin0.9.2. Notice that the branch is devcoin0.9.2, so you have to do this: git clone --branch=devcoin0.9.2
The problem is I'm not sure how to build it statically for linux. I had tried changing the target os in some of those commands to no avail. That's something that goes beyond my knowledge and search skills. What can I do besides those changes to make it work on linux? After the devcoind compilation, it would be possible to compile the GUI using the instructions on Steemit/Hive or should I do that statically also? Thank you @develCuy!
@cpsilent please compile 0.9.2 with the instructions from steemit/hive, don't worry about statically linked binaries right now
I downloaded the new branch files and when I tried to compile it, it showed the following error:
make: makefile.unix: No such file or directory make: *** No rule to make target 'makefile.unix'. Stop.
Can you try this instructions instead: https://github.com/devcoin/core/blob/devcoin0.9.2/doc/build-unix.md
At the end of this comment I will attach .txt files with the output problems.
I used the option to configure --with-incompatible-bdb
, because the ppa added in the instructions doesn't have a Berkeley DB 4.8 package for the current os version (Focal Fossa which is the one Linux Mint Ulyana is based on), so, it was suggested to add that option in configure, in case there were no way to install that version. I added the --with-gui=qt5
option because there aren't qt4 libs in the current repositories anymore.
Some other issues I found:
Configuration output: compilation_2020-09-24-23_23.txt
Hi. There's some compile issue on v0.8.8.0 compile in the Linux Mint 20.2 (Ubuntu Focal). Some problem is appear during compile. You have to install DB Berkley 4.8, 4.8++ from the sources (bash, article) and remove libdb5.3 before compilation:
sudo apt remove libdb5.3++ libdb5.3++-dev
In attached patch compile fix for Linux in src/bitcoinrpc.cpp file (not my own patches, not tested, just got solution from the other Coins). Added missed boost's libraries. Off some libcurl's libs. My Boost version 1.71.0, gcc version 9.3.0.
Compile keys Devcoin-qt:
qmake USE_QRCODE=- USE_UPNP=- devcoin-qt.pro && make clean && make
Devcoind:
cd src && make -f makefile.unix clean && make -f makefile.unix
Compilation is OK, not tested but look like works fine and it updating the Devcoin blockchain.
@cpsilent, can you check @older777's instructions and provide test results?
I tried to patch the file src/bitcoinrpc.cpp but the output was:
` What I'm doing wrong? By the way, I have to switch to Kubuntu 20.04.3 LTS, because I lost my old SSD.
I tried to patch the file src/bitcoinrpc.cpp but the output was: ~/core/src$ patch -p1 < bitcoinrpc.patch
I think you have to go upper folder before patch ~/core$
Got any success?
Look, the Devcoin install instruction wallet runs on Qt4. But Qt4 a bit obsolete. So let me note about of compilation for Qt5. Pls install next tools:
sudo apt-get install libqt5core5a qt5-qmake qtpositioning5-dev qt5-default qttools5-dev-tools
Compiled, works good.
Got any success? Look, the Devcoin install instruction wallet runs on Qt4. But Qt4 a bit obsolete. So let me note about of compilation for Qt5. Pls install next tools:
sudo apt-get install libqt5core5a qt5-qmake qtpositioning5-dev qt5-default qttools5-dev-tools
Compiled, works good.
I applied the patch successfully, but the compile process ended in error. Please refer to the file compiling01.txt for further details. I will install the other tools you mentioned as soon as I can solve the compiling problem. Am I using the wrong branch? I'm using master at the moment. Thank you!
I applied the patch successfully, but the compile process ended in error.
The header file db_cxx.h means you didn't install DB Berkley 4.8, 4.8++?
Try locate file:
art@art:/$ locate db_cxx.h
it should be something like
/include/db_cxx.h
/usr/local/docs/programmer_reference/upgrade_3_0_db_cxx.html
/usr/local/include/db_cxx.h
If not found please look for previous message
Compiling process is successful in Kubuntu 20.04.3 LTS!
However, it shows me this error below and gets close
:~/core$ ./devcoin-qt
DEBUG: Fetching http://galaxies.mygamesonline.org/receiver_94.csv ... got 7758 bytes
DEBUG: Fetching http://devcoinpool.btc-music.com/receiver/receiver_94.csv ... got 0 bytes
DEBUG: Fetching http://devcoin.darkgamex.ch/receiver_94.csv ... got 7758 bytes
DEBUG: Fetching http://d.evco.in/receiver/receiver_94.csv ... got 7758 bytes
DEBUG: Fetching http://show-me-the-devcoin.info/devtome/receiver_94.csv ... got 2057 bytes
DEBUG: Fetching http://node1.devcoin.cloud/receiver_files/receiver_94.csv ... got 0 bytes
DEBUG: Fetching http://jerpat.us/dcr/uploads/receiver_94.csv ... got 7813 bytes
Number of pages in getCommonOutputByText: 7
DEBUG: Identical pages in getCommonOutputByText: 1
DEBUG: Identical pages in getCommonOutputByText: 3
Insufficient identical pages in getCommonOutputByText.
Warning, writeFileText in receiver.h won't write the file:
/home/username/.devcoin/receiver/receiver_94.csv
because the text is blank.
No coin addresses were found, there may be something wrong with the receiver_x.csv files.
QFileSystemWatcher::removePaths: list is empty
QFileSystemWatcher::removePaths: list is empty
Should I try another branch to make it run properly? Thank you so much!
Great @cpsilent! Got errors cuz some nodes are dead in the list :) try download blockchain by the devcoind 👍
If blockchain is still able to get, so currency still alive yet. IMHO just necessary fix errors and make wallet able for any new OS. And everything would be OK. Am I right, @develCuy ? 😉
Great @cpsilent! Got errors cuz some nodes are dead in the list :) try download blockchain by the devcoind 👍
If blockchain is still able to get, so currency still alive yet. IMHO just necessary fix errors and make wallet able for any new OS. And everything would be OK. Am I right, @develCuy ? 😉
heh some nodes are dead... I think most of the data when I delete my debug log is trying to connect to dead nodes! :) but we're here great job guys 🥇
Nice! Since the compilation process was a success in Linux and since the problem is unrelated to this issue, I will close this issue and I considered it as solved. I imagine you guys already opened a new issue related with those dead nodes. Thank you so much for all your help in getting this fixed!!!
I did compile the wallet in Lubuntu 16.04.3 successfully using a Virtual Machine. However, while trying to move it to a system with Linux Mint 20 (based on Ubuntu 20.04) it didn't run. So, after a while trying unsuccessfully to compile the wallet, I decided to compile it on a Virtual Machine using Lubuntu 20.04.1 (also based on Ubuntu 20.04) with the same results as in Linux Mint 20. Researching about it, it seems that it needs libboost 1.54.0, but it's no longer available in repositories and I couldn't successfully compile it on my system.
For the compiling process I used these instructions: https://hive.blog/busy/@cpol/how-to-compile-your-very-own-devcoin-wallet-in-ubuntu-18-04
Here is the output when I executed the
make -f makefile.unix USE_UPNP=-
command: