On 6/11/2012 6:35 AM, Mike Young wrote:
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 <http://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
<http://headers_install.pl> line 19.
BEGIN failed--compilation aborted at scripts/headers_install.pl
<http://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?
Thanks
Mike
Depending on the results of Yasser's instructions, you may have to go
back a few steps and reinstall perl.
Another thing: are you meaning to build for 64-bit, or are you
cross-compiling for 32-bit? If you haven't been paying attention to
that, you may have to scrap your entire build as it currently stands and
start over.
Elly
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page