Hyrax-Rocky9
From OPeNDAP Documentation
Configuring Rocky 9 For Hyrax Development
Install (some) dependencies from yum/dnf
Updated 06/17/2025
Update
yum -y update
procps To get the commands ps, which, etc.
yum install -y procps
C++ environment plus build tools
yum install -y git gcc-c++ flex bison cmake autoconf automake libtool emacs bzip2 vim bc
Development library versions
yum install -y openssl-devel libuuid-devel readline-devel zlib-devel bzip2-devel libjpeg-devel libxml2-devel curl-devel libicu-devel
- WARNINGS!
No match for argument: libtirpc-devel
Java
yum install -y java-21-openjdk java-21-openjdk-devel ant
EPEL
yum install dnf-plugins-core yum install epel-release yum config-manager --set-enabled powertools
Install CppUnit and some more development libraries
dnf install -y cppunit cppunit-devel openjpeg2-devel jasper-devel
- WARNINGS!
No match for argument: cppunit
No match for argument: cppunit-devel
No match for argument: openjpeg2-devel
No match for argument: jasper-devel
Install the RPM tools
dnf install -y rpm-devel rpm-build redhat-rpm-config
Install the AWS CLI
dnf install -y awscli2
Clone the things
Don't be root...
cd ~ git clone https://github.com/OPENDAP/hyrax cd hyrax ./hyrax_clone.sh
Build the things
But first, source our friend spath.sh:
cd ~/hyrax
source ./spath.sh
prefix: /home/rocky/hyrax/build
PATH: /home/rocky/hyrax/build/bin:/home/rocky/hyrax/build/deps/bin:/home/rocky/.local/bin:/home/rocky/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
LD_LIBRARY_PATH: /home/rocky/hyrax/build/deps/lib
Found RHEL 9 or equivalent OS
WARNING: tirpc header dir not at /usr/include/tirpc
CPPFLAGS: -I/usr/include/tirpc
LDFLAGS: -ltirpc
TOMCAT_DIR: /home/rocky/hyrax/build/apache-tomcat-9.0.106
CATALINA_HOME: /home/rocky/hyrax/build/apache-tomcat-9.0.106