Skip to content

OPENDAP/bes-deps

Repository files navigation

Short version: 'make ' builds and installs the dependencies for the BES

You must use GitHub's LFS (Large File Storage) with this repo.

Building on Rocky8 (very similar to RHEL 8)

The repo should build on a Rocky8 machine with a decent build environment. Here's where to find information about that:Rocky8 build

Building on Ubuntu Focal (20.c)

You will need the following packages, in addition to the nominal C++ tools: uuid-dev, libxml2-dev, libcurl4-openssl-dev, libcppunit-dev, libicu-dev, libwebp-dev, libzstd-dev


Background

To build the dependencies for the BES handlers used with Hyrax, run 'make' in this directory. The Makefile requires that the environment variable 'prefix' has been set. It should point to the directory where you are installing Hyrax. The Makefile will compile, test and install all of the dependencies in $prefix/deps.

** For the Apple M1/2 and maybe other machines, the GDAL library needs special help finding libpng. If the GDAL library cannot find libpng (you have to read over the GDAL configure output to learn this and that's painful, I know) then use the Makefile variable $(LIBPNG) to provide the base path for the libpng include and lib directories. You can do this by writing a file called 'hyrax-site.mk' in the directory that holds 'bes-deps' and putting '--with-png=/path/to/include-and-lib' in that file. Look at the top of the Makefile to see how hyrax-site.mk is included by the main Makefile. jhrg 5/8/23

Other targets in the Makefile besides 'all:'

osx: Build the dependencies for OSX.

linux: Build the dependencies for linux.

for-static-rpm: Use this to build only static versions of the libraries. This is used to build RPM packages for Hyrax that use statically linked dependency libraries.

for-travis: This build the dependencies for a CI build on Travis (which uses Ubuntu 14 as of 11/30/17).

clean: run clean in all the source directories

really-clean: remove the source directories and start over expanding the dependencies' source distributions.

uninstall: Remove all the stuff from $prefix/deps. This may not work for all the packages.

dist: Make a tar ball distribution.


To use these dependencies with the complete BES build, use the --with-dependencies= option with its configure script like this:

   ./configure [other options] --with-dependencies=$prefix/deps

Note that most people who build Hyrax from source will want to set the prefix to a specific directory, so that option would be included as well (--prefix=$prefix), and the PATH environment variable should nominally include $prefix/bin and $prefix/deps/bin.


About

Dependencies for the BES

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published