[Leaplist] daylight savings change

John Simpson jms1 at jms1.net
Thu Mar 8 00:38:43 EST 2007


On 2007-03-07, at 1739, "pberry2"@cfl.rr.com wrote:
>
> I get:
> bash: zdump: command not found
>
> PCLinuxOS-p93 is my system.  Based on Mandriva.

do you have the binary tzinfo files under /usr/share/zoneinfo? it may  
be that your system doesn't handle timezones the same way for some  
reason.

if you do have them, i wrote a perl script which does the same basic  
thing as "zdump". it's not actually LISTED on my web site, but you  
can download it here:

	http://www.jms1.net/code/dumptz

this will at least allow you to check the files you have. note that  
this program assumes that the binary format of your files is the same  
as on my server (which is centos 4, and should be fairly standard  
across modern linux distros based on glibc.)

if it turns out you do need to upgrade, you can get the "tzdata" and  
"tzcode" files from the FTP site mentioned in my first message, build  
the "zic" program from the source code in the "tzcode" tarball, use  
that to produce new binary files in a work directory, and then  
manually copy those files into the /usr/share/zoneinfo directory by  
hand.

and don't forget to update /etc/localtime (which i've seen on some  
systems as a symlink to a file in /usr/share/zoneinfo, but on my own  
system is a physical copy of the "America/New_York" file) since  
that's the one which is used by default if you don't have a TZ  
environment variable set.

----------------------------------------------------------------
| John M. Simpson    ---   KG4ZOW   ---    Programmer At Large |
| http://www.jms1.net/                         <jms1 at jms1.net> |
----------------------------------------------------------------
| http://video.google.com/videoplay?docid=-4312730277175242198 |
----------------------------------------------------------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.leap-cf.org/pipermail/leaplist/attachments/20070308/20126619/PGP.bin


More information about the Leaplist mailing list