in reply to Re: DBI Compile Under Win32 Perl 5.005_03
in thread DBI Compile Under Win32 Perl 5.005_03

Color me stupid. 5.5.x == 5.005_03? Damn version strings are evil to this day.

The main reason I'm shooting for 5.005_3 is that all of the FreeBSD 4.x boxen have that in the stock OS, with no real need to upgrade to 5.6.1 in most cases. Worst case I'll just wait to test under 5.005 on those things later.

I have however, had a few other thoughts.

DBI.xs(51) : warning C4273: 'getpid' : inconsistent dll linkage. dlle +xport assumed. DBI.xs(66) : error C2951: template declarations are only permitted at +global or namespace scope

The first line of trouble would seem to indicate a mismatch in the linker even though I'm using the same make/linker used to make the version of perl. Makebe my C++ install is too new (Service Packe 6) and therehave been linker changes mucking the works. It might be worth a shot of simply compiling the ActiveState 5.005 sources on my machine and go from there.

I also stumbled across some mention of templates and namespace issue while compiling modules on win32, but I'll be darned if I can find that now.

Replies are listed 'Best First'.
Re^3: DBI Compile Under Win32 Perl 5.005_03
by jk2addict (Chaplain) on Aug 23, 2004 at 20:32 UTC

    Just as an update. I compiled a fresh copy of perl 5.005 and compiling modules against that version were still unhappy.

    Even if I went with the lower version of DBI, Class::DBI still needed Storable > 2.04, which wouldn't compile either, and the ActiveState ppm version was < 1.0. No love there.