LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-03-2010, 07:10 AM   #1
centguy
Member
 
Registered: Feb 2008
Posts: 455
Blog Entries: 1

Rep: Reputation: 38
LFS 6.5, 6.20. E2fsprogs-1.41.8 problem


I have this problem:

Quote:
root:/sources/build-dir/e2fsprogs-1.41.8/build# chmod -v u+w /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a
mode of `/usr/lib/libcom_err.a' changed to 0644 (rw-r--r--)
mode of `/usr/lib/libe2p.a' changed to 0644 (rw-r--r--)
mode of `/usr/lib/libext2fs.a' changed to 0644 (rw-r--r--)
mode of `/usr/lib/libss.a' changed to 0644 (rw-r--r--)
root:/sources/build-dir/e2fsprogs-1.41.8/build# gunzip -v /usr/share/info/libext2fs.info.gz
gzip: /usr/share/info/libext2fs.info.gz: No such file or directory
root:/sources/build-dir/e2fsprogs-1.41.8/build# install-info --dir-file=/usr/share/info/dir \
> /usr/share/info/libext2fs.info
bash: install-info: command not found
root:/sources/build-dir/e2fsprogs-1.41.8/build# makeinfo -o doc/com_err.info ../lib/et/com_err.texinfo
bash: makeinfo: command not found
root:/sources/build-dir/e2fsprogs-1.41.8/build# install -v -m644 doc/com_err.info /usr/share/info
install: cannot stat `doc/com_err.info': No such file or directory
root:/sources/build-dir/e2fsprogs-1.41.8/build# install-info --dir-file=/usr/share/info/dir \
> /usr/share/info/com_err.info
bash: install-info: command not found
Looks like a nasty problem to be solved before I can leave e2fsprogs.
 
Old 02-03-2010, 09:05 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
Hi,

I see 2 problems:

First:
Quote:
root:/sources/build-dir/e2fsprogs-1.41.8/build# gunzip -v /usr/share/info/libext2fs.info.gz
gzip: /usr/share/info/libext2fs.info.gz: No such file or directory
Did you skip a step? The file should be there (I just checked on my box).

Check to see if /usr/share/info/libext2fs.info is present. If it is then it is already unzipped and that specific step is ok (don't ask me how that could have happened).

If these errors are the only errors you encountered, you could decide to continue. The failing commands create/adjust the info and doc pages related to e2fs. On the other hand: Info and doc pages are kinda handy to have......

Second:
Quote:
> /usr/share/info/libext2fs.info
bash: install-info: command not found
The missing command (install-info) is part of texinfo, which you installed (??) in chapter 5 (5.30.1 to be precise)

Install-info should be installed. Check to make sure it is (/mnt/lfs/usr/bin should hold both install and install-info).

Hope this helps.
 
Old 02-03-2010, 10:38 AM   #3
centguy
Member
 
Registered: Feb 2008
Posts: 455

Original Poster
Blog Entries: 1

Rep: Reputation: 38
Thanks for the pointer druuna!

shucks! From the log file, I found that I didn't do the texinfo build.
(I must have too tired or what?)

I don't have /usr/share/info/libext2fs.info.gz
using cd and ls. I guess since texinfo is not installed properly, the file libext2fs.info.gz is not copied over during the e2fsprogs build.
I will check if this file is in the e2fsprogs tarball.

texinfo was the last package in chapter 5 and I messed up.. sigh..
 
Old 02-03-2010, 11:04 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
Hi,

Although it is not nice to mess up, it is a good thing you have all the log files. At least now you definitely know what went wrong, nothing worse then not knowing and having to guess where the ball was dropped.

Did you make a backup of everything up to the end of chapter 5 (mentioned in 5.32, the Caution part)? If you did you can erase everything, unpack the backup, add texinfo, create a new backup and start fresh with chapter 6.
 
Old 02-05-2010, 06:16 PM   #5
centguy
Member
 
Registered: Feb 2008
Posts: 455

Original Poster
Blog Entries: 1

Rep: Reputation: 38
my tar may have some content resulting from

Quote:
199 mkdir -pv $LFS/{dev,proc,sys}
200 mknod -m 600 $LFS/dev/console c 5 1
201 mknod -m 666 $LFS/dev/null c 1 3
mount -v --bind /dev $LFS/dev
mount -vt devpts devpts $LFS/dev/pts
mount -vt tmpfs shm $LFS/dev/shm
mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys
207 history
When I started Chapter 6 I forgot to backup as mentioned in the last section of chapter 5. But then suddenly realized that I need to
do a backup after the commands above.
Do you think the backup file for Chapter 5 is still okay to use ?

I am particularly worried about the mknod.

Any sure way to "undo" my mknod action, such as rm $LFS/dev/console and null ?

anyway, I may just simply go ahead to untar the slightly corrupted tar file, build texinfo, do a backup and start the long journey with chapt 6.
 
Old 02-05-2010, 10:59 PM   #6
centguy
Member
 
Registered: Feb 2008
Posts: 455

Original Poster
Blog Entries: 1

Rep: Reputation: 38
it seems like I have worried too much. I basically have to make sure that
/mnt/lfs is only filled with (by moving the old files to somewhere else) tools and sources at the beginning.
So mknod does not affect anything.
 
0 members found this post helpful.
  


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
e2fsprogs = defrag? ninja master Linux - Software 3 06-04-2008 05:12 AM
e2fsprogs-install failure :safe to continue ? LFS v 6.2 lfs-fan Linux From Scratch 0 08-02-2007 06:14 AM
e2fsprogs synaptic problem kepler2 Linux - Newbie 3 03-25-2006 01:02 PM
Weird problem with apt-get and e2fsprogs Boyer MEPIS 1 09-17-2005 08:56 PM
Can't Compile e2fsprogs 1.34 TruckStuff Linux - Software 0 02-16-2004 04:59 PM

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

All times are GMT -5. The time now is 09:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration