Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: jason [...] froebe.net
Cc:
AdminCc:

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



Subject: Build fails on Strawberry Perl 5.24.1.1 (64bit) Windows 10

Message body is not shown because it is too large.

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. This is perl 5, version 24, subversion 4 (v5.24.4) built for MSWin32-x64-multi-thread
Subject: build.log
Download build.log
application/octet-stream 38.3k

Message body not shown because it is not plain text.

On Wed May 16 18:11:31 2018, RAVENHALL wrote: Show quoted text
> 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
On Thu May 17 02:16:10 2018, SISYPHUS wrote: Show quoted text
> cpanm Win32::ODBC --configure-args="CC=g++"
I just tried this and got what looks like the same result: https://gist.github.com/wchristian/9c003bf4c92ceae8cf9bf2e82b2d2b58 I can however note that this only happens under x64 perl, not x86.
Based on some notes by bulk88 i implemented some changes that seem to work under 32 and 64 bit: https://github.com/jandubois/win32-odbc/pull/5