mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Fix compiling Gamin with Glib 2.32 installed
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9893 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
4f304a0ad6
commit
692b244c3d
@ -4,12 +4,13 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY gamin-download-http "http://www.gnome.org/~veillard/gamin/sources/gamin-&gamin-version;.tar.gz">
|
||||
<!ENTITY gamin-download-http
|
||||
"http://www.gnome.org/~veillard/gamin/sources/gamin-&gamin-version;.tar.gz">
|
||||
<!ENTITY gamin-download-ftp "&gentoo-ftp-repo;/gamin-&gamin-version;.tar.gz">
|
||||
<!ENTITY gamin-md5sum "b4ec549e57da470c04edd5ec2876a028">
|
||||
<!ENTITY gamin-size "639 KB">
|
||||
<!ENTITY gamin-buildsize "6.7 MB">
|
||||
<!ENTITY gamin-time "0.1 SBU (up to 3 minutes, processor independent, to run the test suite)">
|
||||
<!ENTITY gamin-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="gamin" xreflabel="Gamin-&gamin-version;">
|
||||
@ -29,81 +30,103 @@
|
||||
<sect2 role="package">
|
||||
<title>Introduction to Gamin</title>
|
||||
|
||||
<para>The <application>Gamin</application> package contains a
|
||||
File Alteration Monitor which is useful for notifying applications of
|
||||
changes to the file system. Gamin is compatible with <ulink
|
||||
url="http://oss.sgi.com/projects/fam/">FAM</ulink>.</para>
|
||||
<para>
|
||||
The <application>Gamin</application> package contains a File Alteration
|
||||
Monitor which is useful for notifying applications of changes to the file
|
||||
system. Gamin is compatible with
|
||||
<ulink url="http://oss.sgi.com/projects/fam/">FAM</ulink>.
|
||||
</para>
|
||||
|
||||
<para>&lfssvn_built;20100803&lfssvn_built2;</para>
|
||||
&lfs71_built;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&gamin-download-http;"/></para>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&gamin-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&gamin-download-ftp;"/></para>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&gamin-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &gamin-md5sum;</para>
|
||||
<para>
|
||||
Download MD5 sum: &gamin-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size: &gamin-size;</para>
|
||||
<para>
|
||||
Download size: &gamin-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &gamin-buildsize;</para>
|
||||
<para>
|
||||
Estimated disk space required: &gamin-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &gamin-time;</para>
|
||||
<para>
|
||||
Estimated build time: &gamin-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Gamin Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required"><xref linkend="pkgconfig"/></para>
|
||||
<para role="required">
|
||||
<xref linkend="pkgconfig"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional"><xref linkend="python2"/></para>
|
||||
|
||||
<!-- Though configure mentions these two packages, the build
|
||||
system can and does absolutely nothing with them. Commenting
|
||||
them out for now, as they cannot be used
|
||||
<xref linkend="gtk-doc"/> (for building API documentation),
|
||||
<xref linkend="doxygen"/> (for building documentation),
|
||||
-->
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/gamin"/></para>
|
||||
<para role="optional">
|
||||
<xref linkend="python2"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/gamin"/>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Gamin</title>
|
||||
|
||||
<para>Install <application>Gamin</application> by running the
|
||||
following commands:</para>
|
||||
<para>
|
||||
Install <application>Gamin</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin &&
|
||||
<screen><userinput>sed -i 's/G_CONST_RETURN/const/' server/gam_{node,subscription}.{c,h} &&
|
||||
./configure --prefix=/usr --libexecdir=/usr/sbin --disable-static &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>To test the results, issue: <command>make check</command>. Note
|
||||
that some tests may display errors.</para>
|
||||
<para>
|
||||
To test the results, issue: <command>make check</command>. Note that some
|
||||
tests may display errors.
|
||||
</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install &&
|
||||
install -v -m755 -d /usr/share/doc/gamin-&gamin-version; &&
|
||||
install -v -m644 doc/*.{html,fig,gif,txt} /usr/share/doc/gamin-&gamin-version;</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><option>--disable-static</option>: This switch prevents most of the
|
||||
static libraries being built.</para>
|
||||
<para>
|
||||
<command>sed -i 's/G_CONST_RETURN/const/'
|
||||
server/gam_{node,subscription}.{c,h}</command>: This sed fixes compiling
|
||||
with <application>Glib 2.32</application> or greater installed.
|
||||
</para>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/static-libraries.xml"/>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="configuration">
|
||||
@ -112,13 +135,13 @@ install -v -m644 doc/*.{html,fig,gif,txt} /usr/share/doc/gamin-&gamin-version;</
|
||||
<sect3>
|
||||
<title>Configuration Information</title>
|
||||
|
||||
<para>No configuration is generally required and the default options
|
||||
should work for most users. See
|
||||
<para>
|
||||
No configuration is generally required and the default options should
|
||||
work for most users. See
|
||||
<ulink url="http://www.gnome.org/~veillard/gamin/config.html"/> for
|
||||
details.</para>
|
||||
|
||||
details.
|
||||
</para>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
@ -131,9 +154,10 @@ install -v -m644 doc/*.{html,fig,gif,txt} /usr/share/doc/gamin-&gamin-version;</
|
||||
|
||||
<seglistitem>
|
||||
<seg>gam_server</seg>
|
||||
<seg>libfam.{so,a}, libgamin-1.{so,a}, libgamin_shared.a and
|
||||
optionally, <application>Python</application> _gamin.{so,a}
|
||||
module</seg>
|
||||
<seg>
|
||||
libfam.so, libgamin-1.so, libgamin_shared.a and (if you've installed
|
||||
<application>Python 2</application>) _gamin.so.
|
||||
</seg>
|
||||
<seg>/usr/share/doc/gamin-&gamin-version;</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
@ -146,8 +170,10 @@ install -v -m644 doc/*.{html,fig,gif,txt} /usr/share/doc/gamin-&gamin-version;</
|
||||
<varlistentry id="gam_server">
|
||||
<term><command>gam_server</command></term>
|
||||
<listitem>
|
||||
<para>is the file alteration monitor daemon that is started on demand
|
||||
for each user.</para>
|
||||
<para>
|
||||
is the file alteration monitor daemon that is started on demand for
|
||||
each user.
|
||||
</para>
|
||||
<indexterm zone="gamin gam_server">
|
||||
<primary sortas="b-gam_server">gam_server</primary>
|
||||
</indexterm>
|
||||
@ -155,27 +181,28 @@ install -v -m644 doc/*.{html,fig,gif,txt} /usr/share/doc/gamin-&gamin-version;</
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libgamin">
|
||||
<term><filename class='libraryfile'>libgamin.{so,a}</filename></term>
|
||||
<term><filename class='libraryfile'>libgamin.so</filename></term>
|
||||
<listitem>
|
||||
<para>contains functions that support the file allocation monitor.</para>
|
||||
<para>
|
||||
contains functions that support the file allocation monitor.
|
||||
</para>
|
||||
<indexterm zone="gamin libgamin">
|
||||
<primary sortas="c-libgamin">libgamin.{so,a}</primary>
|
||||
<primary sortas="c-libgamin">libgamin.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libfam">
|
||||
<term><filename class='libraryfile'>libfam.{so,a}</filename></term>
|
||||
<term><filename class='libraryfile'>libfam.so</filename></term>
|
||||
<listitem>
|
||||
<para>contains functions that provide compatibility with FAM.</para>
|
||||
<para>
|
||||
contains functions that provide compatibility with FAM.
|
||||
</para>
|
||||
<indexterm zone="gamin libfam">
|
||||
<primary sortas="c-libfam">libfam.{so,a}</primary>
|
||||
<primary sortas="c-libfam">libfam.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
Loading…
Reference in New Issue
Block a user