Thread: BUG #1095: make can't find plperl

BUG #1095: make can't find plperl

From
"PostgreSQL Bugs List"
Date:
The following bug has been logged online:

Bug reference:      1095
Logged by:          Costin

Email address:      siderite@go.ro

PostgreSQL version: 7.4

Operating system:   Slackware Linux 9.1

Description:        make can't find plperl

Details:

  I am trying to configure PostgreSQL 7.4.2 with Perl 5.8.3 or 5.9.0. I
compiled both versions of Perl, with shared libraries and with no shared
libraries. Then I 'configure'd postgres with '--with-perl' with no error.
  Every time I run 'make', though, I get an error that it does not find
/pl/plperl. The problem is described by only one person I could find at url:
http://archives.postgresql.org/pgsql-bugs/2003-09/msg00184.php.
   What do I do? please reply, I feel that I've tried everything but
manually reprogramming perl and postgres!

Re: BUG #1095: make can't find plperl

From
Tom Lane
Date:
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
>   I am trying to configure PostgreSQL 7.4.2 with Perl 5.8.3 or 5.9.0. I
> compiled both versions of Perl, with shared libraries and with no shared
> libraries. Then I 'configure'd postgres with '--with-perl' with no error.
>   Every time I run 'make', though, I get an error that it does not find
> /pl/plperl. The problem is described by only one person I could find at url:
> http://archives.postgresql.org/pgsql-bugs/2003-09/msg00184.php.

I think this is likely to be the result if you download only the "base"
tarfile and then try to configure options that aren't in the base.

It might be a good idea to improve the configure script to complain if
the optional sources aren't present and you request building them.

            regards, tom lane