LinuxQuestions.org
Help answer threads with 0 replies.
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 11-14-2018, 06:14 AM   #1
lfs1121
Member
 
Registered: Nov 2018
Posts: 31

Rep: Reputation: Disabled
Cool 6.9.2.2. Adding time zone data has different package name on the book and source directory


While compiling the timezone data in 6.9.2.2. Adding time zone data I got an error about tar -xf ../../tzdata2018e.tar.gz not found. The problem was that in my source directory the package name is tzdata2018g.tar.gz
. But the book uses tzdata2018e.tar.gz. Make sure you pass the correct package name. It took me hours to fix the error.

I am following the LFS 8.3. Here is the instruction on the book(configuring Glibc):
tar -xf ../../tzdata2018e.tar.gz

ZONEINFO=/usr/share/zoneinfo
mkdir -pv $ZONEINFO/{posix,right}

for tz in etcetera southamerica northamerica europe africa antarctica \
asia australasia backward pacificnew 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

cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO
zic -d $ZONEINFO -p America/New_York
unset ZONEINFO

Best,
 
Old 11-15-2018, 07:35 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
A good option is to use ths "tab" button to auto complete. That would of pick up what versin you had
 
Old 11-15-2018, 07:48 AM   #3
lfs1121
Member
 
Registered: Nov 2018
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
A good option is to use ths "tab" button to auto complete. That would of pick up what versin you had
That is what I would in the nominal way but to avoid any typo, I copy-paste the command instructions from the book in my terminal. I just want to make it clear that the book uses a different name(Linux-from-Scratch-Version 8.3 Page#98) and the package had a slight different name in my source directory. Anyway, I just checked and the package names are the same both in the book and URL link (http://www.linuxfromscratch.org/lfs/...temd/wget-list). I must have downloaded an old version.

Last edited by lfs1121; 11-15-2018 at 08:10 AM.
 
  


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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Problem with zone-info in time zone data section Chapter-6.9 Glibc-2.24 koustubh Linux From Scratch 2 07-08-2020 04:38 PM
I find file zone in the slave zone to the do a transfer of zone from Windows Server 2012 as master dns and CentOS as slave DNS. To learn Linux - Newbie 1 09-02-2016 09:36 AM
Which zone bind dns work either in forward zone are reverse zone sanjay87 Linux - Server 2 06-05-2012 04:21 AM
"Ignoring out-of-zone data" errors with my DNS Zone file zyzzogeton Linux - Networking 2 12-17-2009 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration