Wed May 16 20:16:10 2018: Request 120939 was acted upon.
Transaction: Correspondence added by SISYPHUS
       Queue: Win32-ODBC
     Subject: Build fails on Strawberry Perl 5.24.1.1 (64bit) Windows 10
   Broken in: 0.035
    Severity: (no value)
       Owner: Nobody
  Requestors: ja...@froebe.net
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=120939 >


On Wed May 16 18:11:31 2018, RAVENHALL wrote:
> I have the same problem on Strawberry Perl 5.24.4_64. This is a very
> widely used module, please address this with a fix.

I believe the source files are C++ (hence the "cpp" and "hpp" extensions), yet 
you are using gcc as the compiler.
Try using g++ instead, by running:

cpanm Win32::ODBC --configure-args="CC=g++"

and check the build log to verify that g++ does, in fact, get used instead of 
gcc.

I've not ever built or used Win32::ODBC, so I don't know if there are any other 
issues with building it on Strawberry Perl, but I do know that compiling C++ 
source with gcc is likely to not work.

ActiveState might provide ppm packages of Win32::ODBC. I think they would work 
fine on Strawberry Perl ... but this would be a workaround, not a solution.

Cheers,
Rob

Reply via email to