[Nagiosplug-checkins] nagiosplug/doc developer-guidelines.sgml,1.33,1.34
Ton Voon
tonvoon at users.sourceforge.net
Tue Jan 31 02:07:02 CET 2006
Update of /cvsroot/nagiosplug/nagiosplug/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32521
Modified Files:
developer-guidelines.sgml
Log Message:
Updated instructions on using libtap as configure option changed
Index: developer-guidelines.sgml
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/doc/developer-guidelines.sgml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- developer-guidelines.sgml 30 Jan 2006 22:24:30 -0000 1.33
+++ developer-guidelines.sgml 31 Jan 2006 10:06:10 -0000 1.34
@@ -294,7 +294,7 @@
<section><title>Translations</title>
<para>If possible, use translation tools for all output to respect the user's language
- settings. See <xref linkend="translations_developers"> for guidelines
+ settings. See <xref linkend="translationsdevelopers"> for guidelines
for the core plugins.
</para>
</section>
@@ -616,22 +616,22 @@
<section><title>Testing the C library functions</title>
<para>
-Uses <ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap">the libtap library</ulink>, which gives
+We use <ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap">the libtap library</ulink>, which gives
perl's TAP
(Test Anything Protocol) output. This is used by the FreeBSD team for their regression testing.
</para>
<para>
-To run tests using the libtap library, download from http://people.freebsd.org/~nik/public_distfiles/
-and compile. There is a problem with tap-1.01
-where <ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/ticket/25">pthread support doesn't appear to work</ulink>
-properly on non-FreeBSD systems. Compile with 'CPPFLAGS="-UHAVE_LIBPTHREAD" ./configure'. You do not need
-to install.
+To run tests using the libtap library, download the latest tar ball and extract.
+There is a problem with tap-1.01 where
+<ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/ticket/25">pthread support doesn't appear to work</ulink>
+properly on non-FreeBSD systems. Compile with 'CPPFLAGS="-UHAVE_LIBPTHREAD" ./configure && make && make check'.
+You do not need to install.
</para>
<para>
-You then have to run the Nagios Plugins' configure with the --with-libtap-object=full_path to the compiled
-tap.o file.
+You then have to run the Nagios Plugins' configure with the --with-libtap-srcdir=path, where path is the
+full path to the tap.h and compiled tap.o file.
Then run "make" and "make test" to run all tests.
</para>
</section>
@@ -671,7 +671,7 @@
update the THANKS.in file.</para>
</section>
- <section id="translations_developers"><title>Translations for developers</title>
+ <section id="translationsdevelopers"><title>Translations for developers</title>
<para>To make the job easier for translators, please follow these guidelines:</para>
<orderedlist>
<listitem><para>
More information about the Commits
mailing list