Re: plperl does not build on RH7.1 - Mailing list pgsql-admin

From Tom Lane
Subject Re: plperl does not build on RH7.1
Date
Msg-id 26954.1072047366@sss.pgh.pa.us
Whole thread Raw
In response to plperl does not build on RH7.1  (Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de>)
List pgsql-admin
Stefan Holzheu <stefan.holzheu@bitoek.uni-bayreuth.de> writes:
> In the previous message I have forgotten to give some important information:
> postgresql 7.4
> perl 5.6.1

>> Is there a way to build plperl on RH7.1?

You need this patch:

2003-11-24 08:16  petere

    * configure, configure.in, src/include/pg_config.h.in,
    src/interfaces/ecpg/ecpglib/connect.c,
    src/interfaces/ecpg/ecpglib/misc.c, src/port/thread.c,
    src/tools/thread/thread_test.c: Rename USE_THREADS to
    ENABLE_THREAD_SAFETY to avoid name clash with Perl.  Fixes
    compilation failure with --enable-thread-safety --with-perl and
    Perl 5.6.1.

Or, don't do --enable-thread-safety.

            regards, tom lane

pgsql-admin by date:

Previous
From: Stefan Holzheu
Date:
Subject: plperl does not build on RH7.1
Next
From: Oli Sennhauser
Date:
Subject: CREATE USER system privilege?