Simon Kitching wrote:
Hi,

A “–prefix=/usr” parameter is passed to most makefiles, but the book
never explains why.

AIUI, the reason is: to override the default prefix of |/usr/local|.
Many packages default to installing in “/usr/local” which is sensible as
they are assuming you are running a typical “packaged” distribution (eg
redhat/debian) and so should not mix locally-compiled binaries with
package-managed binaries. This is not the case for LFS, so overriding
prefix is usually required.

If I am right, then maybe it is worth adding this brief explanation into
the LFS book somewhere?

Users should know this before starting LFS.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to