Ignore:
Timestamp:
04/02/2006 12:56:44 PM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
de49ebd
Parents:
be2e6a3
Message:

Modified the build commands in the G-Wrap instructions so that it will build correctly when using GLib-1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5796 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/gwrap.xml

    rbe2e6a3 rfeb1f411  
    7171
    7272    <bridgehead renderas="sect4">Required</bridgehead>
    73     <para role="required"><xref linkend="guile"/> and
    74     <xref linkend="GLib"/></para>
     73    <para role="required"><xref linkend="guile"/>, and
     74    <xref linkend="GLib"/> or <xref linkend="glib2"/></para>
     75
     76    <para>If you are building <application>G-Wrap</application> as a dependency
     77    for <application>GnuCash</application>, ensure you have
     78    <application>GLib</application>-1 installed and you pass the
     79    <envar>GLIB_XXX</envar> environment variables to the
     80    <command>configure</command> script as shown below.</para>
    7581
    7682    <bridgehead renderas="sect4">Optional</bridgehead>
     
    8894    commands:</para>
    8995
    90 <screen><userinput>./configure --prefix=/usr &amp;&amp;
     96<screen><userinput>GLIB_CFLAGS=$(glib-config --cflags) \
     97GLIB_LIBS=$(glib-config --libs) \
     98./configure --prefix=/usr &amp;&amp;
    9199make</userinput></screen>
    92100
     
    96104
    97105<screen role="root"><userinput>make install</userinput></screen>
     106
     107  </sect2>
     108
     109  <sect2 role="commands">
     110    <title>Command Explanations</title>
     111
     112    <para><command>GLIB_CFLAGS=$(glib-config ...) GLIB_LIBS=$(glib-config ...)
     113    ./configure ...</command>: The <command>configure</command> script does
     114    not pull in the proper <application>GLib</application>-1
     115    <envar>CFLAGS</envar> and <envar>LIBS</envar> parameters so
     116    <command>glib-config</command> is used to set them. Omit setting them like
     117    this if you are not building <application>G-Wrap</application> as a
     118    dependency for <application>GnuCash</application> and only issue the
     119    <command>./configure</command> command instead.</para>
    98120
    99121  </sect2>
Note: See TracChangeset for help on using the changeset viewer.