diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2007-01-18 14:07:31 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2007-01-18 14:07:31 +0000 |
| commit | 16f372d940823d08bc7271cf1057f062390efe2b (patch) | |
| tree | 1ec9f91432b479607ccd7c572527668632094b4d /doc | |
| parent | 020841071bf401245b9ed012752d85fd7e500431 (diff) | |
Optionally use xml2-config to detect installation locations of libxml.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/src/sgml/installation.sgml | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 68644fd4aad..c214cb85b10 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.271 2007/01/07 21:10:41 petere Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.272 2007/01/18 14:07:31 petere Exp $ --> <chapter id="installation"> <title><![%standalone-include[<productname>PostgreSQL</>]]> @@ -912,6 +912,18 @@ su - postgres Build with libxml (enables SQL/XML support). Libxml version 2.6.23 or later is required for this feature. </para> + + <para> + Libxml installs a program <command>xml2-config</command> that + can be used to detect the required compiler and linker + options. PostgreSQL will use it automatically if found. To + specify a libxml installation at an unusual location, you can + either set the environment variable + <envar>XML2_CONFIG</envar> to point to the + <command>xml2-config</command> program belonging to the + installation, or use the options + <option>--with-includes</option> and + <option>--with-libraries</option>. </listitem> </varlistentry> @@ -1203,6 +1215,16 @@ su - postgres </varlistentry> <varlistentry> + <term><envar>XML2_CONFIG</envar></term> + <listitem> + <para> + <command>xml2-config</command> program used to locate the + libxml installation. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><envar>YACC</envar></term> <listitem> <para> |
