LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-09-2009, 10:01 PM   #1
TBOL3
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Rep: Reputation: 0
Problems in 5.4, I feel dumb now.


Great, so I'm following the book along, just fine, and have been doing the simple stuff that just about anyone could do. Then I got to 5.4. I was a little confused at the command they wanted me to type, but I eventually thought it was:

time { CC="gcc -B/usr/bin/" ../binutils-2.18/configure --prefix=/tools --disable-nls --disable-werror && make && make install; }


And I got this (this is the last fragment):

( if test 'x../../../binutils-2.18/bfd/po' != 'x.'; then \
posrcprefix='../../../binutils-2.18/bfd/'; \
else \
posrcprefix="../"; \
fi; \
rm -f SRC-POTFILES-t SRC-POTFILES \
&& (sed -e '/^#/d' \
-e '/^[ ]*$/d' \
-e "s@.*@ $posrcprefix& \\\\@" < ../../../binutils-2.18/bfd/po/SRC-POTFILES.in \
| sed -e '$s/\\$//') > SRC-POTFILES-t \
&& chmod a-w SRC-POTFILES-t \
&& mv SRC-POTFILES-t SRC-POTFILES )
( rm -f BLD-POTFILES-t BLD-POTFILES \
&& (sed -e '/^#/d' \
-e '/^[ ]*$/d' \
-e "s@.*@ ../& \\\\@" < ../../../binutils-2.18/bfd/po/BLD-POTFILES.in \
| sed -e '$s/\\$//') > BLD-POTFILES-t \
&& chmod a-w BLD-POTFILES-t \
&& mv BLD-POTFILES-t BLD-POTFILES )
cd .. \
&& CONFIG_FILES=po/Makefile.ino/Make-in \
CONFIG_HEADERS= /bin/bash ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
make: *** [all] Error 2

real 2m59.778s
user 1m0.332s
sys 1m41.662s


I have no idea what to do, can any of you help me? Thank you.

BTW, I am installing it in VirtualBox, using Ubuntu 9.04 as my host, under ubuntu 9.04 as it's host. I have followed the book exactly (well, okay, so I save the virtualmachine once, and it could restore itself, so I had to re-setup the environment variables, but other than that, I've followed it exactly).

Thank you in advanced.
 
Old 07-10-2009, 05:06 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

If you look a few line above the errors shown, then you
may see this :
" WARNING: `makeinfo' is missing on your system. "
If I am right, the package texinfo is missing.
( /usr/bin/makeinfo )

Please see § iv. Host System Requirements
http://www.hot.ee/airm/linux/LFS6.4/.../hostreqs.html
... There are 20 packages required, one is "Texinfo-4.8"
... sudo apt-get install texinfo
provides version 4.11 , which is OK.
....
....
You can omit the " time { ..} " part of commands, if you wish.
( This is the first time, I have seen it used.)
Time is not the important thing here, more important is to
observe, how all the bits and pieces work together.
And that is easier with one command at a time, with no && .
.....
Good luck.
.....

Last edited by knudfl; 07-10-2009 at 05:11 AM.
 
Old 07-11-2009, 09:08 AM   #3
TBOL3
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Ya, it worked, thank you.

However, when I was making sure I had all of the packages downloaded, it didn't seem as if diffutils was not in ubuntu's repos. Yet, when I ran locate diffutils, I saw a file on the system. "/usr/share/locale-langpack/en_GB/LC_MESSAGES/diffutils.mo" Do you know if it is on the system, or do I need to go manually install it?

Thank you.
 
Old 07-12-2009, 04:09 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
apt-cache search diff
sudo apt-get install diff

.....
Or please use the two 'Search' functions in Synaptic
to find package names, which will often
differ from package names in other Linux's .
.....

Last edited by knudfl; 07-12-2009 at 04:13 AM.
 
  


Reply



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
Really New feel stupid video problems. WhiteMike411 Linux - General 2 08-16-2007 06:53 AM
Samsung MFP SF-565P (Boy, do I feel dumb) eco2geek Linux - Hardware 0 01-10-2005 02:20 AM
Problems upgrading glibc. Very Frustrated. Feel like an idiot. :confused: maruson Linux - Software 2 08-25-2004 04:34 PM
so many dumb problems TX_metalhead Linux - General 5 07-03-2002 04:41 PM

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

All times are GMT -5. The time now is 04:32 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