There was some progress ...
Went to pgFoundry and downloaded the files under DBD-Pg-2.10.0-Perl5.8 : the .ppd and the .tar.gz
I think they were never really tested with Perl5.8 :
- the .ppd did not work, I had to re-arrange it (removing the <DEPENDENCY name="version" ...> line)
- the package itself did not work either, got at first crashes in Pg.pm because it stated 'use version;' and 'our version = qv(...' and neither are valid in perl 5.8
- after I took these out (not really needed) I got the "install_driver(Pg) failed : Can't load '...Pg.dll' for module DBD::Pg ..." error. After searching for wisdom on this error I found a solution : place all PostgreSQL dlls in the PATH. This indicates to me that the PostgreSQL dlls should be bundled with the DBD::Pg package because I want to run the perl script on a machine that does NOT have PostgreSQL installed but instead connects to a remote DB.
Anyway, after copying the relevant DLLs fron the PostgreSQL machine to the one where I want my perl script to run, I relaunched and ... (here it becomes interesting) ...
it exploded with a Windows error msgbox saying :
"The procedure entry point Perl_sv_2iv_flags could not be located in the dynamic link library perl58.dll"
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.