[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 -#-#-

Your ticket #HVS-6249412 has been updated. You can reply to this email above or review the ticket by going to:
https://support.unidata.ucar.edu/tickets/view/HVS-6249412?token=e1ce6b2a41d51e55802a31cc8b394900b6b2ef51

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.

 


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

Gilbert,

 

The missing header file is at the system level; if you are not the admin on the machine, you will need to solicit help from whoever that may be to install the libpng-dev package to get the png.h.  And it may not be the only one, but that would resolve that issue.

 

For the other, you can do the following as a backup to what should be happening automatically:

 

export LDMHOME;LDMHOME=${HOME}

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 2:55 PM

So I decided to “wipe out” my LDM and start over on the server. I noticed that in .bashrc, I did not have the required entries as described in the instructions.
I did that, and I do a ./configure –with-noaaport, and this happens now:

checking for sys/wait.h... yes

checking for unistd.h... (cached) yes

checking for stropts.h... no

checking for sys/ioctl.h... yes

checking for library containing log10... -lm

checking for library containing shm_open... none required

checking for library containing setsockopt... none required

checking for library containing inet_addr... none required

checking for zlib.h... yes

checking for library containing deflate... -lz

checking for png.h... no

configure: error: Header-file not found


Furthermore,

env | grep LDMHOME


Returns blank.



 

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.

 


Stonie Cooper
Staff - Wednesday 4th September 2024 1:38 AM

Gilbert - More curious but also can band-aid to allow you to complete your compile, if you:

 

grep ETC /home/ldm/ldm-6.15.0/src/gempak/Makefile

 

-and-

 

grep ETC /home/ldm/ldm-6.15.0/src/gempak/tables/Makefile

 

autoconf should have made them both /home/ldm/etc - which is also your fix, but also let me know what yours indicate.

 

If you edit your /home/ldm/ldm-6.15.0/src/gempak/tables/Makefile to the proper path, that should finish the install, hopefully.

 

The base of the issue goes back to the initial ./configure, however, in that it appears that it requires the assignment of the env LDMHOME, and that is not being picked up or was not the case.  Do you see an assignment of LDMHOME when you:

 

env | grep LDMHOME

 

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


Ticket Details

Ticket #: HVS-6249412
Subject: LDM compilation error using noaaport under Ubuntu Linux 24.04.1
Department: Local Data Manager (LDM)
Status: Open
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.