Chapter 6.7.1 - make headers_check failure

David Shaw dj.shaw at btconnect.com
Sat Feb 20 03:22:43 PST 2010


@stosss

Oops!  Sorry - LFS 6.5 on Ubuntu 9.4.  So far as I am aware, I am 
carrying out the instructions as given in the book, in the order given.  
I am not deviating - well, intentionally, anyway.


@Aditya & Andrew

Perl is installed, but going back over what I did, there may well be a 
problem here.  When I patched, all did not go smoothly (terminal output 
attached at bottom), however, the configure/make/install seemed to go 
OK.  The only thing I can think of is that the perl tarball is 
perl-5.10.1 rather than 5.10.0.  It was downloaded from the link in 
chapter 3.2, but I'll go back and find 5.10.0 and try again.

Many thanks for all your help,

David





lfs at david-laptop:/mnt/lfs/sources/perl-5.10.1$ patch -Np1 -i 
../perl-5.10.0-consolidated-1.patch
patching file hints/linux.sh
Hunk #1 succeeded at 63 (offset 3 lines).
Hunk #2 succeeded at 436 (offset 13 lines).
patching file ext/POSIX/Makefile.PL
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file ext/POSIX/Makefile.PL.rej
patching file ext/POSIX/POSIX.pm
Hunk #1 FAILED at 13.
1 out of 1 hunk FAILED -- saving rejects to file ext/POSIX/POSIX.pm.rej
patching file t/lib/proxy_constant_subs.t
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file 
t/lib/proxy_constant_subs.t.rej
can't find file to patch at input line 136
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|
|Perl Upstream Patch
|
|diff --git a/ext/PerlIO/via/via.xs b/ext/PerlIO/via/via.xs
|index 5670887..c53e43c 100644
|--- perl-5.10.0.orig/ext/PerlIO/via/via.xs
|+++ perl-5.10.0/ext/PerlIO/via/via.xs
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
patching file lib/File/Path.pm
Hunk #1 FAILED at 350.
1 out of 1 hunk FAILED -- saving rejects to file lib/File/Path.pm.rej
patching file mg.c
Hunk #1 FAILED at 1543.
1 out of 1 hunk FAILED -- saving rejects to file mg.c.rej
can't find file to patch at input line 187
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|
|Submitted By: DJ Lucas <dj_AT_linuxfromscratch_DOT_org>
|Date: 2008-08-28
|Initial Package Version: 5.10.0
|Origin: Self
|Description: this patch removes the deprecated asm/page.h header.
|
|diff -Naur perl-5.10.0-orig/ext/IPC/SysV/SysV.xs 
perl-5.10.0/ext/IPC/SysV/SysV.xs
|--- perl-5.10.0-orig/ext/IPC/SysV/SysV.xs    2008-08-19 
22:36:43.000000000 -0500
|+++ perl-5.10.0/ext/IPC/SysV/SysV.xs    2007-12-18 04:47:07.000000000 -0600
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored




More information about the lfs-support mailing list