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 12-20-2010, 04:42 AM   #1
aloisius-a
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware, LFS
Posts: 27

Rep: Reputation: 0
LFS 6.5 Kernel installation problem


Hi,
I am installing LFS 6.5 and until now I thought I haven't made errors but I was wrong because in section 8.3.1, when I tried to configure the kernel with the command

make LANG=en_US LC_ALL= menuconfig

I obtained a series of errors which I send as PDF attachement becouse it is very long.
I suppose there is a problem with the linker but I am not sure and don't know what it is.
Can anyone help me to resolve this situation?

aloisius-a
Attached Files
File Type: pdf make.log.pdf (30.0 KB, 16 views)
 
Old 12-20-2010, 04:51 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
You need only worry about the _first_ error in most cases

grep not found. Check your $PATH. make sure grep is in it.
echo $PATH
which grep
 
Old 12-20-2010, 03:02 PM   #3
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

I agree with business kid that grep is probably the problem. If you check your PATH and it turns out that it is ok then something might have gone wrong during the build of grep.
You can search for grep with one the following commands:
Code:
type grep
whereis grep
locate grep
find / -type f -name 'grep' -print
 
Old 12-21-2010, 03:01 PM   #4
aloisius-a
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware, LFS
Posts: 27

Original Poster
Rep: Reputation: 0
grep absence

Hi,

your idea is correct because grep isn't present in any directory of the PATH, which are
/bin:/usr/bin:/sbin:/usr/sbin

I don't know what happened but certainly grep was not installed.

So I am asking if I can go back to section 6.26 and reinstall grep.
I think it should be possible with a logout and entering in the jail following the procedure delineated in section 6.4 (with regard to this proposal I have to tell that I did not erase the directory tools.

What do you think?

Thank you for your help.

aloisius-a
 
Old 12-21-2010, 03:16 PM   #5
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by aloisius-a View Post
So I am asking if I can go back to section 6.26 and reinstall grep.
I think it should be possible with a logout and entering in the jail following the procedure delineated in section 6.4 (with regard to this proposal I have to tell that I did not erase the directory tools.
Yes, if your toolchain is still on the system then you should be able to reinstall grep with this procedure. I have done so myself on occasion. Just make sure that you start with freshly untarred source files for grep.
 
  


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
Can't boot LFS ( kernel panic - not syncing ) LFS 6.6 Lyle Linux From Scratch 14 05-15-2010 03:22 AM
kernel pacnic problem after booting from my own LFS live cd luckybtn Linux From Scratch 0 08-29-2008 01:43 AM
Kernel Panic lfs LFS gbiyer Linux From Scratch 8 05-07-2006 03:48 AM
LFS 5.0 with Kernel 2.6.5 -> util-linux 2.12a SEVERE PROBLEM ParticleHunter Linux From Scratch 1 04-13-2004 04:24 PM

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

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