dbTalk Databases Forums  

[BUGS] rc4, PostgreSQL-installer on WinXP: problems with plpython

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] rc4, PostgreSQL-installer on WinXP: problems with plpython in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Christoph Becker
 
Posts: n/a

Default [BUGS] rc4, PostgreSQL-installer on WinXP: problems with plpython - 01-12-2005 , 04:15 AM






1. Python as PL was greyed out an could not be installed again via the
installer - contrary to rc3, where PL/Python's installation was offered
and did work.

2. When trying to install plpythonu with creatlang, this was not
possible because of something like "error in python.dll: python23.dll
not fount"
On my system python23 was replaced with python24 some days ago.
Only when I copied python23.dll to c:/windows/system32, createlang
did create plpythonu.
It was not sufficient to copy python23.dll to
C:\Programme\PostgreSQL\8.0.0-rc4\lib

If PostgreSQL needs python23.dll, the installer should have it,
should copy it into C:\Programme\PostgreSQL\8.0.0-rc4\lib and
createlang.exe should first search it there.
Other programms as winide, and natlink, which too still use
python23.dll do indeed have there own copy with them and have it in
there own privat lib-directory.

Regards
Christoph Becker





---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Reply With Quote
  #2  
Old   
Magnus Hagander
 
Posts: n/a

Default Re: [BUGS] rc4, PostgreSQL-installer on WinXP: problems with plpython - 01-12-2005 , 05:52 AM






Quote:
1. Python as PL was greyed out an could not be installed=20
again via the installer - contrary to rc3, where PL/Python's=20=20
installation was offered and did work.
This means that you don't have python23.dll on your system.


Quote:
2. When trying to install plpythonu with creatlang, this was=20
not possible because of something like "error in python.dll:=20
python23.dll not fount"
On my system python23 was replaced with python24 some days ago.
Python24 is not currently supported by the binary installer (see the
installation instructions).

Quote:
Only when I copied python23.dll to c:/windows/system32,=20
createlang did create plpythonu.
It was not sufficient to copy python23.dll to=20
C:\Programme\PostgreSQL\8.0.0-rc4\lib
Correct. It might work if you put it in 8.0.0-rc4\bin though. Or add the
directory where it's already in to your PATH.


Quote:
If PostgreSQL needs python23.dll, the installer should=20
have it, should copy it into=20
C:\Programme\PostgreSQL\8.0.0-rc4\lib and createlang.exe=20
should first search it there.
I *think* we require a full python installation, not just the DLL file.
I'm not 100% sure on that. It currently supports Python23, which is also
in the installation instructions. If someone can confirm that we need
only the DLL, we can definitly include it in our distribution.
So - can someone who knows enoughh aboyt plpython speak up on that one?

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.