Greg Sabino Mullane wrote:
Bingo, adding -lsecur32 to the libs directive in Makefile.PL
fixes the problem.
Great. Is that something we should commit to that file? If so, just
let me know exactly what and where.
Sure, looks like you've already got a mechanism setup for appending to the LIBS
key in the opts hash based on OS.
Changing
$opts{LIBS}[0] .= " -L$msdir";
to
$opts{LIBS}[0] .= " -L$msdir -lsecur32";
Should do the trick.
Anyways, managed to get 2.8.7 compiled and up. Also, got the easy
urls working, too.
So, to install, choose one of:
ppm install http://dbdpgppm.projects.postgresql.org/DBD-Pg-5.10.ppd
ppm install http://dbdpgppm.projects.postgresql.org/DBD-Pg-5.10s.ppd
ppm install http://dbdpgppm.projects.postgresql.org/DBD-Pg-5.8.ppd
ppm install http://dbdpgppm.projects.postgresql.org/DBD-Pg-5.8s.ppd
ppm install http://dbdpgppm.projects.postgresql.org/DBD-Pg-5.6.ppd
ppm install http://dbdpgppm.projects.postgresql.org/DBD-Pg-5.6s.ppd
Also, the following files may be needed:
http://dbdpgppm.projects.postgresql.org/msvcr80.zip
http://dbdpgppm.projects.postgresql.org/openssl.zip
Excellent, thanks, I'll try to find a Windows box to try them out. I see the
version name is now in the file name, +1. Maybe we could make the name
a little longer and indicate that the second half is the Perl version?
DBD-Pg-2.8.7-Perl5.10.ppd
I'll make the change for 2.8.8 onward. :)
And perhaps label things better so that it's clear that it's ordered by
Perl version on the page? I realize we might have to fight against the
limitations of pgfoundry.org on some of that. If so, let me know, I've got
access to that code as well. :)
It seems to organize it based on upload order. I'll be sure to upload
everything related to 5.6 first, 5.8 second, 5.10 third :)
Thanks for your work on this, it is greatly appreciated. We should think
about getting this into the ActiveState and stackbuilder repos as well
If you know an easy way to get that done let me know :)
T.J.