LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Troubles finding strict.pm ...? (https://www.linuxquestions.org/questions/linux-from-scratch-13/troubles-finding-strict-pm-726252/)

Stachelsk 05-15-2009 12:47 PM

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?

druuna 05-15-2009 02:06 PM

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.....

Stachelsk 05-15-2009 07:34 PM

Quote:

Originally Posted by druuna (Post 3542124)
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.


All times are GMT -5. The time now is 10:20 PM.