[lfs-support] Can i install the original package without patching?

Ken Moffat ken at linuxfromscratch.org
Sun Apr 8 10:38:07 PDT 2012


On Sat, Apr 07, 2012 at 08:18:33PM -0700, gmspro wrote:
> Usually the install process of a package is:
> 
> ./configure --prefix=/usr
> make
> make install
> 
> Normally the patches are not available with the original package. All user download the source code configure/compile/install it. Where can i get the patches of the original package?
> 
> Do the lfs devs write own patches for original package or do they get the patches from somewhere?
> 
> For example here is one patch for gcc 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836

 Your first question does not make any sense.  If you mean, where
can you get the patches that *lfs* uses, they are linked from the
patches page in the book.

 For your second question, the brief answer is "yes".  I refer you
to Bruce's reply to you on Friday.  The lfs patches are formatted to
record where they came from, and (if known) what upstream's response
was.  Some of them are specific to how *we* build.

 If you complete LFS and build some of BLFS you will find that there
are all sorts of reasons for using patches, but the main reasons are
because otherwise the package does not build (often, we use a newer
toolchain than the package's developer), or to fix security
problems.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-support mailing list