Commit 47c51db5 authored by Bruce Momjian's avatar Bruce Momjian

Update documentation for --with-perl.

parent 2c65658c
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.199 2002/08/30 16:23:21 momjian Exp $ dnl $Header: /cvsroot/pgsql/configure.in,v 1.200 2002/08/30 17:14:30 momjian Exp $
dnl dnl
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
...@@ -360,7 +360,7 @@ PGAC_ARG_REQ(with, tkconfig, [ --with-tkconfig=DIR tkConfig.sh is in DIR]) ...@@ -360,7 +360,7 @@ PGAC_ARG_REQ(with, tkconfig, [ --with-tkconfig=DIR tkConfig.sh is in DIR])
# Optionally build Perl modules (Pg.pm and PL/Perl) # Optionally build Perl modules (Pg.pm and PL/Perl)
# #
AC_MSG_CHECKING([whether to build Perl modules]) AC_MSG_CHECKING([whether to build Perl modules])
PGAC_ARG_BOOL(with, perl, no, [ --with-perl build Perl interface and PL/Perl]) PGAC_ARG_BOOL(with, perl, no, [ --with-perl build PL/Perl])
AC_MSG_RESULT([$with_perl]) AC_MSG_RESULT([$with_perl])
AC_SUBST(with_perl) AC_SUBST(with_perl)
......
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.78 2002/06/15 02:41:56 thomas Exp $ --> <!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.79 2002/08/30 17:14:30 momjian Exp $ -->
<chapter id="installation"> <chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]> <title><![%standalone-include[<productname>PostgreSQL</>]]>
...@@ -629,12 +629,7 @@ su - postgres ...@@ -629,12 +629,7 @@ su - postgres
<term><option>--with-perl</option></term> <term><option>--with-perl</option></term>
<listitem> <listitem>
<para> <para>
Build the Perl interface module. The Perl interface Build the PL/Perl server-side language.
will be installed at the usual place for Perl modules
(typically under <filename>/usr/lib/perl</filename>), so you
must have root access to perform the installation step (see
<xref linkend="install">). You need to have Perl 5 installed to
use this option.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -1021,18 +1016,17 @@ All of PostgreSQL is successfully made. Ready to install. ...@@ -1021,18 +1016,17 @@ All of PostgreSQL is successfully made. Ready to install.
</para> </para>
<para> <para>
If you built the Perl or Python interfaces and you were not the If you built the Python interfaces and you were not the
root user when you executed the above command then that part of root user when you executed the above command then that part of
the installation probably failed. In that case you should become the installation probably failed. In that case you should become
the root user and then do the root user and then do
<screen> <screen>
<userinput>gmake -C src/interfaces/perl5 install</userinput>
<userinput>gmake -C src/interfaces/python install</userinput> <userinput>gmake -C src/interfaces/python install</userinput>
</screen> </screen>
If you do not have superuser If you do not have superuser access you are on your own:
access you are on your own: you can still take the required files you can still take the required files and place them in
and place them in other directories where Perl or Python can find other directories where Python can find them, but how to
them, but how to do that is left as an exercise. do that is left as an exercise.
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment