PATCH: Compiling PostgreSQL using ActiveState Python 3.2

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: PATCH: Compiling PostgreSQL using ActiveState Python 3.2
Date: 2011-08-17 12:58:52
Message-ID: CAG7mmoxa42WF=m5GS_tx7eNYL8_n_nUV4kt30=NvPooBEAq3Qw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I am trying to build PostgreSQL 9.1beta3 using the ActiveState Python 3.2.
It did not compile successfully.

When I tried to figure out the exact reason for the failure, I found that:
1. 'python_configdir' variable is hardcoded, instead it should use the
configuration 'LIBPL'.
2. 'plpython' is trying get linked using '-lpython${*python_version*}', but
it should be '-lpython${*python_ldversion*}'.

Please find the attached patch, which resolve the issue on my side.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company<http://www.enterprisedb.com>

*http://www.linkedin.com/in/asheshvashi*

Attachment Content-Type Size
pg9.1beta3_python.patch application/octet-stream 3.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2011-08-17 13:00:36 rc1 or beta4?
Previous Message PostgreSQL - Hans-Jürgen Schönig 2011-08-17 12:44:00 Re: Caching Python modules