Compile plPython for Python 3.2
От | Marios Vodas |
---|---|
Тема | Compile plPython for Python 3.2 |
Дата | |
Msg-id | BANLkTinGcUWeTVJ5hiGwZwPhN0+Xjc4Zcg@mail.gmail.com обсуждение исходный текст |
Список | 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 <a href="http://python.org">python.org</a><br />I get this error:<br /><br style="font-family:courier new,monospace;" /><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">"C:\Users\user\Desktop\postgresql-9.0.4\pgsql.sln"(default target) (1) -></span><br style="font-family:courier new,monospace;" /><span style="font-family: courier new,monospace;">(PLs\plpython target) -></span><brstyle="font-family: courier new,monospace;" /><span style="font-family: courier new,monospace;"> .\src\pl\plpython\plpython.c(3210):error C2201: 'PyInit_plpy' : must have ex</span><br style="font-family: courier new,monospace;"/><span style="font-family: courier new,monospace;">ternal linkage in order to be exported/imported</span><brstyle="font-family: courier new,monospace;" /><br style="font-family: courier new,monospace;"/><br style="font-family: courier new,monospace;" /><span style="font-family: courier new,monospace;">"C:\Users\user\Desktop\postgresql-9.0.4\pgsql.sln"(default target) (1) -></span><br style="font-family:courier new,monospace;" /><span style="font-family: courier new,monospace;">(interfaces\ecpg target) -></span><brstyle="font-family: courier new,monospace;" /><span style="font-family: courier new,monospace;"> Project: error PRJ0019: A tool returned an error code from "Running bison on</span><br style="font-family: courier new,monospace;"/><span style="font-family: courier new,monospace;"> src\interfaces\ecpg\preproc\preproc.y"</span><br /></div><br/>How can I fix this?<br /><br />
В списке pgsql-hackers по дате отправления: