Compile plPython for Python 3.2

From: Marios Vodas <mvodas(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Compile plPython for Python 3.2
Date: 2011-05-22 08:39:41
Message-ID: BANLkTinGcUWeTVJ5hiGwZwPhN0+Xjc4Zcg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I am trying to build plPython for Python 3.2 64bit under Windows 7 with
Microsoft Windows SDK v7.0 (all tools are 64bit). I downloaded Python from
python.org
I get this error:

"C:\Users\user\Desktop\postgresql-9.0.4\pgsql.sln" (default target) (1) ->
(PLs\plpython target) ->
.\src\pl\plpython\plpython.c(3210): error C2201: 'PyInit_plpy' : must have
ex
ternal linkage in order to be exported/imported

"C:\Users\user\Desktop\postgresql-9.0.4\pgsql.sln" (default target) (1) ->
(interfaces\ecpg target) ->
Project : error PRJ0019: A tool returned an error code from "Running bison
on
src\interfaces\ecpg\preproc\preproc.y"

How can I fix this?

Browse pgsql-hackers by date

  From Date Subject
Next Message Kohei KaiGai 2011-05-22 09:52:39 sepgsql: fix relkind handling on foreign tables
Previous Message Pavel Stehule 2011-05-22 05:06:04 Re: proposal: enhanced get diagnostics statement