1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.203 2004/06/20 01:32:46 momjian Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.204 2004/09/23 00:30:13 neilc Exp $ -->
2
2
3
3
<chapter id="installation">
4
4
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -144,9 +144,9 @@ su - postgres
144
144
<indexterm><primary>libperl</primary></indexterm>
145
145
<filename>libperl</filename> library must be a shared library
146
146
also on most platforms. This appears to be the default in
147
- recent Perl versions, but it was not in earlier versions, and in
148
- general it is the choice of whomever installed Perl at your
149
- site.
147
+ recent <productname> Perl</productname> versions, but it was not
148
+ in earlier versions, and in general it is the choice of whomever
149
+ installed Perl at your site.
150
150
</para>
151
151
152
152
<para>
@@ -170,16 +170,20 @@ su - postgres
170
170
<listitem>
171
171
<para>
172
172
To build the PL/Python server programming language, you need a
173
- Python installation, including the header files. Since
174
- PL/Python will be a shared library, the
175
- <indexterm><primary>libpython</primary></indexterm>
176
- <filename>libpython</filename> library must be a shared library
177
- also on most platforms. This is not the case in a default
178
- Python installation.
173
+ <productname>Python</productname> installation with the header
174
+ files and the distutils module. The distutils module is
175
+ included by default with <productname>Python</productname> 1.6
176
+ and later; users of earlier versions of
177
+ <productname>Python</productname> will need to install it.
179
178
</para>
180
179
181
180
<para>
182
- If after building and installing you have a file called
181
+ Since PL/Python will be a shared library, the
182
+ <indexterm><primary>libpython</primary></indexterm>
183
+ <filename>libpython</filename> library must be a shared library
184
+ also on most platforms. This is not the case in a default
185
+ <productname>Python</productname> installation. If after
186
+ building and installing you have a file called
183
187
<filename>plpython.so</filename> (possibly a different
184
188
extension), then everything went well. Otherwise you should
185
189
have seen a notice like this flying by:
@@ -188,17 +192,18 @@ su - postgres
188
192
*** You might have to rebuild your Python installation. Refer to
189
193
*** the documentation for details.
190
194
</screen>
191
- That means you have to rebuild (part of) your Python
192
- installation to supply this shared library.
195
+ That means you have to rebuild (part of) your
196
+ <productname>Python</productname> installation to supply this
197
+ shared library.
193
198
</para>
194
199
195
200
<para>
196
- If you have problems, run Python 2.3 or later's configure using the
197
- <literal>--enable-shared</> flag. On some operating systems you
198
- don't have to build a shared library, but you will have
199
- to convince the <productname>PostgreSQL</> build system of this.
200
- Consult the <filename>Makefile</filename> in the
201
- <filename>src/pl/plpython</filename> directory for details.
201
+ If you have problems, run <productname> Python</> 2.3 or later's
202
+ configure using the <literal>--enable-shared</> flag. On some
203
+ operating systems you don't have to build a shared library, but
204
+ you will have to convince the <productname>PostgreSQL</> build
205
+ system of this. Consult the <filename>Makefile</filename> in
206
+ the <filename>src/pl/plpython</filename> directory for details.
202
207
</para>
203
208
</listitem>
204
209
0 commit comments