From bb764e94ce98c01924879288bd14e76e7c913128 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 17 Aug 2006 17:25:43 +0000 Subject: Produce a clean failure in configure when dtrace is selected but cannot be found. Besides stopping those early who have no dtrace installed whatsoever, this will also alert those who have dtrace in /usr/sbin, which might not be in the path, which would produce confusing failures much later in the build process. Add documentation about pointing configure to find dtrace. --- doc/src/sgml/installation.sgml | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index e7ed9b4d5ca..0769901f248 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ - + <![%standalone-include[<productname>PostgreSQL</>]]> @@ -1011,10 +1011,24 @@ su - postgres <term><option>--enable-dtrace</option></term> <listitem> <para> + <indexterm> + <primary>DTrace</primary> + </indexterm> Compiles with support for the dynamic tracing tool DTrace. Operating system support for DTrace is currently only available in Solaris. </para> + + <para> + To point to the <command>dtrace</command> program, the + environment variable <envar>DTRACE</envar> can be set. This + will often be necessary because <command>dtrace</command> is + typically installed under <filename>/usr/sbin</filename>, + which might not be in the path. Additional command-line + options for the <command>dtrace</command> program can be + specified in the environment variable + <envar>DTRACEFLAGS</envar>. + </para> </listitem> </varlistentry> @@ -1113,6 +1127,25 @@ su - postgres </listitem> </varlistentry> + <varlistentry> + <term><option>DTRACE=<replaceable>/path/to/dtrace</></option></term> + <listitem> + <para> + Specifies the location of the <command>dtrace</command> program. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>DTRACEFLAGS=<replaceable>FLAGS</></option></term> + <listitem> + <para> + <replaceable>FLAGS</> is the a list of flags to pass to the + <command>dtrace</command> program. + </para> + </listitem> + </varlistentry> + <varlistentry> <term><option>JADE</option></term> <listitem> -- cgit v1.2.3