Perl Win64 DBD-Pg: how is it built?

[email protected] (Bram Stappers) Wed, 21 Oct 2015 10:34:31 +0200
Newsgroups perl.win32.vanilla
Message-ID <CALk-YyVEUVN69dUogO_84MjThNNDxqTmfaXG0cOua5Fr8o3HnA@mail.gmail.com>
--001a1134f85e5b76340522993fb0
Content-Type: text/plain; charset=UTF-8

Hello,

I was wondering how Strawberry Perl compiles DBD-Pg for 64-bit Windows.

In http://strawberryperl.com/release-notes/5.20.3.1-64bit.html I see that
PostgreSQL driver DBD-Pg is included in Strawberry Perl 64bit. I was
wondering how it is done. I did have a look at
https://github.com/StrawberryPerl? in an attempt to discover if anything
special was done, but was unable to find anything.

The reason I am asking this, I am trying to get DBD-Pg and DBD-Firebird to
work on Win64, but have been unsuccessful so far. Of course, my first
mistake is to use ActiveState Perl instead of Strawberry Perl:-). I am
using ActivePerl 5.20.1 Win64, DBI 1.634, Firebird 2.5.4 x64 classic
server, PostgreSQL 9.4.5-1 x64, DBD-Pg 3.5.1. This seems to build fine;
however, when attempting to run the resulting Perl, the application crashes
with a segmentation fault upon loading the driver DLL.

Does anyone have any idea? Note that the 32bit versions of the combination
_does_ work. So, it is something Win64 specific; but not specific to one
particular driver. I have compared the output of 'perl -V' for Strawberry
Perl and ActiveState Perl, but nothing obvious presents itself. So, I am a
bit lost here.

Any suggestions are welcome!

Regards, Bram

--001a1134f85e5b76340522993fb0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:&#39;cou=
rier new&#39;,monospace">Hello,</div><div class=3D"gmail_default" style=3D"=
font-family:&#39;courier new&#39;,monospace"><br></div><div class=3D"gmail_=
default" style=3D"font-family:&#39;courier new&#39;,monospace">I was wonder=
ing how Strawberry Perl compiles DBD-Pg for 64-bit Windows.</div><div class=
=3D"gmail_default" style=3D"font-family:&#39;courier new&#39;,monospace"><b=
r></div><div class=3D"gmail_default" style=3D"font-family:&#39;courier new&=
#39;,monospace">In=C2=A0<a href=3D"http://strawberryperl.com/release-notes/=
5.20.3.1-64bit.html">http://strawberryperl.com/release-notes/5.20.3.1-64bit=
.html</a> I see that PostgreSQL driver DBD-Pg is included in Strawberry Per=
l 64bit. I was wondering how it is done. I did have a look at=C2=A0<a href=
=3D"https://github.com/StrawberryPerl">https://github.com/StrawberryPerl</a=
>? in an attempt to discover if anything special was done, but was unable t=
o find anything.</div><div class=3D"gmail_default" style=3D"font-family:&#3=
9;courier new&#39;,monospace"><br></div><div class=3D"gmail_default" style=
=3D"font-family:&#39;courier new&#39;,monospace">The reason I am asking thi=
s, I am trying to get DBD-Pg and DBD-Firebird to work on Win64, but have be=
en unsuccessful so far. Of course, my first mistake is to use ActiveState P=
erl instead of Strawberry Perl:-). I am using ActivePerl 5.20.1 Win64, DBI =
1.634, Firebird 2.5.4 x64 classic server, PostgreSQL 9.4.5-1 x64, DBD-Pg 3.=
5.1. This seems to build fine; however, when attempting to run the resultin=
g Perl, the application crashes with a segmentation fault upon loading the =
driver DLL.</div><div class=3D"gmail_default" style=3D"font-family:&#39;cou=
rier new&#39;,monospace"><br></div><div class=3D"gmail_default" style=3D"fo=
nt-family:&#39;courier new&#39;,monospace">Does anyone have any idea? Note =
that the 32bit versions of the combination _does_ work. So, it is something=
 Win64 specific; but not specific to one particular driver. I have compared=
 the output of &#39;perl -V&#39; for Strawberry Perl and ActiveState Perl, =
but nothing obvious presents itself. So, I am a bit lost here.</div><div cl=
ass=3D"gmail_default" style=3D"font-family:&#39;courier new&#39;,monospace"=
><br></div><div class=3D"gmail_default" style=3D"font-family:&#39;courier n=
ew&#39;,monospace">Any suggestions are welcome!</div><div class=3D"gmail_de=
fault" style=3D"font-family:&#39;courier new&#39;,monospace"><br></div><div=
 class=3D"gmail_default" style=3D"font-family:&#39;courier new&#39;,monospa=
ce">Regards, Bram</div></div>

--001a1134f85e5b76340522993fb0--