Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Retroshare_v0.6.6_Linux_Ubuntu_Basic_build_from_Source
- Directly applicable for Linux Mint versions 19, 20, 20.1 Ulyssa
- Also Linux Ubuntu LTS distros Bionic, Focal
- and likely useful for many other Linux distros as well.
- 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.
- Dependencies Reference
- Retroshare_0.6.6_Linux_Mint_Dependancys
- Pastebin link https://pastebin.com/zyWxGH2r
- # 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
- # Jul 15, 2021 hash 1f10be1 Merge pull request #2439 from csolver/v0.6-BugFixing_12
- # 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.
- # 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.
- $ git clone https://github.com/RetroShare/RetroShare.git retroshare066
- # Refresh and update your clone of the Retroshare Master Branch
- $ cd /home/name/retroshare066
- $ git checkout master
- $ git pull
- # Pause for 5-10 seconds for deltas and changes to complete before proceeding with compiling the Retroshare binary.
- # 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.
- $ git describe --tags
- # output example is v0.6.6-68-g1f10be1c9
- # I use that string also as my $gitinfo variable which you can manually paste in now.
- # my typical retroshare binary filename retroshare_0.6.6.20210715.1f10be1c-gui-focal_sqlite_amd64
- # 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.
- $ 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"
- # 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
- $ 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"
- # I prefer to not multi-tread the compile to avoid possible any issues or problems with parallel compiling the source-code.
- $ make -j 1
- # Finished without errors, go to the source directory and copy the retroshare binary to your home directory
- $ cd /home/name/retroshare066/retroshare-gui/src
- $ cp retroshare /home/name
- $ cd /home/name
- $ mv retroshare YourNewGuiName
- # example mv retroshare retroshare_v0.6.6-68-g1f10be1c9_focal.amd64
- $ strip YourNewGuiName
- #Congratulations, you now have the newest compiled Retroshare master branch source binary.
- #To run, use your new binary open a terminal window in your home directory
- name#name: $ ./YourNewGuiName
- # example $ ./retroshare_v0.6.6-68-g1f10be1c9_focal.amd64
- #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