>On Fri, 30 Aug 2013 13:03:11 +0800 >Carl Martin Bacus <simple.mart...@gmail.com> wrote:
> root:/sources/glibc-build# for tz in etcetera southamerica > northamerica europe africa antarctica \ > > asia australasia backward pacificnew solar87 solar88 solar89 \ > > systemv; do > > zic -L /dev/null > > -d $ZONEINFO > > -y "sh yearistype.sh" ${tz} > > zic -L /dev/null > > -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz} > > zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz} > > done > > [snip] > > root:/sources/glibc-build# cp -v zone.tab iso3166.tab $ZONEINFO > 'zone.tab' -> '/usr/share/zoneinfo/zone.tab' > 'iso3166.tab' -> '/usr/share/zoneinfo/iso3166.tab' > root:/sources/glibc-build# zic -d $ZONEINFO -p America/New_York > zic: Can't link from /usr/share/zoneinfo/America/New_York to > /usr/share/zoneinfo/posixrules: No such file or directory > > > rply ASAP.. tnx You REALLY shouldn't tell people when to reply to you. What if William lives a quarter of the World away from you and has just gone to bed? In fact, judging by the timezone stamps in your e-mail headers, you two are *ten* timezones apart. So, in reality, William is half a World away from you and is probably sleeping right now. To answer your question: you forgot the backslashes at the end of some of the lines. It should look like this: <... blah blah>; do zic -L /dev/null \ -d $ZONEINFO \ -y "sh yearistype.sh" ${tz} zic -L /dev/null \ -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz} <blah blah ...> The backslash at the end of the line means that the command does not end, but continues on the next line. When you ommited that, the shell thought that the second command of the loop was to execute the program `-d' with $ZONEINFO as its argument. And that is where all those errors came out of. -- You don't need an AI for a robot uprising. Humans will do just fine.
signature.asc
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page