LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-20-2013, 02:55 AM   #1
flighter
LQ Newbie
 
Registered: Aug 2013
Posts: 17

Rep: Reputation: Disabled
Linux from scratch , chapter 5.7 No output from sanity check


Hi i have a problem with chapter 5.7. i said that you need to test the toolchain but i get no output from the test, in most cases that is a good thing but the pdf said that their need to be output:


If everything is working correctly, there should be no errors, and the output of the last command will be of the form:

[Requesting program interpreter: /tools/lib/ld-linux.so.2]

http://www.linuxfromscratch.org/lfs/...r05/glibc.html



So does anybody know the problem?

If somebody need more information feel free to ask.



cheers

raphael


note: i don't have much experience with linux so please be gentle i'm still learning

Last edited by flighter; 08-20-2013 at 03:03 AM.
 
Old 08-20-2013, 03:15 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi and welcome to LQ!

If no output is shown then something went wrong. What output is shown for the following command:
Code:
readelf -l a.out | grep ': /'
 
Old 08-20-2013, 03:30 AM   #3
flighter
LQ Newbie
 
Registered: Aug 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
hi druuna thank you for the fast answer!

i just tried the command
and the output was:

[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
 
Old 08-20-2013, 03:49 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by flighter View Post
i just tried the command
and the output was:

[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
This indicates that something is wrong. Not sure at which point you made a mistake.

Can you post the output of:
- the version-check.sh script,
- .bash_profile (from the lfs user you created),
- .bashrc (also from the lfs user).

And use [code] .. [/code] around the output posted.

Just to make sure: You are running the commands in chapter 5 as user lfs?
 
Old 08-20-2013, 03:59 AM   #5
flighter
LQ Newbie
 
Registered: Aug 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
Yes i'm running the commands as lfs user

ok i will post the outputs asap
maybe it takes a few hours
 
Old 08-20-2013, 04:46 AM   #6
flighter
LQ Newbie
 
Registered: Aug 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
Version check:

Code:
bash, version 4.2.37(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Debian) 2.22
bison (GNU Bison) 2.5
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 4.0.1
/usr/bin/awk -> /usr/bin/gawk
gcc (Debian 4.7.2-5) 4.7.2
(GNU libc) 2.17
grep (GNU grep) 2.12
gzip 1.5
Linux version 3.7-1-grml-amd64 (team@grml.org) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Debian 3.7.9-1+grml.1
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
version-check.sh: line 33: makeinfo: command not found
Texinfo: 
xz (XZ Utils) 5.1.0alpha
gcc compilation OK

.bash_profile

Code:
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash

.bashrc

Code:
set +h
umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
LFS_TGT=$(uname -m)-lfs-linux-gnu
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL LFS_TGT PATH
 
Old 08-20-2013, 05:00 AM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by flighter View Post
Version check:

Code:
bash, version 4.2.37(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Debian) 2.22
bison (GNU Bison) 2.5
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 4.0.1
/usr/bin/awk -> /usr/bin/gawk
gcc (Debian 4.7.2-5) 4.7.2
(GNU libc) 2.17
grep (GNU grep) 2.12
gzip 1.5
Linux version 3.7-1-grml-amd64 (team@grml.org) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Debian 3.7.9-1+grml.1
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
version-check.sh: line 33: makeinfo: command not found
Texinfo: 
xz (XZ Utils) 5.1.0alpha
gcc compilation OK
Your hosts isn't fully compliant. Fix the above problem and then start again from scratch.
 
Old 08-20-2013, 05:01 AM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
version-check.sh: line 33: makeinfo: command not found
install texinfo

Code:
sudo apt-get install texinfo
Probably best if you go back to http://www.linuxfromscratch.org/lfs/...ils-pass1.html

first
Code:
rm -r /tools/*
also don't forget to remove the 'old builds' ( binutils-build and gcc-build )
 
Old 08-20-2013, 07:16 AM   #9
flighter
LQ Newbie
 
Registered: Aug 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
i did everything you say

Now it works.

thank you

Last edited by flighter; 08-20-2013 at 07:18 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
[SOLVED] LFS 7.3 / Chapter 6.10 / Page 96 / Error from the sanity check Drumachine Linux From Scratch 4 08-15-2013 09:01 AM
LFS 7.0 chapter 6.17 sanity check problem manzig Linux From Scratch 1 12-11-2011 04:19 AM
Cpp fails sanity check. Cannot compile gcc in chapter 6 after entering chroot env. dragos240 Linux From Scratch 18 06-26-2010 03:30 AM
No output from sanity check, chapter 5.7.*Adjusting the Toolchain Murdock_nl Linux From Scratch 2 09-13-2008 12:59 AM
ld reports "no input file" at first sanity check (chapter 5.7) garba Linux From Scratch 1 07-23-2005 06:54 PM

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

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