Author: bdubbs
Date: Sat Dec 7 14:36:41 2013
New Revision: 10382
Log:
Fix location of binaries and libraries for kmod and xz.
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter06/kmod.xml
trunk/BOOK/chapter06/xz.xml
trunk/BOOK/general.ent
Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml Sat Nov 23 15:37:22 2013 (r10381)
+++ trunk/BOOK/chapter01/changelog.xml Sat Dec 7 14:36:41 2013 (r10382)
@@ -36,6 +36,17 @@
</listitem>
-->
<listitem>
+ <para>2013-12-07</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Fix location of binaries and libraries
+ for kmod and xz. Fixes
+ <ulink url="&lfs-ticket-root;3443">#3443</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2013-11-23</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/chapter06/kmod.xml
==============================================================================
--- trunk/BOOK/chapter06/kmod.xml Sat Nov 23 15:37:22 2013 (r10381)
+++ trunk/BOOK/chapter06/kmod.xml Sat Dec 7 14:36:41 2013 (r10382)
@@ -45,7 +45,6 @@
<screen><userinput remap="configure">./configure --prefix=/usr \
--bindir=/bin \
- --libdir=/lib \
--sysconfdir=/etc \
--disable-manpages \
--with-xz \
@@ -81,10 +80,11 @@
<screen><userinput remap="test">make check</userinput></screen>
<para>Install the package, and create symlinks for compatibility with
- Module-Init-Tools, the package that previously handled Linux kernel
modules:
+ Module-Init-Tools, the package that previously handled Linux kernel
modules.
+ Also make sure that all libraries are in the correct directory:
</para>
-<screen><userinput remap="install">make pkgconfigdir=/usr/lib/pkgconfig install
+<screen><userinput remap="install">make install
for target in depmod insmod modinfo modprobe rmmod; do
ln -sv ../bin/kmod /sbin/$target
@@ -92,6 +92,14 @@
ln -sv kmod /bin/lsmod</userinput></screen>
+ <para> Make sure that all libraries are in the correct directory: </para>
+
+<screen><userinput remap="install">mv -v /usr/lib/libkmod.so.* /lib
+ln -svf ../../lib/libkmod.so.2.2.4 /usr/lib/libkmod.so</userinput></screen>
+
+<!-- Note to editors: When upgrading kmod, make sure the library version
+ specified above has not changed -->
+
</sect2>
<sect2 id="contents-kmod" role="content">
Modified: trunk/BOOK/chapter06/xz.xml
==============================================================================
--- trunk/BOOK/chapter06/xz.xml Sat Nov 23 15:37:22 2013 (r10381)
+++ trunk/BOOK/chapter06/xz.xml Sat Dec 7 14:36:41 2013 (r10382)
@@ -46,7 +46,9 @@
<para>Prepare Xz for compilation with:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib
--docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr \
+ --bindir=/bin \
+ --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
<para>Compile the package:</para>
@@ -56,9 +58,12 @@
<screen><userinput remap="test">make check</userinput></screen>
- <para>Install the package:</para>
+ <para>Install the package and make sure that all libraries are in the
+ correct directory:</para>
-<screen><userinput remap="install">make pkgconfigdir=/usr/lib/pkgconfig
install</userinput></screen>
+<screen><userinput remap="install">make install
+mv -v /usr/lib/liblzma.so.* /lib
+ln -svf ../../lib/liblzma.so.&xz-version;
/usr/lib/liblzma.so</userinput></screen>
</sect2>
Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent Sat Nov 23 15:37:22 2013 (r10381)
+++ trunk/BOOK/general.ent Sat Dec 7 14:36:41 2013 (r10382)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20131123">
-<!ENTITY releasedate "November 23, 2013">
+<!ENTITY version "SVN-20131207">
+<!ENTITY releasedate "December 7, 2013">
<!ENTITY copyrightdate "1999-2013"><!-- jhalfs needs a literal dash, not
– -->
<!ENTITY milestone "7.5">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or
"x.y[-pre{x}]" -->
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page