Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
install:nix [2018/07/24 15:16] – [Clean Rebuild] Refer to src/cleanall.sh digital man | install:nix [2019/05/20 17:45] – [Clean Rebuild] Added link to setup instructions digital man |
---|
- ''# [[install:nix:make|make]] install SYMLINK=1'' | - ''# [[install:nix:make|make]] install SYMLINK=1'' |
| |
If you want to build a stable release from CVS, specify a valid release [[dev:tags|tag]] on the make command-line (e.g. ''sbbs316c''): | If you want to build a stable release from CVS, specify a valid release [[dev:tags|tag]] on the make command-line (e.g. ''sbbs317b''): |
- ''# [[install:nix:make|make]] install SYMLINK=1 **CVSTAG=sbbs316c**'' | - ''# [[install:nix:make|make]] install SYMLINK=1 **CVSTAG=sbbs317b**'' |
| |
* Note: these commands will make and install a //RELEASE// build of the software. To make and install a //DEBUG// build instead, pass ''DEBUG=1'' on the ''make'' command-lines. | * Note: these commands will make and install a //RELEASE// build of the software. To make and install a //DEBUG// build instead, pass ''DEBUG=1'' on the ''make'' command-lines. |
| |
If you want to build a stable release, replace the archive filenames above with valid release filenames: | If you want to build a stable release, replace the archive filenames above with valid release filenames: |
- replace ''sbbs_dev.tgz'' with ''ssrc**316c**.tgz'' | - replace ''sbbs_dev.tgz'' with ''ssrc**317b**.tgz'' |
- replace ''sbbs_run.tgz'' with ''srun**316c**.tgz'' | - replace ''sbbs_run.tgz'' with ''srun**317b**.tgz'' |
| |
==Using System Libraries== | ==Using System Libraries== |
If you elect to build //debug// binaries (instead of //release// binaries), then you'll need to //exclude// the ''RELEASE=1'' portion from the ''cleanall.sh'' command. Otherwise, you'll be cleaning the ''*.release'' output directories when you really need to be cleaning the ''*.debug'' output directories. Likewise, if you're building and running //release// binaries, then you need to //include// the ''RELEASE=1'' portion on the ''cleanall.sh'' commandsas well. Alternatively, you can set your default build type in the file ''localdefs.mk''. The ''localdefs.mk'' file should be created by you in either in the ''src/build'' directory (to apply to //all// builds), or within each directory you run ''make'': | If you elect to build //debug// binaries (instead of //release// binaries), then you'll need to //exclude// the ''RELEASE=1'' portion from the ''cleanall.sh'' command. Otherwise, you'll be cleaning the ''*.release'' output directories when you really need to be cleaning the ''*.debug'' output directories. Likewise, if you're building and running //release// binaries, then you need to //include// the ''RELEASE=1'' portion on the ''cleanall.sh'' commandsas well. Alternatively, you can set your default build type in the file ''localdefs.mk''. The ''localdefs.mk'' file should be created by you in either in the ''src/build'' directory (to apply to //all// builds), or within each directory you run ''make'': |
RELEASE=1 | RELEASE=1 |
| |
| ===== Setup ===== |
| Now that you've completed the installation, move on to the [[setup|initial setup]] instructions. |
===== See Also ===== | ===== See Also ===== |
* [[:config:nix|Configuring Synchronet for Unix/Linux]] | * [[:config:nix|Configuring Synchronet for Unix/Linux]] |