提交 47c51db5 编写于 作者: B Bruce Momjian

Update documentation for --with-perl.

上级 2c65658c
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 Developers, please strive to achieve this order:
dnl
......@@ -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)
#
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_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">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
......@@ -629,12 +629,7 @@ su - postgres
<term><option>--with-perl</option></term>
<listitem>
<para>
Build the Perl interface module. The Perl interface
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.
Build the PL/Perl server-side language.
</para>
</listitem>
</varlistentry>
......@@ -1021,18 +1016,17 @@ All of PostgreSQL is successfully made. Ready to install.
</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
the installation probably failed. In that case you should become
the root user and then do
<screen>
<userinput>gmake -C src/interfaces/perl5 install</userinput>
<userinput>gmake -C src/interfaces/python install</userinput>
</screen>
If you do not have superuser
access you are on your own: you can still take the required files
and place them in other directories where Perl or Python can find
them, but how to do that is left as an exercise.
If you do not have superuser access you are on your own:
you can still take the required files and place them in
other directories where Python can find them, but how to
do that is left as an exercise.
</para>
<para>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册