Advertisement
natsfr

Compile litedoge on RPI4

May 4th, 2021 (edited)
934
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. ================== FOR QT NEED UPDATE SEEMS TO WORK, you need a berkdb from arm ==============
  2. Install:
  3. apt install qt5-default qt5-qmake qtdeclarative5-dev qttools5-dev-tools libdb++-dev libminiupnpc-dev <= good enough for qmake
  4. Make will stop on boost related error
  5.  
  6. wget https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz
  7. ./bootstrap.sh --prefix=/home/pi/boost176_build/
  8. ./b2 -j 16
  9.  
  10. Beware it takes a while
  11.  
  12. Modify litedoge-qt.pro
  13. INCLUDEPATH += src src/json src/qt /home/pi/boost176_build/
  14. LIBS += -L/home/pi/boost176_build/stage/lib
  15.  
  16. Basically point to the indicated path at the end of the boost compilation
  17.  
  18. qmake
  19. make -j 16
  20.  
  21. before running
  22. export LD_LIBRARY_PATH=/home/pi/boost176_build/stage/lib/
  23. ./litedoge-qt
  24.  
  25.  
  26. ================== FOR DAEMON VERSION SEEMS TO WORK, you need a berkdb from arm ==================
  27. wget https://github.com/berkeleydb/libdb/releases/download/v5.3.28/db-5.3.28.tar.gz
  28. cd build_unix
  29.  
  30. ../dist/configure --prefix=/home/pi/project/berkdb --enable-cxx --enable-compat185 --enable-sql --disable-shared --with-pic
  31. make -j 16
  32. make install
  33.  
  34. cd src
  35. export BOOST_INCLUDE_PATH=/home/pi/boost176_build/
  36. export BOOST_LIB_PATH=/home/pi/boost176_build/stage/lib
  37. export BDB_INCLUDE_PATH=/home/pi/project/berkdb/include
  38. export BDB_LIB_PATH=/home/pi/project/berkdb/lib
  39. export LD_LIBRARY_PATH=/home/pi/boost176_build/stage/lib/:/home/pi/project/berkdb/lib
  40.  
  41. make -f makefile.unix clean
  42. make -f makefile.unix -j 16
  43.  
  44. Those two build seems unable to open an existing database !
  45.  
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement