This was also needed for rocky 8, for the beta edex.
Ray Weber
MA Skywarn
________________________________
From: ldm-users <ldm-users-bounces@xxxxxxxxxxxxxxxx> on behalf of Sebenste,
Gilbert <sebensteg@xxxxxxx>
Sent: Thursday, September 5, 2024 4:53 PM
To: Stonie Cooper <cooper@xxxxxxxx>; LDM <ldm-users@xxxxxxxxxxxxxxxx>
Subject: Re: [ldm-users] [External] ubuntu 24.04 special directions for
installation from source, and --with-noaaport
CAUTION: This email originated from outside of the organization. Do not click
links or open attachments unless you recognize the sender and know the content
is safe.
This worked! Thank you, Stonie. Data is flowing again!
Gilbert
Gilbert Sebenste
Meteorology Support Analyst
[cid:image001.png@01DAFFAB.C5297550]
From: ldm-users <ldm-users-bounces@xxxxxxxxxxxxxxxx> On Behalf Of Stonie Cooper
Sent: Thursday, September 5, 2024 3:26 PM
To: LDM <ldm-users@xxxxxxxxxxxxxxxx>
Subject: [External] [ldm-users] ubuntu 24.04 special directions for
installation from source, and --with-noaaport
CAUTION: This email originated from outside of COD’s system. Do not click
links, open attachments, or respond with sensitive information unless you
recognize the sender and know the content is safe.
If you do NOT ./configure --with-noaaport, you may safely delete this email and
disregard it.
These are the steps I took to resolve a compiling issue with the
--with-noaaport option at ./configure - please do as you see fit for your local
needs.
Install ubuntu 24.04:
Type of Installation: Ubuntu Server
.....
Featured server snaps: -none-
.....
reboot
In fresh install:
apt update
apt upgrade
apt install build-essential
apt install net-tools
apt install pax
apt install libz-dev
apt install libpng-dev
apt install libxml2-dev
.......
<create your user group with groupadd>
<create your user with useradd - will assume "ldm" for rest of directions>
Follow the directions for 6.15.0 here (until . . .)
https://docs.unidata.ucar.edu/ldm/current/basics/source-install-steps.html
Stop short of the "make install" line, and then perform the following if, and
only if, perform the ./configure step with --with-noaaport.
Before the "make install":
Edit the file ~ldm/ldm-6.15.0/src/noaaport/Makefile, line 327, and edit the
AM_CXXFLAGS to look like this:
AM_CXXFLAGS = -std=c++17
Save. Then edit the file ~ldm/ldm-6.15.0/src/noaaport/FrameQueue.h, moving
your cursor to after line 21 that is:
#include <mutex>
And add the two follow lines:
#include <string>
#include <stdexcept>
Save. Then, continue with the step:
make install >install.log 2>&1
And on to completion.
That should take care of the installation ubuntu 24.04. The issues that
require the edits above are already resolved in the development tree for LDM on
github, and will be in the next stable release.
Stonie Cooper, PhD
Software Engineer III
NSF Unidata Program Center
University Corporation for Atmospheric Research
I acknowledge that the land I live and work on is the traditional home of The
Chahiksichahiks (Pawnee), The Umoⁿhoⁿ (Omaha), and The Jiwere (Otoe).