PATCH: Compiling PostgreSQL using ActiveState Python 3.2
Ashesh Vashi <ashesh.vashi@enterprisedb.com>
From: Ashesh Vashi <ashesh.vashi@enterprisedb.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2011-08-17T12:58:52Z
Lists: pgsql-hackers
Attachments
- pg9.1beta3_python.patch (application/octet-stream)
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*