Re: [lfs-support] Packages Dependency Graph

2012-06-11 Thread Yasser Zamani

 Date: Sun, 10 Jun 2012 14:24:15 -0500
 From: bruce.du...@gmail.com
 To: lfs-support@linuxfromscratch.org
 Subject: Re: [lfs-support] Packages Dependency Graph
 
 Take a look at
 http://www.linuxfromscratch.org/lfs/view/development/appendices/dependencies.html
 
 It basically describes a graph.
 
Yes it does this good! I don't know why I did not look at appendices in my life 
;) Thank you very much!

 The better way is to build the system and then delete what you don't
 want. For instance, after a build, you don't need gcc, but it would be
 difficult to build new packages,
 
Please read my answer to Ken in below...

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


 Date: Mon, 11 Jun 2012 01:14:21 +0100
 From: zarniwh...@ntlworld.com
 To: lfs-support@linuxfromscratch.org
 Subject: Re: [lfs-support] Packages Dependency Graph
 
 On Sun, Jun 10, 2012 at 11:30:54PM +0430, Yasser Zamani wrote:
 Generally, LFS encourages people to develop their scripting skills
 (after the first successful build). Relying on the host's tar will
 make scripting somewhat difficult.
 
 As Bruce said, build it all and then remove what *you* can do
 without. Some of it is down to painstaking examination of what is
 installed, e.g. nobody needs *all* the consolefonts and keymaps, but
 many people will want at least one of each.
 
 
Yes I understand that the Bruce's advice works well. However, I forgot to 
mention that my another goal is understanding the environment better. e.g. I 
tried to repeat the LFS but this time with skipping installing the packages 
which I don't know why I should install. Then I had an interesting experience. 
Section 6's Glibc's configure failed because of absent of Gawk and now I know 
why and where I need section 5's Gawk; Actually in my life I cannot do a thing 
while I don't know why I should do ;)

 ĸen
 -- 
 das eine Mal als Tragödie, das andere Mal als Farce
 -- 
 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


[lfs-support] Book 7.1 Chapter 6.7 Linux API headers: make headers_check

2012-06-11 Thread Mike Young
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?


Thanks


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


Re: [lfs-support] Book 7.1 Chapter 6.7 Linux API headers: make headers_check

2012-06-11 Thread Yasser Zamani


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


Re: [lfs-support] Book 7.1 Chapter 6.7 Linux API headers: make headers_check

2012-06-11 Thread Eleanore Boyd

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


Re: [lfs-support] Book 7.1 Chapter 6.7 Linux API headers: make headers_check

2012-06-11 Thread Mike Young
root:/# find /tools -name strict.pm
/tools/lib/per15/5.14.2/strict.pm
root:/# find /tools -iname *perl*
/tools/bin/perl
/tools/lib/per15/5.14.2/TAP/Parser/SourceHandler/Perl.pm
/tools/lib/per15/5.14.2/Pod/Perldoc
/tools/lib/per15/5.14.2/Pod/Perldoc.pm
/tools/lib/per15/5.14.2/ExtUtils/Miniperl.pm
/tools/lib/per15/5.14.2/perl5db.t
/tools/lib/per15/5.14.2/PerlIO
/tools/lib/per15/5.14.2/unicore/README.perl
/tools/lib/per15/5.14.2/unicore/lib/Perl
/tools/lib/per15/5.14.2/unicore/lib/Perl/PerlSpac.pl
/tools/lib/per15/5.14.2/unicore/lib/Perl/PerlWord.pl
/tools/lib/per15/5.14.2/perl5db.pl
/tools/lib/per15/5.14.2/PerlIO.pm
/tools/lib/per15/5.14.2/perl5db
/tools/lib/per15/5.14.2/Encode/PerlIO.pod
/tools/lib/per15/5.14.2/Perl
/tools/lib/per15/5.14.2/auto/Pod/Perldoc
/tools/lib/per15/5.14.2/auto/PerlIO
/tools/lib/per15/5.14.2/auto/Perl
/tools/include/asm-generic/bitsperlong.h
/tools/include/asm/bitsperlong.h

It seems that /tools/lib/perl5 is actually /tools/lib/per15 which I can
attribute down to myself. A simple mv /tools/include/per15
/tools/include/perl5 should fix this yes?

As for meaning to build for 64 or cross compiling. I'm currently working on
an x86_64 system so included all the commands for working on such a system
which I assume will also build for one?

Thanks

Mike

On Mon, Jun 11, 2012 at 12:53 PM, Yasser Zamani yasser.zam...@live.comwrote:

  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:*

1. *find /tools -iname strict.pm*
2. *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


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


Re: [lfs-support] Book 7.1 Chapter 6.7 Linux API headers: make headers_check

2012-06-11 Thread Eleanore Boyd

On 6/11/2012 7:21 AM, Mike Young wrote:

root:/# find /tools -name strict.pm http://strict.pm
/tools/lib/per15/5.14.2/strict.pm http://strict.pm
root:/# find /tools -iname *perl*
/tools/bin/perl
/tools/lib/per15/5.14.2/TAP/Parser/SourceHandler/Perl.pm
/tools/lib/per15/5.14.2/Pod/Perldoc
/tools/lib/per15/5.14.2/Pod/Perldoc.pm
/tools/lib/per15/5.14.2/ExtUtils/Miniperl.pm
/tools/lib/per15/5.14.2/perl5db.t
/tools/lib/per15/5.14.2/PerlIO
/tools/lib/per15/5.14.2/unicore/README.perl
/tools/lib/per15/5.14.2/unicore/lib/Perl
/tools/lib/per15/5.14.2/unicore/lib/Perl/PerlSpac.pl
/tools/lib/per15/5.14.2/unicore/lib/Perl/PerlWord.pl
/tools/lib/per15/5.14.2/perl5db.pl http://perl5db.pl
/tools/lib/per15/5.14.2/PerlIO.pm
/tools/lib/per15/5.14.2/perl5db
/tools/lib/per15/5.14.2/Encode/PerlIO.pod
/tools/lib/per15/5.14.2/Perl
/tools/lib/per15/5.14.2/auto/Pod/Perldoc
/tools/lib/per15/5.14.2/auto/PerlIO
/tools/lib/per15/5.14.2/auto/Perl
/tools/include/asm-generic/bitsperlong.h
/tools/include/asm/bitsperlong.h

It seems that /tools/lib/perl5 is actually /tools/lib/per15 which I 
can attribute down to myself. A simple mv /tools/include/per15 
/tools/include/perl5 should fix this yes?


As for meaning to build for 64 or cross compiling. I'm currently 
working on an x86_64 system so included all the commands for working 
on such a system which I assume will also build for one?


Thanks

Mike

On Mon, Jun 11, 2012 at 12:53 PM, Yasser Zamani 
yasser.zam...@live.com mailto:yasser.zam...@live.com wrote:


Date: Mon, 11 Jun 2012 12:35:59 +0100
From: mikeyoun...@googlemail.com
mailto:mikeyoun...@googlemail.com
To: lfs-support@linuxfromscratch.org
mailto: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 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?

*The output tells that it could not find strict.pm
http://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.
http://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:*

1.
*find /tools -iname strict.pm http://strict.pm*
2.
*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




Yes, a simple rename should work then. And yes, it will. Where trouble 
would have come up is if you wanted to build a 32-bit system on a 64-bit 
system or 64-bit capable system, as one must make sure it doesn't try to 
compile for one in one package, then compile for the other on the next 
package.


And a trick almost no-one starting out thinks of, especially for the 

Re: [lfs-support] Book 7.1 Chapter 6.7 Linux API headers: make headers_check

2012-06-11 Thread Mike Young
Thank you both for your help :)

Also thanks for the copy+paste tip, it feels a bit like cheating but it
certainly saves time and errors!

Mike

On Mon, Jun 11, 2012 at 2:19 PM, Eleanore Boyd cara...@cox.net wrote:

  On 6/11/2012 7:21 AM, Mike Young wrote:

 root:/# find /tools -name strict.pm
 /tools/lib/per15/5.14.2/strict.pm
 root:/# find /tools -iname *perl*
 /tools/bin/perl
 /tools/lib/per15/5.14.2/TAP/Parser/SourceHandler/Perl.pm
 /tools/lib/per15/5.14.2/Pod/Perldoc
 /tools/lib/per15/5.14.2/Pod/Perldoc.pm
 /tools/lib/per15/5.14.2/ExtUtils/Miniperl.pm
 /tools/lib/per15/5.14.2/perl5db.t
 /tools/lib/per15/5.14.2/PerlIO
 /tools/lib/per15/5.14.2/unicore/README.perl
 /tools/lib/per15/5.14.2/unicore/lib/Perl
 /tools/lib/per15/5.14.2/unicore/lib/Perl/PerlSpac.pl
 /tools/lib/per15/5.14.2/unicore/lib/Perl/PerlWord.pl
 /tools/lib/per15/5.14.2/perl5db.pl
 /tools/lib/per15/5.14.2/PerlIO.pm
 /tools/lib/per15/5.14.2/perl5db
 /tools/lib/per15/5.14.2/Encode/PerlIO.pod
 /tools/lib/per15/5.14.2/Perl
 /tools/lib/per15/5.14.2/auto/Pod/Perldoc
 /tools/lib/per15/5.14.2/auto/PerlIO
 /tools/lib/per15/5.14.2/auto/Perl
 /tools/include/asm-generic/bitsperlong.h
 /tools/include/asm/bitsperlong.h

 It seems that /tools/lib/perl5 is actually /tools/lib/per15 which I can
 attribute down to myself. A simple mv /tools/include/per15
 /tools/include/perl5 should fix this yes?

 As for meaning to build for 64 or cross compiling. I'm currently working
 on an x86_64 system so included all the commands for working on such a
 system which I assume will also build for one?

 Thanks

 Mike

 On Mon, Jun 11, 2012 at 12:53 PM, Yasser Zamani yasser.zam...@live.comwrote:

   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:*

1. *find /tools -iname strict.pm*
 2. *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




  Yes, a simple rename should work then. And yes, it will. Where trouble
 would have come up is if you wanted to build a 32-bit system on a 64-bit
 system or 64-bit capable system, as one must make sure it doesn't try to
 compile for one in one package, then compile for the other on the next
 package.

 And a trick almost no-one starting out thinks of, especially for the sed
 commands: use an HTML copy, and use the copy+paste method of inputting the
 commands. It even works in the chroot.

 Elly

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


Re: [lfs-support] Book 7.1 Chapter 6.7 Linux API headers: make headers_check

2012-06-11 Thread Yasser Zamani

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

Thank you both for your help :)

Also thanks for the copy+paste tip, it feels a bit like cheating but it 
certainly saves time and errors!

You're welcome! another thing which really saves time and health in a lot of 
copy/paste is:
Selecting desired text in browser.Clicking middle-button of mouse on 
console.Which transfers the text from browser to console fast just by mouse 
rather than keyboard. However, I use Slax Live CD and I did not test this in 
any other distribution; Anyway, I guess it should work there too!

Good Luck!


Mike

On Mon, Jun 11, 2012 at 2:19 PM, Eleanore Boyd cara...@cox.net wrote:


  

  
  
On 6/11/2012 7:21 AM, Mike Young wrote:
root:/# find /tools -name strict.pm

  /tools/lib/per15/5.14.2/strict.pm

  root:/# find /tools -iname *perl*

  /tools/bin/perl

  /tools/lib/per15/5.14.2/TAP/Parser/SourceHandler/Perl.pm

  /tools/lib/per15/5.14.2/Pod/Perldoc

  /tools/lib/per15/5.14.2/Pod/Perldoc.pm

  /tools/lib/per15/5.14.2/ExtUtils/Miniperl.pm

  /tools/lib/per15/5.14.2/perl5db.t

  /tools/lib/per15/5.14.2/PerlIO

  /tools/lib/per15/5.14.2/unicore/README.perl

  /tools/lib/per15/5.14.2/unicore/lib/Perl

  /tools/lib/per15/5.14.2/unicore/lib/Perl/PerlSpac.pl

  /tools/lib/per15/5.14.2/unicore/lib/Perl/PerlWord.pl

  /tools/lib/per15/5.14.2/perl5db.pl

  /tools/lib/per15/5.14.2/PerlIO.pm

  /tools/lib/per15/5.14.2/perl5db

  /tools/lib/per15/5.14.2/Encode/PerlIO.pod

  /tools/lib/per15/5.14.2/Perl

  /tools/lib/per15/5.14.2/auto/Pod/Perldoc

  /tools/lib/per15/5.14.2/auto/PerlIO

  /tools/lib/per15/5.14.2/auto/Perl

  /tools/include/asm-generic/bitsperlong.h

  /tools/include/asm/bitsperlong.h

  

  It seems that /tools/lib/perl5 is actually /tools/lib/per15 which
  I can attribute down to myself. A simple mv /tools/include/per15
  /tools/include/perl5 should fix this yes?

  

  As for meaning to build for 64 or cross compiling. I'm currently
  working on an x86_64 system so included all the commands for
  working on such a system which I assume will also build for one?

  

  Thanks

  

  Mike

  

  On Mon, Jun 11, 2012 at 12:53 PM, Yasser
Zamani yasser.zam...@live.com
wrote:


  

  
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