Date: Mon, 11 Jun 2012 12:35:59 +0100
From: mikeyoun...@googlemail.com
To: lfs-support@linuxfromscratch.org
Subject: [lfs-support] Book 7.1 Chapter 6.7 Linux API headers: make 
headers_check




Hi all



This is my first lfs build, and it was going swimmingly until I hit this little 
wall.


Unfortunately I am very much a newbie, so I have absolutely no idea how to read 
these outputs (I'm just getting to grips with what's actually going on!)

So, to the point. "make mrproper" went without any problems, as did all 
sections prior to this. 



Here are my actions and then the problem.



cd sources
tar -xf linux-3.2.6.tar.xz
cd linux-3.2.6

make mrproper
make headers_check



This gave the output of:

CHK include/linux/version.h
UPD include/linux/version.h
HOSTCC scripts/basic/fixdep
HOSTCC scripts/unifdef
INSTALL include/asm-generic (34 files)
Can't locate strict.pm in @INC (@INC contains: 
/tools/lib/perl5/site_perl/5.14.2/x86_64-linux 
/tools/lib/perl5/site_perl/5.14.2 /tools/lib/perl5/5.14.2/x86_64-linux 
/tools/lib/perl5/5.14.2 .) at scripts/headers_install.pl line 19.
BEGIN failed--compilation aborted at scripts/headers_install.pl line 19.
make[2]: *** [/sources/linux-3.2.6/usr/include/asm-generic/.install] Error 2
make[1]: *** [asm-generic] Error 2
make: *** [headers_install] Error 2



Now Error 2, as I understand, is pretty generic, so at first I though it's 
possibly not a real problem, but then I saw that the compilation had aborted.

I removed the directory and re-extracted and started again, getting exactly the 
same messages.

I haven't deviated from the book as far as I'm aware and my host system matches 
the requirements.



Any ideas?
 
The output tells that it could not find strict.pm in it's expected locations 
i.e. /tools/lib/perl5/site_perl/5.14.2/x86_64-linux 
/tools/lib/perl5/site_perl/5.14.2 /tools/lib/perl5/5.14.2/x86_64-linux 
/tools/lib/perl5/5.14.2.
 
So please run following commands while you're chrooted into $LFS and post back 
the result for us and also think about them yourself:


find /tools -iname "strict.pm"

find /tools -iname "*perl*"




Thanks



Mike

-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: 
http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above 
information page                                         
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to