So I was attemtping to compile libxml2 in my BLFS 8.3 system. I entered this command from the book:
Code:
patch -Np1 -i ../libxml2-2.9.8-python3_hack-1.patch
which resulted in:
Code:
can't find file to patch at input line 12
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Submitted By: Pierre Labastie <pierre dot labastie at neuf dot fr>
|Date: 2017-11-23
|Initial Package Version: 2.9.7
|Upstream Status: Bug reported (https://bugzilla.gnome.org/show_bug.cgi?id=789714)
|Origin: Jan Majetek/OpenSuse (https://bugzilla.opensuse.org/show_bug.cgi?id=1065270)
|Description: Fix a segfault in the Python 3 module. It is only a hack.
|
|Index: libxml2-2.9.5/python/libxml.c
|===================================================================
|--- libxml2-2.9.5.orig/python/libxml.c
|+++ libxml2-2.9.5/python/libxml.c
--------------------------
File to patch:
It froze at the "Files to patch:" prompt. So i finally hit enter. Got this:
Code:
Skip this patch? [y]
Hit enter.
Code:
Skipping patch.
2 out of 2 hunks ignored
Then it returned me to my bash prompt.
I was using the version of patch program compiled into my 8.3 system, as specified in the 8.3 book. I was building the version of libxml2 linked from the 8.3 book, and the patch file was the one linked by the book.
Has anyone else run into this problem? Conversely, has anyone actually compiled that version of libxml2 in that version of [B]LFS?