aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/libpipeline.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-10-11 04:23:55 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-10-11 04:23:55 +0000
commitee321a46882b7583b2b831b87e6afce2e5652a6d (patch)
tree257a0cbd48c0eb5bc12154e8f3a81c16376d02db /chapter06/libpipeline.xml
parent1c2d2089a5ccbf5ba6099960bafa077c0ad0b3f8 (diff)
Added Check-1.2.0 library to Chapter 5.
Updated errordiscussion in glibc. Added a fix for locale issues in gcc. Incorporated Check library into libpipeline test. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9626 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/libpipeline.xml')
-rw-r--r--chapter06/libpipeline.xml20
1 files changed, 18 insertions, 2 deletions
diff --git a/chapter06/libpipeline.xml b/chapter06/libpipeline.xml
index 1c832d0e3..a2a573892 100644
--- a/chapter06/libpipeline.xml
+++ b/chapter06/libpipeline.xml
@@ -43,13 +43,29 @@
<para>Prepare Libpipeline for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
+<screen><userinput remap="configure">./configure CHECK_CFLAGS=-I/tools/include \
+ CHECK_LIBS="-L/tools/lib -lcheck" --prefix=/usr</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the configure options:</title>
+
+ <varlistentry>
+ <term><parameter>CHECK_CFLAGS=, CHECK_LIBS=</parameter></term>
+ <listitem>
+ <para>These environment variables specify the location of the test
+ library built in <xref linkend="ch-tools-check"/>.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
- <para>This package does not come with a test suite.</para>
+ <para>To test the results, issue:</para>
+
+<screen><userinput remap="test">make check</userinput></screen>
<para>Install the package:</para>