Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wdb:developers:build_debian [2012-05-02 11:04:00]
michaeloa
wdb:developers:build_debian [2022-05-31 09:29:32] (current)
Line 3: Line 3:
 Compiling WDB should be fairly simple, if you have the appropriate libraries and systems installed. The following procedure is based on Ubuntu Lucid; keep in mind that the code changes faster than this wiki page. Compiling WDB should be fairly simple, if you have the appropriate libraries and systems installed. The following procedure is based on Ubuntu Lucid; keep in mind that the code changes faster than this wiki page.
  
-Install the following debian packages (adjusting as required for old/newer versions of the software as well as local setups). +Install the following debian packages on Precise Pangolin the packages would be:
- +
-  apt-get install g++ make git-core libreadline-dev automake libtool postgresql-8.4  +
-                  postgresql-server-dev-8.4 postgresql-8.4-postgis libpqxx3-dev libboost-dev  +
-                  libboost-date-time-dev libboost-program-options-dev libboost-regex-dev  +
-                  libboost-filesystem-dev libboost-thread-dev liblog4cpp5-dev libcppunit-dev +
-                  libgrib-api-dev libproj-dev libglib2.0-dev libgeos-dev xmlto +
-                 +
-On Precie Pangolin the packages would be:+
                                    
-  apt-get install g++ make git-core libreadline-dev automake libtool postgresql-9.1  +  apt-get install g++ make git-core libreadline-dev automake libtool autoconf-archive \ 
-             postgresql-server-dev-9.1 postgresql-9.1-postgis libpqxx3-dev libboost-dev  +             postgresql-9.1  
-             libboost-date-time-dev libboost-program-options-dev libboost-regex-dev  +             postgresql-server-dev-9.1 postgresql-9.1-postgis libpqxx3-dev libboost-dev  
-             libboost-filesystem-dev libboost-thread-dev liblog4cpp5-dev libcppunit-dev  +             libboost-date-time-dev libboost-program-options-dev libboost-regex-dev \ 
-             libgrib-api-dev libproj-dev libglib2.0-dev libgeos-dev xmlto                 +             libboost-filesystem-dev libboost-thread-dev liblog4cpp5-dev libcppunit-dev  
 +             libgrib-api-dev libproj-dev libglib2.0-dev libgeos-dev xmlto 
 +             automake libtool autoconf-archive libreadline-dev                
 + 
 +Packages from above in a copy-paste friendly format: 
 +<code> 
 +sudo apt-get install g++ make git-core libreadline-dev automake libtool autoconf-archive postgresql-9.1 postgresql-server-dev-9.1 postgresql-9.1-postgis libpqxx3-dev libboost-dev libboost-date-time-dev libboost-program-options-dev libboost-regex-dev libboost-filesystem-dev libboost-thread-dev liblog4cpp5-dev libcppunit-dev libgrib-api-dev libproj-dev libglib2.0-dev libgeos-dev xmlto automake libtool autoconf-archive libreadline-dev 
 +</code>
                                      
 To build debian packages, you will additionally require: To build debian packages, you will additionally require:
Line 25: Line 24:
 To install wdb from the debian package, the following packages are additionally required: To install wdb from the debian package, the following packages are additionally required:
  
-  apt-get proj postgresql-client+  apt-get install proj postgresql-client
  
 You can then download the latest WDB source from: You can then download the latest WDB source from:
  
   git clone git@github.com:wdb/wdb.git wdb   git clone git@github.com:wdb/wdb.git wdb
 +
 +To get a read-only version of the github repository it is sufficient to have git installed and use the read-only address:
 +<code>
 +apt-get install git
 +git clone git://github.com/wdb/wdb.git
 +</code>
  
 If you haven't used GitHub before, see [[http://help.github.com/linux-set-up-git/|Help.GitHub]] for details on how to connect your system. If you haven't used GitHub before, see [[http://help.github.com/linux-set-up-git/|Help.GitHub]] for details on how to connect your system.
Line 49: Line 54:
 This should build the WDB code, assuming everything above has gone to plan. The same procedure can be followed for each of the other WDB packages. This should build the WDB code, assuming everything above has gone to plan. The same procedure can be followed for each of the other WDB packages.
  
 +The wdb-libwdbload package (used for loading programs) additionally requires
 +
 +  libboost-system-dev libboost-test-dev
 +
 +The wdb-gribload package (used for loading programs) additionally requires
 +
 +  bc
 +  
 +The wdb-locationforecastload application requires
 +
 +  cmake libxml++2.6-dev libcurl4-openssl-dev help2man libgtest-dev
 +  
 +The wdb-netcdfload application requires
 +
 +  libfimex-dev libxml2-dev help2man
 +
 +wdb2ts also requires
 +
 +  libboost-iostreams-dev apache2-threaded-dev
 +  
 +Several projects require
 +
 +  libboost-test-dev
 +  
 +Note that due to bugs within the m4 macros used, libboost-test may often not be flagged correctly as the source of the configure error.
  • wdb/developers/build_debian.1335956640.txt.gz
  • Last modified: 2022-05-31 09:23:29
  • (external edit)