Re: [ldm-users] [External] ubuntu 24.04 special directions for installation from source, and --with-noaaport

  • 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
  • From: "Sebenste, Gilbert" <sebensteg@xxxxxxx>
  • Date: Thu, 5 Sep 2024 20:53:38 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cod.edu; dmarc=pass action=none header.from=cod.edu; dkim=pass header.d=cod.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JVxY0DeTpax+LnCUSCD68rzE6A9kn/Zk+mCMpi4/Hb0=; b=RD9PgT6qKDggNFpUUWenjGwYoUAvZieV38pM+Ho8ESZ9bKf7rcGgj40DVgTr7FoS6LWH8vBsNKyPr83OHHMpn09o+wQpVcKyfVm42CSCTw96xwKqf4iNRiTmIz4ntJXHlx7c6h2ZFOldEl3Je941qkWtWvipIsAYzHMB/fZ9QNPNA/uzGzCdZUvPKZ8FIUwA6+uiDSX6KSu1HGcRSgWiT5U9XsLIhT4vZwVNNK9X8TXTwigJ4FZdsyH2rWO5HAe6HQCHfjRPcWleBeHifLw2zPw3CzPuLUDY0HflsSmjxl9Or4bXNQK8LBDbVOrJlUdpfnnFPJ9V7GeLzq7rCpvDpA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IBUug/kIuVLZoCHp1wkfRFPPK+hS1Ml1sMbKaWeST9PPCqOzrHQwuGuuzVkTO5LMU8yzO8Kg1Pgf9OOoluQbDqssi/agiFFy47Dy36b6+VHZjaq/Ok2u1gQzvbkP7U3zCLjL9puQ1Ck2zQsytgHSf06Tkb5YV9JEy7/yzE4yGIpr9VxRqu6TmxxgMfz8yfRAjvMYJxuNV4aIk397yuQmjo+6hP4uSG5j66UmJxiWiOAfhNak8jc/Z0+l0QDrjDyrGbig08p1Z+/FwTndPb94z/VELdtTwYgbzgmggCqMBeUvcyPPuAxFCqsvGFtU5h006K5QDrU7Ir1xW5wiNbn/0g==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cod.edu;
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).

PNG image

  • 2024 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: