pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zot O'Connor <zot@zotconsulting.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Building RPMS with plperl (solution)
Date: Tue, 17 Jul 2001 11:25:54 -0700
Message-ID: <3B548332.8879CAD8@zotconsulting.com> (raw)

This is not the right mail list, but I wanted to get it into
google/archives (I will forget what I did in 15 minutes, and I could
find little documentation on this process).

To build the redhat 7.1 plperl rpm, you merely need to 

  rpm -Uvh postgresql-7.1.2-4PGDG.src.rpm

then there should be a command along the lines of

  rpm -bb /usr/src/redhat/SPECS/postgresql.spec --define 'forceplperl 1'

But that failed.

So I hand changed

%{?forceplperl:%define plperl %{expand:forceplperl}}
%{!?forceplperl:%define forceplperl 0}
%{!?plperl:%define plperl 0}

to 

%{!?pltcl:%define pltcl 1}
%{!?forceplperl:%define forceplperl 1}
%{!?plperl:%define plperl 1}

And it built.

Then I loaded it:

rpm -Uvh
/usr/src/redhat/RPMS/i386/postgresql-plperl-7.1.2-4PGDG.i386.rpm


Now to test it :)
-- 
Zot O'Connor

http://www.ZotConsulting.com
http://www.WhiteKnightHackers.com



Message-ID: <3B548332.8879CAD8@zotconsulting.com>
Permalink:  ../3B548332.8879CAD8@zotconsulting.com/
Also on:    postgresql.org/message-id/3B548332.8879CAD8@zotconsulting.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: zot@zotconsulting.com
  Subject: Re: Building RPMS with plperl (solution)
  In-Reply-To: <3B548332.8879CAD8@zotconsulting.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox