UKHAS Wiki

UK High Altitude Society

User Tools

Site Tools


projects:dl-fldigi:build-ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:dl-fldigi:build-ubuntu [2012/05/26 17:33] – updated to use libjsoncpp from ubuntu if possible danielrichmanprojects: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->Accessories) and thenstart installing all of the build and runtime dependencies of vanilla fldigi.+ 
 +===== Vanilla fldigi Dependencies ===== 
 + 
 +Open a terminal (Applications->Accessories) and then start by installing all of the build and runtime dependencies of vanilla fldigi.
  
 <code>$ sudo apt-get update <code>$ sudo apt-get update
 $ sudo apt-get build-dep fldigi</code> $ sudo apt-get build-dep fldigi</code>
 +
 +===== 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:// +<code>$ sudo apt-get install git-core libcurl4-openssl-dev libjpeg62-dev autoconf</code>
-<code>$ sudo apt-get install git-core libcurl4-openssl-dev libjpeg62-dev autoconf +
-$ sudo apt-add-repository ppa:danieljonathanrichman/ppa +
-$ sudo apt-get install libjsoncpp-dev</code> +
-You may, if you prefer, grab the jsoncpp packages [[https://launchpad.net/~danieljonathanrichman/+archive/ppa/|from my PPA]] instead of adding it.+
  
-//For Ubuntu precise (12.04):// +===== Building ===== 
-<code>$ sudo apt-get install git-core libcurl4-openssl-dev libjpeg62-dev autoconf libjsoncpp-dev</code>+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's a new version available which can be ignored (if you want the current stable version you can run ''git checkout DL3.1'' after the git clone command.
  
-You may want to make a note of the packages that you've just installed incase you want to clean up and purge them laterapt-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!+<code>$ git clone git://github.com/ukhas/dl-fldigi.git 
 +$ cd dl-fldigi 
 +$ git submodule init 
 +$ git submodule update 
 +$ autoreconf -vfi 
 +$ ./configure --disable-flarq --enable-optimizations=native 
 +$ make</code>
  
-Now we can download and build dl-fldigi.+You will now have a copy of dl-fldigi at src/fldigi. dl-fldigi will run just fine without make installing, if you prefer.
  
-<code>$ git clone git://github.com/danielrichman/dl-fldigi.git+To get started, run: 
 +<code>$ ./src/dl-fldigi</code> 
 + 
 +Or to use the new "HAB" slim interface (advised) 
 +<code>$ ./src/dl-fldigi --hab</code> 
 + 
 +===== Building on Ubuntu 20.04 ===== 
 + 
 +The steps as per 18.04 can be used with one change, adding //--disable-nls// on the line below to disable native language support and remove the dependency on gettext: 
 +<code> 
 +$ ./configure --disable-flarq --enable-optimizations=native --disable-nls 
 +</code> 
 + 
 +===== Building on Ubuntu 18.04 ===== 
 + 
 +Install the build dependencies: 
 +<code>$ sudo apt update 
 +$ sudo apt install build-essential libssl-dev libcurl4-openssl-dev libjpeg62-dev autoconf \ 
 + portaudio19-dev libfltk1.3-compat-headers libpng-dev libsamplerate0-dev</code> 
 + 
 +Grab the repository (with GCC 7.3 error fix), and compile for the target machine. 
 +<code>$ git clone --recursive --depth 1 https://github.com/philcrump/dl-fldigi.git 
 +$ cd dl-fldigi/ 
 +$ autoreconf -vfi 
 +$ ./configure --disable-flarq --enable-optimizations=native 
 +$ make 
 +</code> 
 + 
 +You will now have a copy of dl-fldigi at src/dl-fldigi. You can run it from this location without installing. 
 +<code>$ ./src/dl-fldigi --hab</code> 
 + 
 + 
 +===== 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/Makefile.am are needed for later versions of Fedora as well) 
 + 
 +Install main dependencies (Same as listed above) 
 + 
 +<code>$ sudo apt-get update 
 +$ sudo apt-get build-dep fldigi 
 +$ sudo apt-get install git-core libcurl4-openssl-dev libjpeg62-dev autoconf</code> 
 + 
 +Install additional dependency 
 +<code> 
 +$ sudo apt-get install libxmlrpc-c++8-dev 
 +</code> 
 + 
 +<code>$ git clone git://github.com/ukhas/dl-fldigi.git
 $ cd dl-fldigi $ cd dl-fldigi
 +$ git checkout DL3.1
 $ git submodule init $ git submodule init
 $ git submodule update $ git submodule update
 +</code>
 +
 +you now need to edit the file src/Makefile.am and comment out the line that starts "TESTS =" (line 229) by adding a # to the start of the line. You can now continue with the build process as before.
 +
 +<code>
 $ autoreconf -vfi $ autoreconf -vfi
 $ ./configure --disable-flarq $ ./configure --disable-flarq
 $ make</code> $ make</code>
  
-You will now have a copy of dl-fldigi at src/fldigi. There's no need to make install (just clutters up your /usr). dl-fldigi will run just fine from the source folder.+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 "./src/dl-fldigi" starts dl-fldigi in 'offline' mode. It won't upload or phone home, won't download payload data and will use the cache if any. You have to use the config tab or the dl menu to go online. +  * Running "./src/dl-fldigi" starts dl-fldigi in 'offline' mode. It won't upload or phone home, won't download payload data and will use the cache if any. You have to use the config tab or the dl menu to go online. 
- * Starting with --hab gets you a customised "HAB UI" and is automatically "online" - but not configured to receive. See the payload drop down box and "Autoconfigure" button + 
- * The Version 2.0 section on the [[projects:dl-fldigi]] page has more usage information.+  * Starting with --hab gets you a customised "HAB UI" and is automatically "online" - but not configured to receive. See the payload drop down box and "Autoconfigure" button 
 + 
 +  * 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 Version 2.0 section on the [[projects:dl-fldigi]] page has more usage information
 +  * 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's a newer version available, This can be ignored if you are happy running the latest code base.
projects/dl-fldigi/build-ubuntu.1338053599.txt.gz · Last modified: 2012/05/26 17:33 by danielrichman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki