Skip Menu |

This queue is for tickets about the Win32-ODBC CPAN distribution.

Report information
The Basics
Id: 50450
Status: open
Priority: 0/
Queue: Win32-ODBC

People
Owner: Nobody in particular
Requestors: szong [...] hydeparkglobal.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Report a bug in Win32-ODBC
Date: Tue, 13 Oct 2009 10:57:36 -0400
To: <bug-Win32-ODBC [...] rt.cpan.org>
From: "Shawn Zong" <szong [...] hydeparkglobal.com>
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. Thanks, Shawn
Subject: Re: [rt.cpan.org #50450] Report a bug in Win32-ODBC
Date: Thu, 15 Oct 2009 00:10:55 +1100
To: <bug-Win32-ODBC [...] rt.cpan.org>, <libwin32 [...] perl.org>
From: "Sisyphus" <sisyphus1 [...] optusnet.com.au>
Show quoted text
----- Original Message ----- From: "Shawn Zong via RT" <bug-Win32-ODBC@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 szong@hydeparkglobal.com > Queue: Win32-ODBC > Subject: Report a bug in Win32-ODBC > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: szong@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
Subject: RE: [rt.cpan.org #50450] Report a bug in Win32-ODBC
Date: Wed, 14 Oct 2009 10:08:46 -0400
To: <bug-Win32-ODBC [...] rt.cpan.org>
From: "Shawn Zong" <szong [...] hydeparkglobal.com>
I was installing Win32:ODBC module on latest cgywin 1.5.25-15, following the routine install procedure, i.e. 1 perl makefile.pl + 3 makes. The make process failed. Please let me know if you need more information. Thanks. Shawn Show quoted text
> 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:
Show quoted text
> Cheers, > Rob

Message body is not shown because sender requested not to inline it.

CC: libwin32 [...] perl.org
Subject: Re: [rt.cpan.org #50450] Report a bug in Win32-ODBC
Date: Wed, 14 Oct 2009 23:07:09 +0200
To: bug-Win32-ODBC [...] rt.cpan.org
From: Reini Urban <rurban [...] x-ray.at>
2009/10/14 Shawn Zong via RT <bug-Win32-ODBC@rt.cpan.org>: Show quoted text
> Wed Oct 14 10:09:09 2009: Request 50450 was acted upon. > Transaction: Correspondence added by szong@hydeparkglobal.com >       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: szong@hydeparkglobal.com >      Status: open >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=50450 > > > > I was installing Win32:ODBC module on latest cgywin 1.5.25-15, following the routine install procedure, i.e. 1 perl makefile.pl + 3 makes. The make process failed. > > Please let me know if you need more information.
You miss libODBC. I'll propose such a package to cygwin, I've forgot it. You can also use the official pre.packaged perl-libwin32 package. It's linked statically -- Reini Urban http://phpwiki.org/ http://murbreak.at/
Subject: RE: [rt.cpan.org #50450] Report a bug in Win32-ODBC
Date: Wed, 14 Oct 2009 14:28:15 -0700
To: <bug-Win32-ODBC [...] rt.cpan.org>
From: "Jan Dubois" <jand [...] activestate.com>
On Wed, 14 Oct 2009, Reini Urban via RT wrote: Show quoted text
> Queue: Win32-ODBC > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=50450 > > > You miss libODBC. I'll propose such a package to cygwin, I've forgot it. > You can also use the official pre.packaged perl-libwin32 package. It's > linked statically.
I remember that I once tried to build Win32-ODBC on Cygwin before making a release to CPAN, and did not succeed. I found some old message from you on the Cygwin mailing list about patching some ODBC library and then installing it, but it didn't really work out and I gave up. So it would be good to have a libODBC for Cygwin that you could install with the regular Cygwin installer (it doesn't exist yet AFAICT). Then the Win32-ODBC Makefile.PL could probe for it and give a meaningful error message when it can't find it. Patches welcome! :) Cheers, -Jan
Subject: RE: [rt.cpan.org #50450] Report a bug in Win32-ODBC
Date: Wed, 14 Oct 2009 18:22:54 -0400
To: <bug-Win32-ODBC [...] rt.cpan.org>
From: "Shawn Zong" <szong [...] hydeparkglobal.com>

Message body is not shown because it is too large.

Subject: RE: [rt.cpan.org #50450] Report a bug in Win32-ODBC
Date: Wed, 14 Oct 2009 15:36:32 -0700
To: <bug-Win32-ODBC [...] rt.cpan.org>
From: "Jan Dubois" <jand [...] activestate.com>
On Wed, 14 Oct 2009, Shawn Zong via RT wrote: Show quoted text
> > Queue: Win32-ODBC > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=50450 > >
> > You miss libODBC. I'll propose such a package to cygwin, I've forgot it. > > You can also use the official pre.packaged perl-libwin32 package. It's > > linked statically
> > Could you explain how to use perl-libwin32 package in detail? Is it > Bundle::libwin32 module? Somewhat I still could get it built right.
You can install perl-libwin32 with the standard setup.exe installer for Cygwin, so you don't need to compile it yourself at all. perl-libwin32 contains a number of the Win32::* modules, including Win32::ODBC all already compiled for Cygwin Perl. Cheers, -Jan