Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
53f09657
Commit
53f09657
authored
May 05, 2015
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Update installation instructions for new shared libperl/libpython handling
parent
3b6db1f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
42 deletions
+19
-42
doc/src/sgml/installation.sgml
doc/src/sgml/installation.sgml
+19
-42
No files found.
doc/src/sgml/installation.sgml
View file @
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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment