aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/pkg-config.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2011-05-22 22:21:37 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2011-05-22 22:21:37 +0000
commit47045599e69241222a0288069cd76dc1614aed4d (patch)
tree94efeed21df1866758b8ff1019c57708913a09c6 /chapter06/pkg-config.xml
parentb8d2a723d7581ec19e3bca64954d4d0cd2f4b1f5 (diff)
Upgrade to Pkg-config-0.26 and add PCRE and Glib as required dependencies.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9547 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/pkg-config.xml')
-rw-r--r--chapter06/pkg-config.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/chapter06/pkg-config.xml b/chapter06/pkg-config.xml
index 444a30c9a..12498d289 100644
--- a/chapter06/pkg-config.xml
+++ b/chapter06/pkg-config.xml
@@ -48,9 +48,15 @@
url="&blfs-root;view/svn/general/popt.html">BLFS Popt build
instructions</ulink> before installing Pkg-config.</para></note>
+
+ <para>Fix a problem with one of Pkg-config's tests:</para>
+
+<screen><userinput remap="pre">sed -i -e '21s/EXPECT_RETURN=1/EXPECT_RETURN=0/' check/check-cmd-options</userinput></screen>
+
<para>Prepare Pkg-config for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
+<screen><userinput remap="configure">GLIB_LIBS="-L/usr/lib -lglib-2.0" \
+ GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" ./configure --prefix=/usr</userinput></screen>
<para>Compile the package:</para>