mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
Fixed tripwire to compile with gcc3
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1344 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
1d70715f3b
commit
50a5d3e2de
@ -11,6 +11,9 @@ who wrote what.</para>
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem><para>October 7th, 2003 [tushar]: Add patch and modify tripwire
|
||||
instructions for gcc3 compilation.</para></listitem>
|
||||
|
||||
<listitem><para>October 7th, 2003 [larry]: courier patch submitted by Jim Gifford</para></listitem>
|
||||
|
||||
<listitem><para>October 7th, 2003 [igor]: Added missing http/ftp
|
||||
|
@ -1,20 +1,7 @@
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para><screen><command>export PATH_HOLD=$PATH &&
|
||||
export PATH=/opt/gcc-2.95.3/bin:$PATH</command></screen>These
|
||||
instructions save the current <envar>PATH</envar> and then places
|
||||
<application><acronym>GCC</acronym>-2.95.3</application> at the head of
|
||||
the path. This is done because <application>Tripwire</application> will
|
||||
not compile with the newer
|
||||
<application><acronym>GCC</acronym></application>.</para>
|
||||
|
||||
<para><command>ln -s make /usr/bin/gmake</command>: The reason we create the
|
||||
<command>gmake</command> symlink is that <application>Tripwire</application>
|
||||
will only install if the symlink is present. It may be safely removed after
|
||||
installation.</para>
|
||||
|
||||
<para><command>gmake release</command>: This command creates the
|
||||
<para><command>make release</command>: This command creates the
|
||||
<application>Tripwire</application> binaries.</para>
|
||||
|
||||
<para><command>cp install.{sh,cfg} .</command>: These are copied to the main
|
||||
|
@ -1,27 +1,21 @@
|
||||
<sect2>
|
||||
<title>Installation of <application>Tripwire</application></title>
|
||||
|
||||
<para>Download the patch for <application>Tripwire</application> config from
|
||||
<ulink url="&patch-root;/tripwire-&tripwire-version;-cfg.patch"/>.</para>
|
||||
<para>Compile <application>Tripwire</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput><command>patch -Np1 -i ../tripwire-&tripwire-version;-gcc3-build-fixes.patch &&
|
||||
cd src &&
|
||||
make release &&
|
||||
cd .. &&
|
||||
cp install/install.{sh,cfg} .</command></userinput></screen>
|
||||
|
||||
<para>Install <application>Tripwire</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput><command>export PATH_HOLD=$PATH &&
|
||||
export PATH=/opt/gcc-2.95.3/bin:$PATH &&
|
||||
ln -s make /usr/bin/gmake &&
|
||||
cd src &&
|
||||
gmake release &&
|
||||
cd .. &&
|
||||
cp install/install.{sh,cfg} . &&
|
||||
patch -Np0 -i ../tripwire-&tripwire-version;-cfg.patch &&
|
||||
./install.sh &&
|
||||
<screen><userinput><command>./install.sh &&
|
||||
cp /etc/tripwire/tw.cfg /usr/sbin &&
|
||||
cp policy/*.txt /usr/share/doc/tripwire</command></userinput></screen>
|
||||
|
||||
<para>Reverse the modifications made above:</para>
|
||||
<screen><userinput><command>rm /usr/bin/gmake &&
|
||||
export PATH=$PATH_HOLD</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -18,4 +18,11 @@ url="&tripwire-download-ftp;"/></para></listitem>
|
||||
&tripwire-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Additional downloads</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Required patch to fix multiple build issues (see patch for more information):
|
||||
<ulink url="&patch-root;/tripwire-&tripwire-version;-gcc3-build-fixes.patch"/></para></listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user