Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
53f09657
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
53f09657
编写于
5月 05, 2015
作者:
P
Peter Eisentraut
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
doc: Update installation instructions for new shared libperl/libpython handling
上级
3b6db1f4
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
19 addition
and
42 deletion
+19
-42
doc/src/sgml/installation.sgml
doc/src/sgml/installation.sgml
+19
-42
未找到文件。
doc/src/sgml/installation.sgml
浏览文件 @
53f09657
...
@@ -169,32 +169,22 @@ su - postgres
...
@@ -169,32 +169,22 @@ su - postgres
also
on
most
platforms
.
This
appears
to
be
the
default
in
also
on
most
platforms
.
This
appears
to
be
the
default
in
recent
<
productname
>
Perl
</
productname
>
versions
,
but
it
was
not
recent
<
productname
>
Perl
</
productname
>
versions
,
but
it
was
not
in
earlier
versions
,
and
in
any
case
it
is
the
choice
of
whomever
in
earlier
versions
,
and
in
any
case
it
is
the
choice
of
whomever
installed
Perl
at
your
site
.
installed
Perl
at
your
site
.
<
filename
>
configure
</
filename
>
will
fail
if
building
<
application
>
PL
/
Perl
</
application
>
is
selected
but
it
cannot
find
a
shared
<
filename
>
libperl
</
filename
>.
In
that
case
,
you
will
have
to
rebuild
and
install
<
productname
>
Perl
</
productname
>
manually
to
be
able
to
build
<
application
>
PL
/
Perl
</
application
>.
During
the
configuration
process
for
<
productname
>
Perl
</
productname
>,
request
a
shared
library
.
</
para
>
<
para
>
If
you
intend
to
make
more
than
incidental
use
of
If
you
intend
to
make
more
than
incidental
use
of
<
application
>
PL
/
Perl
</
application
>,
you
should
ensure
that
the
<
application
>
PL
/
Perl
</
application
>,
you
should
ensure
that
the
<
productname
>
Perl
</
productname
>
installation
was
built
with
the
<
productname
>
Perl
</
productname
>
installation
was
built
with
the
<
literal
>
usemultiplicity
</>
option
enabled
(<
literal
>
perl
-
V
</>
<
literal
>
usemultiplicity
</>
option
enabled
(<
literal
>
perl
-
V
</>
will
show
whether
this
is
the
case
).
will
show
whether
this
is
the
case
).
</
para
>
</
para
>
<
para
>
If
you
don
't have the shared library but you need one, a message
like this will appear during the <productname>PostgreSQL</>
build to point out this fact:
<screen>
*** Cannot build PL/Perl because libperl is not a shared library.
*** You might have to rebuild your Perl installation. Refer to
*** the documentation for details.
</screen>
(If you don'
t
follow
the
on
-
screen
output
you
will
merely
notice
that
the
<
application
>
PL
/
Perl
</
application
>
library
object
,
<
filename
>
plperl
.
so
</
filename
>
or
similar
,
will
not
be
installed
.)
If
you
see
this
,
you
will
have
to
rebuild
and
install
<
productname
>
Perl
</
productname
>
manually
to
be
able
to
build
<
application
>
PL
/
Perl
</
application
>.
During
the
configuration
process
for
<
productname
>
Perl
</
productname
>,
request
a
shared
library
.
</
para
>
</
listitem
>
</
listitem
>
<
listitem
>
<
listitem
>
...
@@ -220,28 +210,15 @@ su - postgres
...
@@ -220,28 +210,15 @@ su - postgres
library, the <indexterm><primary>libpython</primary></indexterm>
library, the <indexterm><primary>libpython</primary></indexterm>
<filename>libpython</filename> library must be a shared library
<filename>libpython</filename> library must be a shared library
also on most platforms. This is not the case in a default
also on most platforms. This is not the case in a default
<productname>Python</productname> installation. If after
<productname>Python</productname> installation built from source, but a
building and installing <productname>PostgreSQL</> you have a file called
shared library is available in many operating system
<filename>plpython.so</filename> (possibly a different
distributions. <filename>configure</filename> will fail if
extension), then everything went well. Otherwise you should
building <application>PL/Python</application> is selected but it cannot
have seen a notice like this flying by:
find a shared <filename>libpython</filename>. That might mean that you
<screen>
either have to install additional packages or rebuild (part of) your
*** Cannot build PL/Python because libpython is not a shared library.
<productname>Python</productname> installation to provide this shared
*** You might have to rebuild your Python installation. Refer to
library. When building from source, run <productname>Python</>'
s
*** the documentation for details.
configure
with
the
<
literal
>--
enable
-
shared
</>
flag
.
</screen>
That means you have to rebuild (part of) your
<productname>Python</productname> installation to create this
shared library.
</para>
<para>
If you have problems, run <productname>Python</> 2.3 or later'
s
configure
using
the
<
literal
>--
enable
-
shared
</>
flag
.
On
some
operating
systems
you
don
't have to build a shared library, but
you will have to convince the <productname>PostgreSQL</> build
system of this. Consult the <filename>Makefile</filename> in
the <filename>src/pl/plpython</filename> directory for details.
</
para
>
</
para
>
</
listitem
>
</
listitem
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录