Activeperl 5.8 on windows and postgres 8 - Mailing list pgsql-interfaces

From Leon Schmets
Subject Activeperl 5.8 on windows and postgres 8
Date
Msg-id 200502031400.j13E0xDM091172@smtp-vbr13.xs4all.nl
Whole thread Raw
Responses Re: Activeperl 5.8 on windows and postgres 8
List pgsql-interfaces

Hi all,

 

I am in the process of installing SQL-Ledger. I am unfamiliar with Postgres not with Perl.

I downloaded DBD-Pg from http://www.edmund-mergl.de/export/ and found out it doesn’t install on Active perl 5.8.

So I started my search for a solution. On the website of SQL-Ledger it says to uninstall Perl 5.8, install 5.6, install the driver and install Perl 5.8.

No, as I already had quite a setup on my machine, I decided to skip the ppm install and do it myself. So I put the files in place, created the pkg and packlist files and … it almost worked.

The connection to the database fails because it cannot load the pg.dll. Looking into that I found that this dll refers directly to perl56.dll which of course is part of ActivePerl 5.6 which I have not installed. So I patched the dll and again got a little further. No more error messages about failing to load a dll. Now a real connect error pops up, which I have no idea to work at.

 

[Thu Feb 03 14:35:44 2005] [error] [client 127.0.0.1] DBI connect('dbname=template1;host=localhost','sql-ledger',...) failed:

                                                           fe_sendauth: authentication type 5 not supported\r, referer: https://localhost/sql-ledger/admin.pl

 

[Thu Feb 03 14:35:44 2005] [error] [client 127.0.0.1]  at SL/User.pm line 509\r, referer: https://localhost/sql-ledger/admin.pl

 

Any help is appreciated.

 

Thanks,

 

Leon Schmets

pgsql-interfaces by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [ODBC] odbc.sql?
Next
From: Palle Girgensohn
Date:
Subject: Re: [ODBC] odbc.sql?