projects:dl-fldigi:build-ubuntu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:dl-fldigi:build-ubuntu [2012/05/26 17:33] – updated to use libjsoncpp from ubuntu if possible danielrichman | projects:dl-fldigi:build-ubuntu [2020/08/09 14:47] (current) – m0dny | ||
---|---|---|---|
Line 3: | Line 3: | ||
Building on Linux is quick and easy, on Ubuntu even more so! These instructions are known-working on Ubuntu karmic, lucid and oneiric and have been reported to work verbatim on other versions and even Debian squeeze too. The commands aptitude and apt-get are typical of Ubuntu and Debian distributions. To build on others, you may need to find out what the packages are called on those systems. | Building on Linux is quick and easy, on Ubuntu even more so! These instructions are known-working on Ubuntu karmic, lucid and oneiric and have been reported to work verbatim on other versions and even Debian squeeze too. The commands aptitude and apt-get are typical of Ubuntu and Debian distributions. To build on others, you may need to find out what the packages are called on those systems. | ||
- | ===== Instructions ===== | + | You may want to make a note of the packages that you install below, incase you want to clean up and purge them later. |
- | Open a terminal (Applications-> | + | |
+ | ===== Vanilla fldigi Dependencies ===== | ||
+ | |||
+ | Open a terminal (Applications-> | ||
< | < | ||
$ sudo apt-get build-dep fldigi</ | $ sudo apt-get build-dep fldigi</ | ||
+ | |||
+ | ===== Other dependencies ===== | ||
dl-fldigi also requires a few other libraries. To build from scratch you will also need the git and autoconf utilities. | dl-fldigi also requires a few other libraries. To build from scratch you will also need the git and autoconf utilities. | ||
- | //For Ubuntu oneiric (11.10) and older:// | + | < |
- | < | + | |
- | $ sudo apt-add-repository ppa: | + | |
- | $ sudo apt-get install libjsoncpp-dev</ | + | |
- | You may, if you prefer, grab the jsoncpp packages [[https:// | + | |
- | //For Ubuntu precise (12.04):// | + | ===== Building ===== |
- | < | + | Note that this will provide the latest version from github rather than the current released version. This could have some new features and bug fixes as well as the potential for new bugs. You will also get a warning message saying there' |
- | You may want to make a note of the packages that you've just installed incase you want to clean up and purge them later. apt-get build-dep will not mark packages as automatically-installed so you will not be able to easily remove them by simply un-installing the fldigi package! | + | < |
+ | $ cd dl-fldigi | ||
+ | $ git submodule init | ||
+ | $ git submodule update | ||
+ | $ autoreconf | ||
+ | $ ./ | ||
+ | $ make</ | ||
- | Now we can download and build dl-fldigi. | + | You will now have a copy of dl-fldigi |
- | < | + | To get started, run: |
+ | < | ||
+ | |||
+ | Or to use the new " | ||
+ | < | ||
+ | |||
+ | ===== Building on Ubuntu 20.04 ===== | ||
+ | |||
+ | The steps as per 18.04 can be used with one change, adding // | ||
+ | < | ||
+ | $ ./configure --disable-flarq --enable-optimizations=native --disable-nls | ||
+ | </ | ||
+ | |||
+ | ===== Building on Ubuntu 18.04 ===== | ||
+ | |||
+ | Install the build dependencies: | ||
+ | < | ||
+ | $ sudo apt install build-essential libssl-dev libcurl4-openssl-dev libjpeg62-dev autoconf \ | ||
+ | | ||
+ | |||
+ | Grab the repository (with GCC 7.3 error fix), and compile for the target machine. | ||
+ | < | ||
+ | $ cd dl-fldigi/ | ||
+ | $ autoreconf -vfi | ||
+ | $ ./configure --disable-flarq --enable-optimizations=native | ||
+ | $ make | ||
+ | </ | ||
+ | |||
+ | You will now have a copy of dl-fldigi at src/ | ||
+ | < | ||
+ | |||
+ | |||
+ | ===== Building (Stable version on Ubuntu 14.04) ===== | ||
+ | To install the released version on ubuntu 14.04 as opposed to the bleeding edge version some additional steps are required. (Similar fixes to src/ | ||
+ | |||
+ | Install main dependencies (Same as listed above) | ||
+ | |||
+ | < | ||
+ | $ sudo apt-get build-dep fldigi | ||
+ | $ sudo apt-get install git-core libcurl4-openssl-dev libjpeg62-dev autoconf</ | ||
+ | |||
+ | Install additional dependency | ||
+ | < | ||
+ | $ sudo apt-get install libxmlrpc-c++8-dev | ||
+ | </ | ||
+ | |||
+ | < | ||
$ cd dl-fldigi | $ cd dl-fldigi | ||
+ | $ git checkout DL3.1 | ||
$ git submodule init | $ git submodule init | ||
$ git submodule update | $ git submodule update | ||
+ | </ | ||
+ | |||
+ | you now need to edit the file src/ | ||
+ | |||
+ | < | ||
$ autoreconf -vfi | $ autoreconf -vfi | ||
$ ./configure --disable-flarq | $ ./configure --disable-flarq | ||
$ make</ | $ make</ | ||
- | You will now have a copy of dl-fldigi at src/fldigi. There' | + | You will now have a copy of dl-fldigi at src/fldigi. dl-fldigi will run just fine without make installing, if you prefer. |
To get started, run: | To get started, run: | ||
Line 44: | Line 103: | ||
===== Notes: ===== | ===== Notes: ===== | ||
- | * Running " | + | |
- | * Starting with --hab gets you a customised "HAB UI" and is automatically " | + | |
- | * The Version 2.0 section on the [[projects: | + | |
+ | |||
+ | * The DL3.1 version crashes when using the THOR Op Mode and receiving just noise. The bleeding edge version does not have this issue (but is said to be problematic in the RTTY Op Mode) | ||
+ | |||
+ | | ||
+ | * The source code provided on git may be ahead of the released version. If this is the case you will see a warning stating there' |
projects/dl-fldigi/build-ubuntu.1338053599.txt.gz · Last modified: 2012/05/26 17:33 by danielrichman