From: | "Zot O'Connor" <zot(at)zotconsulting(dot)com> |
---|---|
To: | "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Building RPMS with plperl (solution) |
Date: | 2001-07-17 18:25:54 |
Message-ID: | 3B548332.8879CAD8@zotconsulting.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2001-07-17 18:37:00 | Re: using custom column names in a group by clause |
Previous Message | Kapil Tilwani | 2001-07-17 16:14:40 | Fw: Query Optimisation required |