Differences
This shows you the differences between two versions of the page.
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 | + | Install the following debian packages |
- | + | ||
- | 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 | + | |
- | 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 |
- | | + | postgresql-9.1 |
- | | + | |
- | | + | |
- | | + | |
+ | | ||
+ | | ||
+ | |||
+ | Packages from above in a copy-paste friendly format: | ||
+ | < | ||
+ | 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 | ||
+ | </ | ||
| | ||
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 |
You can then download the latest WDB source from: | You can then download the latest WDB source from: | ||
git clone git@github.com: | git clone git@github.com: | ||
+ | |||
+ | To get a read-only version of the github repository it is sufficient to have git installed and use the read-only address: | ||
+ | < | ||
+ | apt-get install git | ||
+ | git clone git:// | ||
+ | </ | ||
If you haven' | If you haven' | ||
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. |