LinuxQuestions.org
Visit Jeremy's Blog.
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 07-18-2009, 01:35 PM   #1
TBOL3
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Rep: Reputation: 0
5.15 Bash-3.2


Again, thank you for helping me with my problems with the first pass of binutils. However, I have come up against another problem.

This time, I managed to get so far as to section 5.15. I have followed the book exactly, and am installing on ubuntu 9.04 in virtualbox 3.0.2, on ubuntu 8.04 as it's host.

Also, I (think) I have installed all of the host system prerequisites. However, ubuntu did not have diffutils, so I thought the package was called diff (sudo apt-get install diff).

I got the thing extracted, patched, configured, make, and make tests with no prolbems (however, the test suite did say something about diff). When I ran make install, I got:

Code:
lfs@leif-laptop:/mnt/lfs/sources/bash-3.2$ make install

	  ***********************************************************
	  *                                                         *
	  * GNU bash, version 3.2.39(1)-release (i686-pc-linux-gnu)
	  *                                                         *
	  ***********************************************************

( cd ./po/ ; make  DESTDIR= installdirs )
make[1]: Entering directory `/mnt/lfs/sources/bash-3.2/po'
/bin/sh /mnt/lfs/sources/bash-3.2/./support/mkinstalldirs /tools/share
mkdir -p -- /tools/share/locale/en@quot/LC_MESSAGES
mkdir -p -- /tools/share/locale/en@boldquot/LC_MESSAGES
if test "bash" = "gettext-tools"; then \
	  /bin/sh /mnt/lfs/sources/bash-3.2/./support/mkinstalldirs /tools/share/gettext/po; \
	else \
	  : ; \
	fi
make[1]: Leaving directory `/mnt/lfs/sources/bash-3.2/po'
/usr/bin/install -c -m 0755 bash /tools/bin/bash
/usr/bin/install -c -m 0555 bashbug /tools/bin/bashbug
( cd ./doc ; make  \
		man1dir=/tools/man/man1 man1ext=.1 \
		man3dir=/tools/man/man3 man3ext=.3 \
		infodir=/tools/info htmldir= DESTDIR= install )
make[1]: Entering directory `/mnt/lfs/sources/bash-3.2/doc'
makeinfo --no-split -I../lib/readline/doc ./bashref.texi
/bin/sh ../support/mkinstalldirs /tools/man/man1
/bin/sh ../support/mkinstalldirs /tools/info
if test -n "" ; then \
		/bin/sh ../support/mkinstalldirs  ; \
	fi
/bin/sh ./infopost.sh < ./bashref.info > bash.info ; \

/usr/bin/install -c -m 644 ./bash.1 /tools/man/man1/bash.1
/usr/bin/install -c -m 644 ./bashbug.1 /tools/man/man1/bashbug.1
/usr/bin/install -c -m 644 ./bash.info /tools/info/bash.info
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
		install-info --dir-file=/tools/info/dir /tools/info/bash.info; \
	else true; fi
if test -n "" ; then \
		/usr/bin/install -c -m 644 ./bash.html  ; \
		/usr/bin/install -c -m 644 ./bashref.html  ; \
	fi
make[1]: Leaving directory `/mnt/lfs/sources/bash-3.2/doc'
( cd ./builtins ; make  DESTDIR= install )
make[1]: Entering directory `/mnt/lfs/sources/bash-3.2/builtins'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/mnt/lfs/sources/bash-3.2/builtins'
( cd ./po/ ; make  DESTDIR= install )
make[1]: Entering directory `/mnt/lfs/sources/bash-3.2/po'
test -z "en@quot.gmo en@boldquot.gmo ru.gmo" || make en@quot.gmo en@boldquot.gmo ru.gmo
make[2]: Entering directory `/mnt/lfs/sources/bash-3.2/po'
make[2]: `en@quot.gmo' is up to date.
make[2]: `en@boldquot.gmo' is up to date.
rm -f ru.gmo && : -c --statistics -o ru.gmo ru.po
mv: cannot stat `t-ru.gmo': No such file or directory
make[2]: *** [ru.gmo] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/bash-3.2/po'
make[1]: *** [stamp-po] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/bash-3.2/po'
make: [install] Error 2 (ignored)
Can anyone help me? Thank you!

Oh, and if do need to somehow remake this package, how would I go about cleaning up my system from the first attempt at making it? Thank you very much.
 
Old 07-19-2009, 08:14 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Interesting, a Google search of the error brings up this http://www.linuxfromscratch.org/pipe...ch/034368.html as the very first hit. You could also install gettext on your host system and try again if you don't like the answer from the LFS ML.
 
Old 07-19-2009, 09:00 AM   #3
TBOL3
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 0
He, he. Okay, I can ignore it. Thanks.

Although, I did try searching before I cam and asked you, and couldn't find anything. Maybe I'm not searching for the right terms. I'm not really superb at reading the output of make and make install, could you tell me which line you searched for, as I doubt it is just the last one, thank you.
 
Old 07-19-2009, 10:20 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Read section 1.5 of the book, specifically section 1.5.3. I search on the actual problem
Code:
cannot stat `t-ru.gmo': No such file or directory
 
Old 07-19-2009, 11:36 AM   #5
TBOL3
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 0
What I'm saying, is more along the lines of, how did you know that was the error? Was it because that was what was right above the error lines? Otherwise, that would just look like it working to me.

Again, thank you.
 
Old 07-19-2009, 12:47 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by TBOL3 View Post
how did you know that was the error?
In this case I knew because it was reported as unsuccessful (no such file or directory). In the case of other errors, the actual cause may be 50 or more lines before the end. It just depends and the more errors you see the easier it gets to find them.
 
Old 07-19-2009, 04:33 PM   #7
TBOL3
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 0
So, just look for lines where it says cannot do X, or Warning with Y?

Okay, thanks.
 
  


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
BASH: instad of echo-ing, I just want to assing to a bash variable... how?? rylan76 Linux - Newbie 9 11-28-2008 08:46 AM
BASH -copy stdin to stdout (replace cat) (bash browser) gnashley Programming 4 07-21-2008 01:14 PM
Bash Sleep vs crontab and bash serial port nutthick Programming 4 06-01-2006 02:42 AM
Bash: Print usage statement & exit; otherwise continue using Bash shorthand operators stefanlasiewski Programming 9 02-07-2006 05:20 PM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 06:42 PM

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

All times are GMT -5. The time now is 03:34 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
Open Source Consulting | Domain Registration