commons-daemon icon indicating copy to clipboard operation
commons-daemon copied to clipboard

Fix several issues around Java OS and header files location detection

Open michael-o opened this issue 1 year ago • 3 comments
trafficstars

Tested on RHEL, FreeBSD and HP-UX.

michael-o avatar Jun 06 '24 11:06 michael-o

This implicitly fixes build on HP-UX because now it says -I/opt/java8/include/hp-ux, but this dir does not exist. There is only:

$ stat /opt/java8/include/hpux
 Datei: /opt/java8/include/hpux
 Größe: 1024          Blöcke: 1          EA Block: 8192   Verzeichnis
Gerät: 64/65537        Inode: 27925       Verknüpfungen: 2
Zugriff: (0555/dr-xr-xr-x)  Uid: (    2/     bin)   Gid: (    2/     bin)
Zugriff: 2024-06-05 14:29:57.000000000 +0200
Modifiziert: 2019-12-12 23:09:58.000000000 +0100
Geändert: 2024-06-05 22:58:13.000000000 +0200
Geburt: -

in contrast to

$ stat /opt/java8/include/hp-ux
stat: der Aufruf von stat für '/opt/java8/include/hp-ux' ist nicht möglich: Keine Datei und kein Verzeichnis

michael-o avatar Jun 06 '24 12:06 michael-o

If I don't here any objections I will merge this by end of week.

michael-o avatar Jul 10 '24 06:07 michael-o

No objection here.

garydgregory avatar Jul 10 '24 10:07 garydgregory