Wed Oct 14 09:12:25 2009: Request 50450 was acted upon. Transaction: Correspondence added by sisyph...@optusnet.com.au Queue: Win32-ODBC Subject: Re: [rt.cpan.org #50450] Report a bug in Win32-ODBC Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: sz...@hydeparkglobal.com Status: new Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=50450 >
----- Original Message ----- From: "Shawn Zong via RT" <bug-win32-o...@rt.cpan.org> To: <libwin32@perl.org> Sent: Wednesday, October 14, 2009 1:58 AM Subject: [rt.cpan.org #50450] Report a bug in Win32-ODBC > Tue Oct 13 10:57:59 2009: Request 50450 was acted upon. > Transaction: Ticket created by sz...@hydeparkglobal.com > Queue: Win32-ODBC > Subject: Report a bug in Win32-ODBC > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: sz...@hydeparkglobal.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=50450 > > > > Issues: > > - The README file is misleading. There is no odbc.pll or test.pl > files in the package. > > - The installation instruction is unclear. I follow the routine > installation process from perl Makefile.PL, to make, to make test, and > make > install. The make process failed on Perl V5.10.0 platform. > What compiler and make utility are you using ? I'm using the MinGW port of gcc and dmake, with AS build 1005 (perl-5.10.0) and there's no problem, afaict: ################################# C:\_32\comp\Win32-ODBC-0.034>perl Makefile.PL Set up gcc environment - 3.4.5 (mingw-vista special r3) Checking if your kit is complete... Looks good Writing Makefile for Win32::ODBC C:\_32\comp\Win32-ODBC-0.034>dmake test cp ODBC.pm blib\lib\Win32\ODBC.pm gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_ SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitf ields -O2 -DVERSION=\"0.034\" -DXS_VERSION=\"0.034\" "-IC:\_32\ap1005 \lib\CORE" CMom.cpp In file included from C:/_32/ap1005/lib/CORE/win32thread.h:4, from C:/_32/ap1005/lib/CORE/perl.h:2755, from CMom.cpp:39: C:/_32/ap1005/lib/CORE/win32.h:240:1: warning: "isnan" redefined In file included from CMom.cpp:26: C:/_32/ap1005/site/lib/auto/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu de/math.h:405:1: warning: this is the location of the previous definition gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_ SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitf ields -O2 -DVERSION=\"0.034\" -DXS_VERSION=\"0.034\" "-IC:\_32\ap1005 \lib\CORE" Constant.cpp In file included from C:/_32/ap1005/lib/CORE/win32thread.h:4, from C:/_32/ap1005/lib/CORE/perl.h:2755, from Constant.cpp:38: C:/_32/ap1005/lib/CORE/win32.h:240:1: warning: "isnan" redefined In file included from Constant.cpp:26: C:/_32/ap1005/site/lib/auto/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu de/math.h:405:1: warning: this is the location of the previous definition gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_ SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitf ields -O2 -DVERSION=\"0.034\" -DXS_VERSION=\"0.034\" "-IC:\_32\ap1005 \lib\CORE" CResults.cpp In file included from C:/_32/ap1005/lib/CORE/win32thread.h:4, from C:/_32/ap1005/lib/CORE/perl.h:2755, from CResults.cpp:39: C:/_32/ap1005/lib/CORE/win32.h:240:1: warning: "isnan" redefined In file included from CResults.cpp:26: C:/_32/ap1005/site/lib/auto/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu de/math.h:405:1: warning: this is the location of the previous definition C:\_32\ap1005\bin\perl.exe -IC:\_32\ap1005\lib -IC:\_32\ap1005\lib C:\_32\ap1005 \lib\ExtUtils\xsubpp -typemap C:\_32\ap1005\lib\ExtUtils\typemap ODBC.xs >xstmp .c && C:\_32\ap1005\bin\perl.exe -MExtUtils::Command -e mv xstmp.c ODBC.cpp Didn't find a 'MODULE ... PACKAGE ... PREFIX' line gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_ SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitf ields -O2 -DVERSION=\"0.034\" -DXS_VERSION=\"0.034\" "-IC:\_32\ap1005 \lib\CORE" ODBC.cpp In file included from C:/_32/ap1005/lib/CORE/win32thread.h:4, from C:/_32/ap1005/lib/CORE/perl.h:2755, from ODBC.xs:45: C:/_32/ap1005/lib/CORE/win32.h:240:1: warning: "isnan" redefined In file included from ODBC.xs:28: C:/_32/ap1005/site/lib/auto/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu de/math.h:405:1: warning: this is the location of the previous definition Running Mkbootstrap for Win32::ODBC () C:\_32\ap1005\bin\perl.exe -MExtUtils::Command -e chmod 644 ODBC.bs C:\_32\ap1005\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Win32::ODBC\", 'DLBASE' => 'ODBC', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" Set up gcc environment - 3.4.5 (mingw-vista special r3) dlltool --def ODBC.def --output-exp dll.exp g++ -o blib\arch\auto\Win32\ODBC\ODBC.dll -Wl,--base-file -Wl,dll.base -mdll -L" C:\_32\ap1005\lib\CORE" CMom.o Constant.o CResults.o ODBC.o -Wl,--image-base,0x6 1200000 C:\_32\ap1005\lib\CORE\perl510.lib -lkernel32 -luser32 -lgdi32 -lwinspo ol -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt -lodbccp32 dll.exp dlltool --def ODBC.def --base-file dll.base --output-exp dll.exp g++ -o blib\arch\auto\Win32\ODBC\ODBC.dll -mdll -L"C:\_32\ap1005\lib\CORE" CMom. o Constant.o CResults.o ODBC.o -Wl,--image-base,0x61200000 C:\_32\ap1005\lib\CO RE\perl510.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lsh ell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lod bc32 -lodbccp32 -lmsvcrt -lodbccp32 dll.exp C:\_32\ap1005\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\Win32 \ODBC\ODBC.dll C:\_32\ap1005\bin\perl.exe -MExtUtils::Command -e cp ODBC.bs blib\arch\auto\Win3 2\ODBC\ODBC.bs C:\_32\ap1005\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto\Win32 \ODBC\ODBC.bs 'No tests defined for Win32::ODBC extension.' ################################# Cheers, Rob