mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 22:07:15 +08:00
libfam updates from Billy
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@210 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
8caebb7683
commit
9e1bc76773
@ -4,6 +4,7 @@
|
||||
|
||||
&libfam-intro;
|
||||
&libfam-inst;
|
||||
&libfam-exp;
|
||||
&libfam-config;
|
||||
&libfam-desc;
|
||||
|
||||
|
@ -3,8 +3,12 @@
|
||||
|
||||
<sect3><title>Config files</title>
|
||||
|
||||
<para><userinput>/etc/inetd.conf</userinput>,
|
||||
<userinput>/etc/rpc</userinput>, <userinput>/etc/xinetd.d/fam</userinput></para>
|
||||
<para><filename>/etc/rpc</filename>,
|
||||
<filename>/etc/fam.conf</filename>,
|
||||
<filename>/etc/inetd.conf</filename>,
|
||||
<filename>/etc/xinetd.d/fam</filename>,
|
||||
or <filename>/etc/xinetd.conf</filename>
|
||||
</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
@ -22,7 +26,9 @@ sgi_fam/1-2 stream rpc/tcp wait root /usr/bin/fam fam
|
||||
</userinput></para>
|
||||
|
||||
<para>
|
||||
If you use xinetd, create the /etc/xinetd.d/fam file as:</para>
|
||||
If you use xinetd, create the <filename>/etc/xinetd.d/fam</filename>
|
||||
file or add an entry to <filename>/etc/xinetd.conf</filename> as
|
||||
follows: </para>
|
||||
<para>
|
||||
<screen><userinput>
|
||||
# default: on
|
||||
|
17
general/genlib/libfam/libfam-exp.xml
Normal file
17
general/genlib/libfam/libfam-exp.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para>
|
||||
<userinput>patch -Np1 -i ../dnotify.patch :</userinput>
|
||||
This patch causes fam to use the Linux kernel dnotify mechanism to
|
||||
inform the calling process of file modifications, rather than polling
|
||||
the file system for.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<userinput>patch -Np1 -i ../libfam-gcc3.patch :</userinput>
|
||||
This patch is necessary to get libfam to compile with gcc-3.2.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
@ -9,11 +9,12 @@ or inetd.conf warnings, as we will be configuring these files after
|
||||
installation.</para></note>
|
||||
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr &&
|
||||
make &&</userinput>
|
||||
<userinput>make install</userinput>
|
||||
</screen>
|
||||
</para>
|
||||
<para><screen><userinput>
|
||||
patch -Np1 -i ../dnotify.patch &&
|
||||
patch -Np1 -i ../libfam-gcc3.patch &&
|
||||
./configure --prefix=/usr --sysconfdir=/etc &&
|
||||
make &&
|
||||
make install</userinput></screen></para>
|
||||
|
||||
|
||||
</sect2>
|
||||
|
@ -7,6 +7,11 @@ Version used: &libfam-version;
|
||||
Package size: &libfam-size;
|
||||
Estimated Disk space required: &libfam-buildsize;</screen>
|
||||
|
||||
<para>Required patches</para>
|
||||
<screen>Download location (FTP): <ulink url="&libfam-dnotify-patch-http;"/>
|
||||
Download location (FTP): <ulink url="&libfam-gcc3-patch-http;"/>
|
||||
</screen>
|
||||
|
||||
<para>The libfam package contains
|
||||
<userinput>fam</userinput>.</para>
|
||||
|
||||
|
@ -6,8 +6,17 @@
|
||||
<!ENTITY libfam-config SYSTEM "libfam-config.xml">
|
||||
<!ENTITY libfam-buildsize "350 KB">
|
||||
<!ENTITY libfam-version "2.6.9">
|
||||
|
||||
<!ENTITY libfam-download-http
|
||||
"http://oss.sgi.com/projects/fam/download/fam-2.6.9.tar.gz">
|
||||
<!ENTITY libfam-download-ftp
|
||||
"http://oss.sgi.com/projects/fam/download/fam-2.6.9.tar.gz">
|
||||
|
||||
<!ENTITY
|
||||
libfam-download-http "http://oss.sgi.com/projects/fam/download/fam-2.6.9.tar.gz">
|
||||
libfam-dnotify-patch-http
|
||||
"&file-root;/dnotify.patch.gz">
|
||||
<!ENTITY
|
||||
libfam-download-ftp "ftp://oss.sgi.com/projects/fam/download/fam-2.6.9.tar.gz">
|
||||
libfam-gcc3-patch-http
|
||||
"&file-root;/libfam-gcc3.patch.gz">
|
||||
|
||||
<!ENTITY libfam-size "300 KB">
|
||||
|
Loading…
Reference in New Issue
Block a user