Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^12: Strawberry Perl 64bit on Win7 crashes on DBI-function

by mje (Curate)
on Apr 24, 2014 at 13:35 UTC ( [id://1083590]=note: print w/replies, xml ) Need Help??


in reply to Re^11: Strawberry Perl 64bit on Win7 crashes on DBI-function
in thread Strawberry Perl 64bit on Win7 crashes on DBI-function

You can ignore those. Could I email you a new DBD::ODBC package to try? If so msg me your email address.

  • Comment on Re^12: Strawberry Perl 64bit on Win7 crashes on DBI-function

Replies are listed 'Best First'.
Re^13: Strawberry Perl 64bit on Win7 crashes on DBI-function
by theman824 (Novice) on Apr 25, 2014 at 08:09 UTC
    Ok. Thank you, I got the new version. I did the "perl Makefile.PL" and the "dmake" for the "DBD-ODBC-1.49_1". Then i ran
    perl -Ic:\C:\strawberry\DBD-ODBC-1.49_1\blib\lib -IC:\strawberry\DBD-O +DBC-1.49_1\blib\arch -le "use DBI; DBI->data_sources('O DBC');"
    but it complained about the higher version "1.49_1":
    install_driver(ODBC) failed: DBD::ODBC object version 1.49_1 does not +match bootstrap parameter 1.48 at C:/strawberry/perl/lib/DynaLoader.p +m line 213. Compilation failed in require at (eval 4) line 3. at -e line 1.

      "-Ic:\C:\strawberry\DBD-ODBC-1.49_1\blib\lib" looks wrong. It shouldn't be "c:\C" as it does not match the other path on the cmd line.

        Oh, I'm so sorry. You're right, how did i miss that. With that corrected it now runs through without crashing! Looks great. Will test further.
      The output of the dmake was:
      C:\strawberry\DBD-ODBC-1.49_1>dmake Skip blib\lib\DBD\ODBC.pm (unchanged) gcc -c -IC:\strawberry\perl\site\lib\auto\DBI -IC:\strawberry\perl\si +te\lib\auto\DBI -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMO +DE_SCRIPTS -DPER L_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasi +ng -mms-bitfields -s -O2 -DVERSION=\"1.49_1\" -DXS_VERSION=\"1.49 +_1\" "-IC:\stra wberry\perl\lib\CORE" -DWITH_UNICODE -D_CRT_SECURE_NO_DEPRECATE Conve +rtUTF.c gcc -c -IC:\strawberry\perl\site\lib\auto\DBI -IC:\strawberry\perl\si +te\lib\auto\DBI -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMO +DE_SCRIPTS -DPER L_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasi +ng -mms-bitfields -s -O2 -DVERSION=\"1.49_1\" -DXS_VERSION=\"1.49 +_1\" "-IC:\stra wberry\perl\lib\CORE" -DWITH_UNICODE -D_CRT_SECURE_NO_DEPRECATE ODBC. +c gcc -c -IC:\strawberry\perl\site\lib\auto\DBI -IC:\strawberry\perl\si +te\lib\auto\DBI -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMO +DE_SCRIPTS -DPER L_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasi +ng -mms-bitfields -s -O2 -DVERSION=\"1.49_1\" -DXS_VERSION=\"1.49 +_1\" "-IC:\stra wberry\perl\lib\CORE" -DWITH_UNICODE -D_CRT_SECURE_NO_DEPRECATE dbdim +p.c dbdimp.c: In function 'odbc_db_STORE_attrib': dbdimp.c:4677:22: warning: cast to pointer from integer of different s +ize [-Wint-to-pointer-cast] dbdimp.c:4679:22: warning: cast to pointer from integer of different s +ize [-Wint-to-pointer-cast] dbdimp.c:4937:18: warning: cast to pointer from integer of different s +ize [-Wint-to-pointer-cast] dbdimp.c:4942:18: warning: cast to pointer from integer of different s +ize [-Wint-to-pointer-cast] dbdimp.c:4962:27: warning: cast to pointer from integer of different s +ize [-Wint-to-pointer-cast] gcc -c -IC:\strawberry\perl\site\lib\auto\DBI -IC:\strawberry\perl\si +te\lib\auto\DBI -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMO +DE_SCRIPTS -DPER L_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasi +ng -mms-bitfields -s -O2 -DVERSION=\"1.49_1\" -DXS_VERSION=\"1.49 +_1\" "-IC:\stra wberry\perl\lib\CORE" -DWITH_UNICODE -D_CRT_SECURE_NO_DEPRECATE unico +de_helper.c Running Mkbootstrap for DBD::ODBC () C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 OD +BC.bs dlltool --def ODBC.def --output-exp dll.exp g++ -o blib\arch\auto\DBD\ODBC\ODBC.dll -Wl,--base-file -Wl,dll.base - +mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Conve +rtUTF.o ODB C.o dbdimp.o unicode_helper.o C:\strawberry\perl\lib\CORE +\libperl518.a C:\strawberry\c\x86_64-w64-mingw32\lib\libmoldname.a C: +\strawberry\c\x8 6_64-w64-mingw32\lib\libkernel32.a C:\strawberry\c\x86_64-w64-mingw32\ +lib\libuser32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libgdi32.a C:\ +strawberry\c\x86 _64-w64-mingw32\lib\libwinspool.a C:\strawberry\c\x86_64-w64-mingw32\l +ib\libcomdlg32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libadvapi32.a + C:\strawberry\c \x86_64-w64-mingw32\lib\libshell32.a C:\strawberry\c\x86_64-w64-mingw3 +2\lib\libole32.a C:\strawberry\c\x86_64-w64-mingw32\lib\liboleaut32.a + C:\strawberry\c \x86_64-w64-mingw32\lib\libnetapi32.a C:\strawberry\c\x86_64-w64-mingw +32\lib\libuuid.a C:\strawberry\c\x86_64-w64-mingw32\lib\libws2_32.a C +:\strawberry\c\x 86_64-w64-mingw32\lib\libmpr.a C:\strawberry\c\x86_64-w64-mingw32\lib\ +libwinmm.a C:\strawberry\c\x86_64-w64-mingw32\lib\libversion.a C:\str +awberry\c\x86_64 -w64-mingw32\lib\libodbc32.a C:\strawberry\c\x86_64-w64-mingw32\lib\li +bodbccp32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libcomctl32.a dll. +exp dlltool --def ODBC.def --base-file dll.base --output-exp dll.exp g++ -o blib\arch\auto\DBD\ODBC\ODBC.dll -mdll -s -L"C:\strawberry\perl +\lib\CORE" -L"C:\strawberry\c\lib" ConvertUTF.o ODBC.o dbdimp.o + unicode_hel per.o C:\strawberry\perl\lib\CORE\libperl518.a C:\strawberry\c\x86_6 +4-w64-mingw32\lib\libmoldname.a C:\strawberry\c\x86_64-w64-mingw32\li +b\libkernel32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libuser32.a C:\strawberry\c\x86 +_64-w64-mingw32\lib\libgdi32.a C:\strawberry\c\x86_64-w64-mingw32\lib +\libwinspool.a C :\strawberry\c\x86_64-w64-mingw32\lib\libcomdlg32.a C:\strawberry\c\x8 +6_64-w64-mingw32\lib\libadvapi32.a C:\strawberry\c\x86_64-w64-mingw32 +\lib\libshell32. a C:\strawberry\c\x86_64-w64-mingw32\lib\libole32.a C:\strawberry\c\x8 +6_64-w64-mingw32\lib\liboleaut32.a C:\strawberry\c\x86_64-w64-mingw32 +\lib\libnetapi32 .a C:\strawberry\c\x86_64-w64-mingw32\lib\libuuid.a C:\strawberry\c\x8 +6_64-w64-mingw32\lib\libws2_32.a C:\strawberry\c\x86_64-w64-mingw32\l +ib\libmpr.a C:\s trawberry\c\x86_64-w64-mingw32\lib\libwinmm.a C:\strawberry\c\x86_64-w +64-mingw32\lib\libversion.a C:\strawberry\c\x86_64-w64-mingw32\lib\li +bodbc32.a C:\str awberry\c\x86_64-w64-mingw32\lib\libodbccp32.a C:\strawberry\c\x86_64- +w64-mingw32\lib\libcomctl32.a dll.exp C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 755 bl +ib\arch\auto\DBD\ODBC\ODBC.dll C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- ODBC.bs b +lib\arch\auto\DBD\ODBC\ODBC.bs C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 bl +ib\arch\auto\DBD\ODBC\ODBC.bs

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1083590]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-16 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found