Hyrax GitHub Source Build: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
(Created page with "This describes how to get and build Hyrax from git. The OLFS is a java servlet built using ant. The BES is a Unix daemon written in C/C++ and is made up of a number of modules...")
 
Line 1: Line 1:
This describes how to get and build Hyrax from git. The OLFS is a java servlet built using ant. The BES is a Unix daemon written in C/C++ and is made up of a number of modules that are loaded at runtime. You can either get the BES framework and its modules separately, building only the part you need, or you can get the entire daemon and build it in one step.
This describes how to get and build Hyrax from git. The OLFS is a java servlet built using ant. The BES is a Unix daemon written in C/C++ and is made up of a number of modules that are loaded at runtime. You can either get the BES framework and its modules separately, building only the part you need, or you can get the entire daemon and build it in one step.


== Building the BES in one step ==
== Building the BES in one step ==
==== set up a build directory ====
In a new directory, set a new environment variable ''prefix'' to the CWD (''export prefix=`pwd`) and set ''PATH'' so that ''$prefix/bin'' is at the head of PATH (export ''PATH=$prefix/bin:$PATH'')
==== Get the dependencies if you need them ====
Get the tar ball hyrax-dependencies and build it. The Makefile in this package expects ''$prefix'' to be set as describe above. It will put all of the Hyrax server dependencies in a subdirectory called ''deps''.
==== Get and build libdap ====
Build, test and install libdap into $prefix:
;git clone https://github.com/opendap/libdap
;autoreconf -fiv
;./configure --prefix=$prefix --enable-developer
;make -j9
;make check -j9
;make install
==== Get and build the BES and all of the modules shipped with Hyrax ====
Build, test and install the BES and its modules
;git clone https://github.com/opendap/bes
;git checkout modules: Checkout the modules branch of the BES
;git submodule update --init: This will clone each of the N modules into the directory ''modules''. There's lots of ways to do this; this is just one. [http://git-scm.com/docs/git-submodule]
;./configure --prefix=$prefix --enable-developer --with-dependencies=$prefix/deps
;make -j9
;make check -j9 -k: Some tests may fail and ''-k'' ignores that and keeps make marching along - fileout_json is failing right now 12/2/14
;make install

Revision as of 18:51, 2 December 2014

This describes how to get and build Hyrax from git. The OLFS is a java servlet built using ant. The BES is a Unix daemon written in C/C++ and is made up of a number of modules that are loaded at runtime. You can either get the BES framework and its modules separately, building only the part you need, or you can get the entire daemon and build it in one step.


Building the BES in one step

set up a build directory

In a new directory, set a new environment variable prefix to the CWD (export prefix=`pwd`) and set PATH so that $prefix/bin is at the head of PATH (export PATH=$prefix/bin:$PATH)

Get the dependencies if you need them

Get the tar ball hyrax-dependencies and build it. The Makefile in this package expects $prefix to be set as describe above. It will put all of the Hyrax server dependencies in a subdirectory called deps.

Get and build libdap

Build, test and install libdap into $prefix:

git clone https://github.com/opendap/libdap
autoreconf -fiv
./configure --prefix=$prefix --enable-developer
make -j9
make check -j9
make install

Get and build the BES and all of the modules shipped with Hyrax

Build, test and install the BES and its modules

git clone https://github.com/opendap/bes
git checkout modules
Checkout the modules branch of the BES
git submodule update --init
This will clone each of the N modules into the directory modules. There's lots of ways to do this; this is just one. [1]
./configure --prefix=$prefix --enable-developer --with-dependencies=$prefix/deps
make -j9
make check -j9 -k
Some tests may fail and -k ignores that and keeps make marching along - fileout_json is failing right now 12/2/14
make install