-
+
PostgreSQL>]]>
libperl library must be a shared library
also on most platforms. This appears to be the default in
- recent Perl versions, but it was not in earlier versions, and in
- general it is the choice of whomever installed Perl at your
- site.
+ recent
Perl versions, but it was not
+ in earlier versions, and in general it is the choice of whomever
+ installed Perl at your site.
To build the PL/Python server programming language, you need a
- Python installation, including the header files. Since
- PL/Python will be a shared library, the
- libpython library must be a shared library
- also on most platforms. This is not the case in a default
- Python installation.
+
Python installation with the header
+ files and the distutils module. The distutils module is
+ included by default with
Python 1.6
+ and later; users of earlier versions of
+
Python will need to install it.
- If after building and installing you have a file called
+ Since PL/Python will be a shared library, the
+ libpython library must be a shared library
+ also on most platforms. This is not the case in a default
+
Python installation. If after
+ building and installing you have a file called
plpython.so (possibly a different
extension), then everything went well. Otherwise you should
have seen a notice like this flying by:
*** You might have to rebuild your Python installation. Refer to
*** the documentation for details.
- That means you have to rebuild (part of) your Python
- installation to supply this shared library.
+ That means you have to rebuild (part of) your
+
Python installation to supply this
+ shared library.
- If you have problems, run Python 2.3 or later's configure using the
- --enable-shared> flag. On some operating systems you
- don't have to build a shared library, but you will have
- to convince the
PostgreSQL> build system of this.
- Consult the Makefile in the
- src/pl/plpython directory for details.
+ If you have problems, run
Python> 2.3 or later's
+ configure using the --enable-shared> flag. On some
+ operating systems you don't have to build a shared library, but
+ you will have to convince the
PostgreSQL> build
+ system of this. Consult the Makefile in
+ the src/pl/plpython directory for details.