LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 01-25-2013, 06:18 AM   #1
anjohn
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Rep: Reputation: Disabled
LFS 7.2 - Chapter 6.9.2 - zic: Can't open sh yearistype.sh


Hello folks,

thank you very much for your help until now!

I am trying to install the time zone data in chapter 6.9.2.

After
Code:
root:/sources/7.2/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 /sources/7.2/glibc-build/yearistype.sh" ${tz}; 
zic -L /dev/null -d $ZONEINFO/posix -y "sh /sources/7.2/glibc-build/yearistype.sh" ${tz}; 
zic -L leapseconds -d $ZONEINFO/right -y "sh /sources/7.2/glibc-build/yearistype.sh" ${tz}; done
I get
Code:
zic: Can't open sh /sources/7.2/glibc-build/yearistype.sh: No such file or directory
several times.

I tried relative and also absolute paths for the file. The strange thing is that the file exists in my glibc-build folder. When I type "sh yearistype.sh" it recognizes the file.
I also set the executable bit ...

WTF??

Last edited by anjohn; 01-25-2013 at 07:55 AM.
 
Old 01-25-2013, 08:02 AM   #2
anjohn
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Okay when the variable ZONEINFO is not set, one gets this error. Strange world and why was the variable not set ...
echo $TIMEZONE was empty
 
Old 01-25-2013, 08:09 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Why don't you just follow the book?

Code:
"sh /sources/7.2/glibc-build/yearistype.sh"
"sh yearistype.sh"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS chapter-by-chapter complete commands with notes DrinkinHomeBrew Linux From Scratch 6 03-16-2012 01:57 AM
LFS 6.3, messed up somewhere prior to chapter 6.12 (gcc), how to restart chapter 6? Funkster Linux From Scratch 2 12-24-2008 06:30 AM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
chapter 6.3 of LFS 6.1 Stamp Linux From Scratch 2 07-22-2005 07:10 AM
LFS 5.0 Chapter 5 cuco76 Linux From Scratch 1 11-23-2003 10:28 PM


All times are GMT -5. The time now is 08:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration