[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: (#HVS-6249412) LDM compilation error using noaaport under Ubuntu Linux 24.04.1



-#-#- Please reply above this line -#-#-

Dear Sebenste, Gilbert,

Your ticket has been marked as resolved by a member of our staff. If you do not believe that this issue has been adequately resolved, you may still reply to this ticket and an operator will respond shortly. You can review the ticket by going to:
https://support.unidata.ucar.edu/tickets/view/HVS-6249412?token=e1ce6b2a41d51e55802a31cc8b394900b6b2ef51
Stonie Cooper
Staff - Thursday 5th September 2024 2:19 PM

Gilbert,

 

I created an ubuntu 24.04 instance to fetter the installation delta from pre-24.04, and I did the following with success (the extra steps are already addressed in the development tree on github to remove them as a requirement).  I will also post to the ldm-users group.

 

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.

 

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).


Stonie Cooper
Staff - Wednesday 4th September 2024 3:57 PM

Gilbert - you may need to remove the links until you have the compilation complete . . 

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).


Sebenste, Gilbert
User - Wednesday 4th September 2024 3:34 PM

Hi Stonie,

I see:

lrwxrwxrwx 1 ldm ldm      11 Jan  8  2020 bin -> runtime/bin

-rw-rw-r-- 1 ldm ldm    1768 Dec 21  2022 crontab

-rw-rw-r-- 1 ldm ldm    1551 Jan  8  2020 crontab.np1.20191202

drwxrwxr-x 3 ldm ldm    4096 Sep  4 21:14 etc

lrwxrwxrwx 1 ldm ldm      15 Jan  8  2020 include -> runtime/include

drwxr-xr-x 3 ldm ldm    4096 Dec  6  2023 ldm-6.15.0

-rw-rw-r-- 1 ldm ldm 5975503 Dec  6  2023 ldm-6.15.0.tar.gz

lrwxrwxrwx 1 ldm ldm      11 Jan  8  2020 lib -> runtime/lib

drwx------ 2 ldm ldm    4096 Nov 18  2022 mail

-rw-rw-r-- 1 ldm ldm  423694 May  7  2016 novramon_3.24.1p5-1_amd64.deb

-rw-rw-r-- 1 ldm ldm    1583 Jan 19  2019 Novras300Nconfig01192019

-rw-rw-r-- 1 ldm ldm    1488 Mar 15  2017 Novras300Nconfig03152017

-rw-rw-r-- 1 ldm ldm      71 Jan 28  2019 novrasignal

-rw-rw-r-- 1 ldm ldm  287820 May  7  2016 npstats_0.5.3p5-1_amd64.deb

-rw-rw-r-- 1 ldm ldm  258004 Aug 20  2017 npstats_0.6.1p3-1_amd64.deb

lrwxrwxrwx 1 ldm ldm      10 Dec  7  2023 runtime -> ldm-6.15.0

drwxrwxr-x 4 ldm ldm    4096 Jan  8  2020 scripts

lrwxrwxrwx 1 ldm ldm      13 Jan  8  2020 share -> runtime/share

lrwxrwxrwx 1 ldm ldm      11 Jan  8  2020 src -> runtime/src

drwxrwxr-x 3 ldm ldm    4096 Mar 16  2022 util

drwxrwxr-x 5 ldm ldm    4096 Jan  8  2020 var

 

Gilbert Sebenste

Meteorology Support Analyst

image001.png

 

From: NSF Unidata Local Data Manager (LDM) <address@hidden>
Sent: Wednesday, September 4, 2024 4:31 PM
To: Sebenste, Gilbert <address@hidden>
Cc: address@hidden
Subject: [External] RE: (#HVS-6249412) LDM compilation error using noaaport under Ubuntu Linux 24.04.1

 

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.

 


Stonie Cooper
Staff - Wednesday 4th September 2024 3:30 PM

That type of error typically occurs if the file exists but is not a directory . . .such as a link or an actual file.  What do you see when you do this:

 

ls -l /home/ldm

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).


Sebenste, Gilbert
User - Wednesday 4th September 2024 3:25 PM

OK. I see that the issue with the png missing was that I didn’t have my .bashrc properly configured…but up until this point, it wasn’t a problem.

As for the png library, that was related somehow to the missing required entries in .bashrc.

Anyway, I get further down the install now, but not through it:

Making install in rpc

make[1]: Entering directory '/home/ldm/ldm-6.15.0/src/rpc'

make[2]: Entering directory '/home/ldm/ldm-6.15.0/src/rpc'

make[2]: Nothing to be done for 'install-exec-am'.

make[2]: Nothing to be done for 'install-data-am'.

make[2]: Leaving directory '/home/ldm/ldm-6.15.0/src/rpc'

make[1]: Leaving directory '/home/ldm/ldm-6.15.0/src/rpc'

Making install in log

make[1]: Entering directory '/home/ldm/ldm-6.15.0/src/log'

Making install in ulog

make[2]: Entering directory '/home/ldm/ldm-6.15.0/src/log/ulog'

make[3]: Entering directory '/home/ldm/ldm-6.15.0/src/log/ulog'

make[3]: Nothing to be done for 'install-exec-am'.

/usr/bin/mkdir -p '/home/ldm/include'

/usr/bin/mkdir: cannot create directory ‘/home/ldm/include’: File exists

make[3]: *** [Makefile:744: install-includeHEADERS] Error 1

make[3]: Leaving directory '/home/ldm/ldm-6.15.0/src/log/ulog'

make[2]: *** [Makefile:1026: install-am] Error 2

make[2]: Leaving directory '/home/ldm/ldm-6.15.0/src/log/ulog'

make[1]: *** [Makefile:898: install-recursive] Error 1

make[1]: Leaving directory '/home/ldm/ldm-6.15.0/src/log'

make: *** [Makefile:673: install-recursive] Error 1

ldm@noaaport1:~/src$ env | grep LDMHOME

LDMHOME=/home/ldm

 

Gilbert Sebenste

Meteorology Support Analyst

image001.png

 

From: NSF Unidata Local Data Manager (LDM) <address@hidden>
Sent: Wednesday, September 4, 2024 2:39 AM
To: Sebenste, Gilbert <address@hidden>
Cc: address@hidden
Subject: [External] RE: (#HVS-6249412) LDM compilation error using noaaport under Ubuntu Linux 24.04.1

 

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.

 


Ticket Details

Ticket #: HVS-6249412
Subject: LDM compilation error using noaaport under Ubuntu Linux 24.04.1
Department: Local Data Manager (LDM)
Status: Closed
Priority: Normal

You can review the ticket by going to:
https://support.unidata.ucar.edu/tickets/view/HVS-6249412?token=e1ce6b2a41d51e55802a31cc8b394900b6b2ef51

Kind Regards,
NSF UnidataNOTE: All email exchanges with NSF Unidata User Support are recorded in the NSF Unidata support portal. Inquires to some departments are made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.