Thread: Building 7.1.3 with PL/Perl support on RedHat

Building 7.1.3 with PL/Perl support on RedHat

From
Hans-Jürgen Schönig
Date:
I have compiled PostgreSQL 7.1.3 on RedHat 7.1.
There seems to be a problem with PL/Perl:

make[3]: Entering directory
`/data/download/postgres/postgresql-7.1.3/src/pl/plperl'
make -f Makefile all
make[4]: Entering directory
`/data/download/postgres/postgresql-7.1.3/src/pl/plperl'
*****
* Cannot build PL/Perl because libperl is not a shared library.
* Skipped.
*****
make[4]: Leaving directory
`/data/download/postgres/postgresql-7.1.3/src/pl/plperl'
make[3]: Leaving directory
`/data/download/postgres/postgresql-7.1.3/src/pl/plperl'
make[2]: Leaving directory
`/data/download/postgres/postgresql-7.1.3/src/pl'
make[1]: Leaving directory
`/data/download/postgres/postgresql-7.1.3/src'
All of PostgreSQL successfully made. Ready to install.


I used:
[hs@athlon postgresql-7.1.3]$ ./configure --prefix=/tmp/postgres
--with-perl --with-python --with-tcl --enable-multibyte
--datadir=/tmp/pgdata/
Hans


Re: Building 7.1.3 with PL/Perl support on RedHat

From
Lamar Owen
Date:
On Sunday 19 August 2001 05:40, Hans-Jürgen Schönig wrote:
> I have compiled PostgreSQL 7.1.3 on RedHat 7.1.
> There seems to be a problem with PL/Perl:

The problem is that RedHat's perl installation does not make a 'libperl.so'
with is required for a pl/perl build.  As Karl DeBisschop on the HACKERS list
for a patch to the spec file for the _perl_ package; you'll need to rebuild
it FIRST, then you canbuild pl/perl.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11