On Fri, 2018-01-12 at 17:28 +0000, [email protected] wrote: > Author: dj > Date: Fri Jan 12 09:28:42 2018 > New Revision: 11350 > > Log: > Update to Linux-4.14.13. > Add Libelf-0.107. > > Added: > trunk/BOOK/chapter06/libelf.xml > Modified: > trunk/BOOK/chapter01/changelog.xml > trunk/BOOK/chapter01/whatsnew.xml > trunk/BOOK/chapter03/packages.xml > trunk/BOOK/chapter06/chapter06.xml > trunk/BOOK/chapter06/libffi.xml > trunk/BOOK/general.ent > trunk/BOOK/packages.ent > > Modified: trunk/BOOK/chapter01/changelog.xml > ===================================================================== > ========= > --- trunk/BOOK/chapter01/changelog.xml Wed Jan 10 20:05:08 > 2018 (r11349) > +++ trunk/BOOK/chapter01/changelog.xml Fri Jan 12 09:28:42 > 2018 (r11350) > @@ -43,6 +43,19 @@ > appropriate for the entry or if needed the entire day's > listitem. > --> > <listitem> > + <para>2018-01-12</para> > + <itemizedlist> > + <listitem> > + <para>[dj] - Add Libelf (Elfutils) 0.107.</para> > + </listitem>
Please tell me that the version number above is a typo. It's currently at version 0.170. > + <listitem> > + <para>[dj] - Update to Linux-4.14.13. Fixes > + <ulink url="&lfs-ticket-root;4195">#4195</ulink>.</para> > + </listitem> > + </itemizedlist> > + </listitem> > + > + <listitem> > <para>2018-01-11</para> > <itemizedlist> > <listitem> > > > Added: trunk/BOOK/chapter06/libelf.xml > ===================================================================== > ========= > --- /dev/null 00:00:00 1970 (empty, because file is > newly added) > +++ trunk/BOOK/chapter06/libelf.xml Fri Jan 12 09:28:42 2018 > (r11350) > @@ -0,0 +1,84 @@ > +<?xml version="1.0" encoding="ISO-8859-1"?> > +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" > + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ > + <!ENTITY % general-entities SYSTEM "../general.ent"> > + %general-entities; > +]> > + > +<sect1 id="ch-system-libelf" role="wrap"> > + <?dbhtml filename="elfutils.html"?> > + > + <sect1info condition="script"> > + <productname>elfutils</productname> > + <productnumber>&elfutils-version;</productnumber> > + <address>&elfutils-url;</address> > + </sect1info> > + > + <title>Libelf &elfutils-version;</title> > + > + <indexterm zone="ch-system-libelf"> > + <primary sortas="a-Libelf">Libelf</primary> > + </indexterm> > + > + <sect2 role="package"> > + <title/> > + > + <para>Libelf is a library for handling ELF (Executable and > Linkable Format) > + files.</para> > + > + <segmentedlist> > + <segtitle>&buildtime;</segtitle> > + <segtitle>&diskspace;</segtitle> > + > + <seglistitem> > + <seg>&elfutils-ch6-sbu;</seg> > + <seg>&elfutils-ch6-du;</seg> > + </seglistitem> > + </segmentedlist> > + > + </sect2> > + > + <sect2 role="installation"> > + <title>Installation of Libelf</title> > + > + <para>Libelf is part of elfutils-&elfutils-version; package. > Use > + the elfutils-&elfutils-version;.tar.xz as the source > tarball.</para> > + > + <para>Prepare Libelf for compilation:</para> > + > +<screen><userinput remap="configure">./configure -- > prefix=/usr</userinput></screen> > + > + <para>Compile the package:</para> > + > +<screen><userinput remap="make">make</userinput></screen> > + > + <para>To test the results, issue <command>make > check</command>.</para> > + > + <para>Install the needed libraries:</para> > + This could probably be shortened to make -C libelf install install -vm644 config/libelf.pc /usr/lib/pkgconfig But I still don't get it why you chose to install part of the package. The package itself is very small and has no additional deps, so it won't need to be in BLFS. > +<screen><userinput remap="install">install -vm755 libelf/libelf.so > /usr/lib/libelf-0.170.so > +install -vm644 config/libelf.pc /usr/lib/pkgconfig > +install -vm644 libelf/libelf.h /usr/include > +install -vm644 libelf/gelf.h /usr/include > +install -vm644 libelf/nlist.h /usr/include > +ln -sf libelf-0.170.so /usr/lib/libelf-1.so > +ln -sf libelf-0.170.so /usr/lib/libelf.so</userinput></screen> > + > + </sect2> > + > + <sect2 id="contents-elfutils" role="content"> > + <title>Contents of Libelf</title> > + > + <segmentedlist> > + <segtitle>Installed Library</segtitle> > + > + <seglistitem> > + <seg> > + libelf.so > + </seg> > + </seglistitem> > + </segmentedlist> > + > + </sect2> > + > +</sect1> > > Modified: trunk/BOOK/packages.ent > ===================================================================== > ========= > --- trunk/BOOK/packages.ent Wed Jan 10 20:05:08 2018 (r > 11349) > +++ trunk/BOOK/packages.ent Fri Jan 12 09:28:42 2018 (r > 11350) > @@ -145,6 +145,14 @@ > <!ENTITY e2fsprogs-ch6-du "58 MB"> > <!ENTITY e2fsprogs-ch6-sbu "3.3 SBU"> > > +<!ENTITY elfutils-version "0.170"> > +<!ENTITY elfutils-size "8,168"> 8,168 tons, 8,168 meters, 8,168 liters? > +<!ENTITY elfutils-url > "https://sourceware.org/ftp/elfutils/&elfutils-version;/elfutils- > &elfutils-version;.tar.bz2">; > +<!ENTITY elfutils-md5 "03599aee98c9b726c7a732a2dd0245d5"> > +<!ENTITY elfutils-home "https://sourceware.org/ftp/elfutils/">; > +<!ENTITY elfutils-ch6-du "78 MB"> > +<!ENTITY elfutils-ch6-sbu "0.9 SBU"> > + > <!ENTITY eudev-version "3.2.5"> > <!ENTITY eudev-size "1,814"> > <!ENTITY eudev-url "http://dev.gentoo.org/~blueness/eudev/eudev-&eud > ev-version;.tar.gz">; -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
