On 02/15/2013 04:42 PM, Armin K. wrote:
On 02/15/2013 03:06 PM, [email protected] wrote:
Author: matthew
Date: Fri Feb 15 06:06:47 2013
New Revision: 10151

Log:
Attr requires Gettext to build.

Modified:
     branches/systemd/BOOK/appendices/dependencies.xml
     branches/systemd/BOOK/chapter06/chapter06.xml
     branches/systemd/BOOK/general.ent

Modified: branches/systemd/BOOK/appendices/dependencies.xml
==============================================================================
--- branches/systemd/BOOK/appendices/dependencies.xml   Fri Feb 15 05:56:39 
2013        (r10150)
+++ branches/systemd/BOOK/appendices/dependencies.xml   Fri Feb 15 06:06:47 
2013        (r10151)
@@ -37,6 +37,42 @@
     the LFS book and then go back an rebuild the LFS package.  In several 
cases,
     reinstallation is addressed in BLFS.</para>

+<!-- Begin Attr dependency info -->
+  <bridgehead renderas="sect2" id="attr-dep">attr</bridgehead>
+
+      <segmentedlist>
+        <segtitle>&dependencies;</segtitle>
+
+        <seglistitem>
+          <seg>Bash, Coreutils, Gettext, Grep, M4, Make, Perl, Sed, and
+          Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist>
+        <segtitle>&testsuites;</segtitle>
+
+        <seglistitem>
+          <seg>Automake, Diffutils, Findutils, GCC, and Libtool</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist>
+        <segtitle>&before;</segtitle>
+
+        <seglistitem>
+          <seg>Systemd</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist>
+        <segtitle>&external;</segtitle>
+
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
   <!-- Begin Autoconf dependency info -->
     <bridgehead renderas="sect2" id="autoconf-dep">Autoconf</bridgehead>


Modified: branches/systemd/BOOK/chapter06/chapter06.xml
==============================================================================
--- branches/systemd/BOOK/chapter06/chapter06.xml       Fri Feb 15 05:56:39 
2013        (r10150)
+++ branches/systemd/BOOK/chapter06/chapter06.xml       Fri Feb 15 06:06:47 
2013        (r10151)
@@ -37,6 +37,7 @@
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="procps.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="e2fsprogs.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="shadow.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="gettext.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="attr.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="libcap.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="coreutils.xml"/>
@@ -58,7 +59,6 @@
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="gawk.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="findutils.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="flex.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="gettext.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="intltool.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="gperf.xml"/>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="groff.xml"/>

Modified: branches/systemd/BOOK/general.ent
==============================================================================
--- branches/systemd/BOOK/general.ent   Fri Feb 15 05:56:39 2013        (r10150)
+++ branches/systemd/BOOK/general.ent   Fri Feb 15 06:06:47 2013        (r10151)
@@ -1,5 +1,5 @@
-<!ENTITY version "SYSTEMD-20130213">
-<!ENTITY releasedate "February 13, 2013">
+<!ENTITY version "SYSTEMD-20130215">
+<!ENTITY releasedate "February 15, 2013">
   <!ENTITY copyrightdate "1999-2013"><!-- jhalfs needs a literal dash, not 
&ndash; -->
   <!ENTITY milestone "7.3">
   <!ENTITY generic-version "systemd"> <!-- Use "development", "testing", or 
"x.y[-pre{x}]" -->


I'd suggest you make temporary gettext install all executables (or at
least msgfmt, msgmerge and xgettext which are really needed). I did that
and had no problems. I moved it before coreutils so coreutils could use
libcap which needs attr.


This should do it.
Index: chapter05/gettext.xml
===================================================================
--- chapter05/gettext.xml	(revision 10151)
+++ chapter05/gettext.xml	(working copy)
@@ -44,7 +44,7 @@
     <title>Installation of Gettext</title>
 
     <para>For our temporary set of tools, we only need to build and install
-    one binary from Gettext.</para>
+    three binaries from Gettext.</para>
 
     <para>Prepare Gettext for compilation:</para>
 
@@ -76,7 +76,9 @@
     <para>Compile the package:</para>
 
 <screen><userinput remap="make">make -C gnulib-lib
-make -C src msgfmt</userinput></screen>
+make -C src msgfmt
+make -C src msgmerge
+make -C src xgettext</userinput></screen>
 
     <para>As only one binary has been compiled, it is not possible to run the
     test suite without compiling additional support libraries from the Gettext
@@ -85,7 +87,7 @@
 
     <para>Install the <command>msgfmt</command> binary:</para>
 
-<screen><userinput remap="install">cp -v src/msgfmt /tools/bin</userinput></screen>
+<screen><userinput remap="install">cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin</userinput></screen>
 
   </sect2>
 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to