[lfs-support] martin

2013-08-29 Thread Carl Martin Bacus
hi... Im currently working my project LFS and i am using LFS-book-7.3, and
in part 6.9.2. Configuring Glibc /Install timezone data: i got this
problem..

root:/sources/glibc-build# tar -xf ../tzdata2012j.tar.gz
bash: tar: command not found
root:/sources/glibc-build# ZONEINFO=/usr/share/zoneinfo
root:/sources/glibc-build# mkdir -pv $ZONEINFO/{posix,right}
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
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
zic: Can't open leapseconds: No such file or directory
root:/sources/glibc-build# cp -v zone.tab iso3166.tab $ZONEINFO
cp: cannot stat 'zone.tab': No such file or directory
cp: cannot stat 'iso3166.tab': No such file or directory
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


PLEASE help me.. im stuck with this and i cant proceed to the next..
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] martin

2013-08-29 Thread William Harrington


On Aug 29, 2013, at 22:26, Carl Martin Bacus simple.mart...@gmail.com wrote:

 bash: tar: command not found

Did you install tar from chapter 5?

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] martin

2013-08-29 Thread Carl Martin Bacus
bro ty.. i forgot to install tar from chapter 5 and when i finish
installing tar, i go back to 6.9.2. Configuring Glibc /Install timezone
data: and i found this problem..

root:/sources/glibc-build# tar -xf ../tzdata2012j.tar.gz
root:/sources/glibc-build# ZONEINFO=/usr/share/zoneinfo
root:/sources/glibc-build# mkdir -pv $ZONEINFO/{posix,right}
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
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
bash: -d: command not found
bash: -y: command not found
bash: -d: command not found
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


On Fri, Aug 30, 2013 at 11:53 AM, William Harrington
kb0...@berzerkula.orgwrote:



 On Aug 29, 2013, at 22:26, Carl Martin Bacus simple.mart...@gmail.com
 wrote:

  bash: tar: command not found

 Did you install tar from chapter 5?

 Sincerely,

 William Harrington
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] martin

2013-08-29 Thread Aleksandar Kuktin
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