Perl + Python Postgresql 7.1.1 under Cygwin

From: "Ernesto Revilla" <aerd(at)retemail(dot)es>
To: <pgsql-cygwin(at)postgresql(dot)org>, <cygwin(at)sources(dot)redhat(dot)com>
Subject: Perl + Python Postgresql 7.1.1 under Cygwin
Date: 2001-05-10 23:21:07
Message-ID: 000e01c0d9a7$eacd9000$8faaa6d4@k6
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Dear everybody,

I successfully recompiled PostgresSQL unser Cygwin 1.3.1 / NT4+SP4.
Great work, everybody, really amazing.

For the Python interface to compile, I had to add the -DMS_WIN32 in the
Makefile.pre.in . If not a 'not constant type' happens in pgmodule.c line
951. I don't know if there is a better place tu put the def. After this it
compiles and seems to work well. I used Python 2.1.

If the --with-perl is specified for ./configure, then the src/pl/plperl
didn't compile as it cannot find libperl.a which seems not to be part of
Cygwin 1.3.1, also perl5 is installed. So make (dlltool) stops with errors.
Do I need to install the perl sources?

I tried to build also the plpython so I could write my trigger functions in
Python. But the Makefile is not very adapted. I don't know how to call
dlltool, etc. I'll try to copy the tcl one and adapt it. I hope it'll help.

Again, great work and thanks for everybody to make available one of the best
open-source products in the world.

Best regards,
Erny
Spain

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Ernesto Revilla 2001-05-11 01:54:06 PL/Python Postgresql 7.1.1 under Cygwin
Previous Message Richard Church 2001-05-10 20:43:56 Postgres server on Windows 98