Add comments about .la files when installing glib

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20457 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2018-09-05 19:51:47 +00:00
parent 5e35dc3ff2
commit aee8552346
2 changed files with 20 additions and 11 deletions

View File

@ -147,20 +147,27 @@
<screen><userinput>patch -Np1 -i ../glib-&glib2-version;-skip_warnings-1.patch</userinput></screen>
<!-- <warning>
<warning>
<para>
If upgrading from a previous version of GLib that was built using
autotools, and the <application>libtool</application> archives were
installed, you will need to adjust all installed libtool archives to
replace references to the libtool archives for this package,
autotools, and the <application>libtool</application> archives (.la
files) were installed, you will need to adjust all installed libtool
archives,
<filename>/usr/lib/libg{io,lib,module,object,thread}-2.0.la</filename>,
with the appropriate linker library flag (-l),
<command>-lg{io,lib,module,object,thread}</command>. 600+ files must
be modified on a complete gnome desktop.
TODO: If reinstating meson, reference the instructions to remove .la files
to replace references to the libtool archives for this package with the
appropriate linker library flag (-l),
<command>-lg{io,lib,module,object,thread}</command>. 600+ files must be
modified on a complete gnome desktop.i
</para>
<para>
Alternatively, you can just remove the unneeded .la files
with the script at <xref linkend="la-files"/>.
</para>
</warning>
-->
<para>
Install <application>GLib</application> by running the following
commands:
@ -200,7 +207,9 @@ make</userinput></screen>-->
<!-- <screen role="root"><userinput>make install</userinput></screen> -->
<!-- used when built with meson/ninja -->
<screen role="root"><userinput>mkdir -p /usr/share/doc/glib-&glib2-version; &amp;&amp;
<screen role="root"><userinput>ninja install &amp;&amp;
mkdir -p /usr/share/doc/glib-&glib2-version; &amp;&amp;
cp -r ../docs/reference/{NEWS,gio,glib,gobject} /usr/share/doc/glib-&glib2-version;</userinput></screen>
<para>

View File

@ -109,7 +109,7 @@ EOF</userinput></screen>
<para>These dependencies are those that the BLFS editors have determined
are important to give the package reasonable capabilities. Package
installation instructions assume thay are installed. If a recommended
installation instructions assume they are installed. If a recommended
package is not desired, the instructions may need to be modified to
accommodate the missing package.</para>