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 05-15-2009, 12:47 PM   #1
Stachelsk
LQ Newbie
 
Registered: May 2009
Posts: 6

Rep: Reputation: 0
Troubles finding strict.pm ...?


Hi, I just chroot-ed into my root account and I was setting things up according to the LFS document. I went to compile the Linux API headers (as before), and figured all would go well, as it did before. However, I got a nasty little error message.

Code:
root:/sources/linux-2.6.27# make headers_check
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/unifdef
  INSTALL include/asm-generic (12 files)
Can't locate strict.pm in @INC (@INC contains: /tools/lib/perl5/5.8./i686-linux 
   /tools/lib/perl5/5.8.8 /tools/lib/perl5/site_perl/5.8.8/i686-linux 
   /tools/lib/perl5/site_perl/5.8.8 /tools/lib/perl5/site_perl .) 
   at scripts/headers_install.pl line 19.
BEGIN failed--compilation aborted at scripts/headers_install.pl line 19.
make[2]: *** [/sources/linux-2.6.27/usr/include/asm-generic/.install] Error 2
make[1]: *** [asm-generic] Error 2
make: *** [headers_install] Error 2
I grabbed this from another user. My platform is actually x86-64, but oh well.

The funny thing is, is that I copied strict.pm from /tools/lib/perl5/5.8.8 to /sources/linux-2.6.27, and tried it again and it worked. I'm going alone fine now, I'm just kindof worried that I had to copy strict.pm to the Linux directory in order to get things to click...

Any input on how to really fix this problem?
 
Old 05-15-2009, 02:06 PM   #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,

Are you sure you did not forget these steps?

- 5.26.1. Installation of Perl -

mkdir -pv /tools/lib/perl5/5.8.8
cp -Rv lib/* /tools/lib/perl5/5.8.8


BTW: You are building and 'older' LFS (6.2), you do know that 6.4 is available.....
 
Old 05-15-2009, 07:34 PM   #3
Stachelsk
LQ Newbie
 
Registered: May 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by druuna View Post
Hi,

Are you sure you did not forget these steps?

- 5.26.1. Installation of Perl -

mkdir -pv /tools/lib/perl5/5.8.8
cp -Rv lib/* /tools/lib/perl5/5.8.8


BTW: You are building and 'older' LFS (6.2), you do know that 6.4 is available.....
Yeah, I'm using 6.4... that was just the error dump from another user that I found on the boards with the same (unresolved) problem.

Anyways, I think I did that...

I was probably going to do a rebuild tonight anyways.
I'll chroot into it again and give it ago.

Thanks for the advice.
 
  


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
Security setting too strict The_Nerd Linux - Security 2 03-30-2008 12:11 AM
Strict Routing elfoozo Linux - Networking 1 12-12-2007 08:06 PM
strict usergroup ?? how to ?? help plz Mr.Bingles Linux - Networking 0 06-07-2004 01:03 AM
Strict DHCP puzz_1 Linux - Networking 8 06-05-2003 12:20 PM
CF card reader - troubles finding SCISI dev it's on d33pdream Linux - Hardware 7 03-18-2003 12:48 AM

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

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