Johnny2

Retroshare_v0.6.6_Linux_Ubuntu_Basic_build_from_Source

Jul 20th, 2021 (edited)
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. Retroshare_v0.6.6_Linux_Ubuntu_Basic_build_from_Source
  2.  
  3. Directly applicable for Linux Mint versions 19, 20, 20.1 Ulyssa
  4. Also Linux Ubuntu LTS distros Bionic, Focal
  5. and likely useful for many other Linux distros as well.
  6.  
  7. Make certain your system has all of the dependencies first, which are quite a few otherwise you'll be chasing the rabbit down the rabbit hole as you attempt to overcome each error outlined by your compiler. If your Linux distro doesn't have those outlined dependencies and you've exhausted attempting to locate and install them, proceed and try to chase down any compile errors you run into.
  8.  
  9. Dependencies Reference
  10. Retroshare_0.6.6_Linux_Mint_Dependancys
  11. Pastebin link https://pastebin.com/zyWxGH2r
  12.  
  13. # RetroShare Master Branch Commits showing the latest commit to the master-branch (date that hash snippet and short descriptive title was submitted) and those preceding it. https://github.com/RetroShare/RetroShare/commits/master
  14.  
  15. # Jul 15, 2021 hash 1f10be1 Merge pull request #2439 from csolver/v0.6-BugFixing_12
  16.  
  17. # Always update your copy of the master branch and if unexplainable build errors occur then its possible a questionable method of a developer updating the master branch of RetroShare has occurred in which case delete your previous master branch source clone and clone it fresh again saving you a boatload of unexplained issues.
  18.  
  19. # Open a terminal window (ctrl-alt-T or click on the terminal icon) in your home directory or cd / to your home directory. Name@Name:~$ and enter the non-commented commands as shown below, inserting your system-name where /name is.
  20.  
  21. $ git clone https://github.com/RetroShare/RetroShare.git retroshare066
  22.  
  23. # Refresh and update your clone of the Retroshare Master Branch
  24.  
  25. $ cd /home/name/retroshare066
  26. $ git checkout master
  27. $ git pull
  28.  
  29. # Pause for 5-10 seconds for deltas and changes to complete before proceeding with compiling the Retroshare binary.
  30.  
  31. # Issue the most basic information request on the revision tags to include in your new Retroshare binary name, copy and paste it into your new compiled RetroShare binary.
  32.  
  33. $ git describe --tags
  34.  
  35. # output example is v0.6.6-68-g1f10be1c9
  36.  
  37. # I use that string also as my $gitinfo variable which you can manually paste in now.
  38. # my typical retroshare binary filename retroshare_0.6.6.20210715.1f10be1c-gui-focal_sqlite_amd64
  39.  
  40. # Issue the beginning compile setup qmake command with this configuration for the default sqlcipher encrypted DB's OR the alternative qmake CONFIG statement for compiling a Retroshare binary for the sqlite fast unencrypted databases.
  41.  
  42. $ qmake CONFIG+="no_use_dht_stunner no_rs_dh_init_check RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=6 RS_EXTRA_VERSION=$gitinfo"
  43.  
  44. # Building in the non-default no_sqlcipher to use the faster sqlite unencrypted databases, Use this qmake configuration instead, remember $gitinfo is the string 'YOU' receive upon issuing $ git describe --tags in your ../retroshare066 folder. Output example is 68-g1f10be1c9. You'd enter RS_EXTRA_VERSION=68-g1f10be1c9
  45.  
  46. $ qmake CONFIG+="no_use_dht_stunner no_rs_dh_init_check no_sqlcipher RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=6 RS_EXTRA_VERSION=68-g1f10be1c9"
  47.  
  48. # I prefer to not multi-tread the compile to avoid possible any issues or problems with parallel compiling the source-code.
  49.  
  50. $ make -j 1
  51.  
  52. # Finished without errors, go to the source directory and copy the retroshare binary to your home directory
  53.  
  54. $ cd /home/name/retroshare066/retroshare-gui/src
  55. $ cp retroshare /home/name
  56. $ cd /home/name
  57. $ mv retroshare YourNewGuiName
  58.  
  59. # example mv retroshare retroshare_v0.6.6-68-g1f10be1c9_focal.amd64
  60.  
  61. $ strip YourNewGuiName
  62.  
  63. #Congratulations, you now have the newest compiled Retroshare master branch source binary.
  64.  
  65. #To run, use your new binary open a terminal window in your home directory
  66.  
  67. name#name: $ ./YourNewGuiName
  68.  
  69. # example $ ./retroshare_v0.6.6-68-g1f10be1c9_focal.amd64
  70.  
  71. #Hit your enter key and you'll be asked your RetroShare node to use and password to log in and start-up your RetroShare application.
Add Comment
Please, Sign In to add comment