how to install new tz data on BSD/OS ?
eggert at twinsun.com
Fri Sep 20 20:18:06 UTC 1996
Date: Fri, 20 Sep 1996 15:19:42 +0200
I copy Europe/Paris to /etc/localtime
Be careful; you can't `cp Europe/Paris /etc/localtime' since /etc/localtime
is a symbolic link, and the cp screws up whatever file /etc/localtime was
pointing to. You may have to recover your old data before proceeding.
1) zic europe gives : "europe", line ...: input line of unknown type
It seems that zic which comes with 1.1 is not compatible with new source
"http://wsspinfo.cern.ch/file/find_dst.pl" says :
Today is Fri Sep 20 13:12:31 1996, DST is off
The current value of TZ is <not set>
No DST change in the next 20 weeks
Hmmm. I just fired up an old BSD/386 1.1 host here and reproduced
your problem. Apparently the BSD/386 1.1 runtime has limited table
sizes and can't handle the current French rules. (This problem
doesn't occur with old SunOS releases like SunOS 4.1.4.)
To work around the problem, remove old history that you don't need.
I got it to work by replacing the rules for Paris and Monaco with the
following, which is correct back to 1946:
Rule France 1976 only - Mar 28 2:00s 1:00 S
Rule France 1976 only - Sep lastSun 2:00s 0 -
Zone Europe/Paris 1:00 France CE%sT 1977
1:00 EU CE%sT
Zone Europe/Monaco 1:00 France CE%sT 1977
1:00 EU CE%sT
A simpler way to work around the problem is to use `CET' instead of
`Europe/Paris'; this is correct back to 1977.
2) I got zoneinfo sources and I compiled zic with 'make zic'.
First, I had to remove yearistype in zip entry in Makefile since
yearistype.sh doesn't appear in sources.
Perhaps you didn't get the right version of the sources? I found
yearistype.sh in <URL:ftp://elsie.nci.nih.gov/pub/tzdata96k.tar.gz>.
You also need <URL:ftp://elsie.nci.nih.gov/pub/tzcode96l.tar.gz>.
For BSD/386 1.1 you should build with the command:
It might be easier to install all the new data files rather than just
do Europe. You can do this with:
make TZDIR=/usr/share/zoneinfo posix_right
./zic -l CET
More information about the tz