LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 6.5 Kernel installation problem (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-5-kernel-installation-problem-851333/)

aloisius-a 12-20-2010 04:42 AM

LFS 6.5 Kernel installation problem
 
1 Attachment(s)
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

business_kid 12-20-2010 04:51 AM

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

crts 12-20-2010 03:02 PM

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


aloisius-a 12-21-2010 03:01 PM

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

crts 12-21-2010 03:16 PM

Quote:

Originally Posted by aloisius-a (Post 4199235)
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.


All times are GMT -5. The time now is 01:39 AM.