List of time zones compliant both for Linux, Solaris 5.8, OSF1 Tru64, HP-UX
francois reygagne
freygagne at opteway.com
Thu Apr 19 14:13:49 UTC 2001
francois reygagne wrote:
> Greg Black wrote:
>
> > | All the systems that you mention should read the Olson data files
> > | as-is; you shouldn't need to link any of the tz code.
> >
> > Which leads to the question: under what circumstances would you
> > want to use the Olson tz code?
>
I just need the zic compiler which does not exist on HP-UX.
So I just build the binary successfully after an update of
zic.c file to fix a compilation error as bellow:
make all
cc -DTZDIR=\"/usr/local/etc/zoneinfo\" -O -c zic.c
cc: "zic.c", line 2195: error 1588: "S_IRUSR" undefined.
cc: "zic.c", line 2195: error 1588: "S_IWUSR" undefined.
cc: "zic.c", line 2195: error 1588: "S_IXUSR" undefined.
cc: "zic.c", line 2195: error 1588: "S_IRGRP" undefined.
cc: "zic.c", line 2195: error 1588: "S_IXGRP" undefined.
cc: "zic.c", line 2195: error 1588: "S_IROTH" undefined.
cc: "zic.c", line 2195: error 1588: "S_IXOTH" undefined.
*** Error exit code 1
The update of zic.c is very simple, I just add the include statement:
#if defined __hpux || defined __hpux__
#include <sys/fcntl.h>
#endif
Please could you upgrade the zic.c to be compliant with HP_UX
More information about the tz
mailing list