Section 6.7. Linux-2.6.37 API Headers make error
Whenever I run make headers_check I get an error about not being able to locate strict.pm in @INC. Here is the full output of
make headers_check: Code:
root:/sources/torvalds-linux-4a7895f# make headers_check ~Steve |
Hi,
First of all: Which chapter is this 5.6 or 6.7? (I assume it is 6.7 due to the missing /mnt/lfs part). Please provide basic information such as: Which LFS version, which chapter you are working on and which host you are using. Quote:
If the above isn't the problem and this is chapter 6.7: The error complains about perl, which was installed in chapter 5.28. Are you 100% sure it installed correctly? Hope this helps. |
Quote:
~Steve |
There are 2 links in this post
http://www.linuxquestions.org/questi...el-tar-904001/ Yes I would log back in, remove the build directory and redo it |
Hi,
Quote:
Quote:
- exiting the chrooted environment, - log in as user lfs, - make sure the correct environment is set (LFS etc), - install 5.28. Perl-5.12.3 Hope this helps. |
I went and reinstalled perl, downloaded linux-2.6.37 from the link posted, untarred it, remounted temporary /dev/ devices, entered the chroot environment, and tried doing make headers_check again, but it came up with the same error. I triple-checked if I installed perl correctly, which I did, according to the book, anyway. Any other ideas?
|
Hi,
As far as I can see 2 things could be wrong: - Perl isn't installed correctly. strict.pm is part of the basic perl installation done in 5.28. Have you checked (inside and outside the chrooted environment) if strict.pm is present? /tools/lib/perl5/5.12.3 and /tools/bin are the target directories used in 5.28. - Linux-2.6.37 API Headers is the very first package used in chapter 6, have you double checked chapters 6.1 -> 6.6 and is all set up correctly? Not much to go on, but hope this helps |
Quote:
~Steve |
All times are GMT -5. The time now is 07:51 PM. |