Subject: | Can't build DBD::ODBC v1.15 |
Downloaded and installed StrawberryPerl 5.10.0 from:
http://strawberryperl.com/download/strawberry-perl-5.10.0-final.exe
Tried to install the DBD::ODBC module from CPAN and it failed. It looks
to me like the triggering error is:
In file included from ODBC.xs:1:
ODBC.h:13:61: DBIXS.h: No such file or directory
Digging deeper, it seems that the DBIXS.h file does exist within the
strawberry perl tree:
C:\>dir /s/b c:\strawberry\DBIXS.h
c:\strawberry\perl\site\lib\auto\DBI\DBIXS.h
However it doesn't seem like this directory is part of the normal
include search path:
C:\>echo %INCLUDE%
C:\Program Files\Microsoft Visual
Studio.NET\FrameworkSDK\include\;C:\strawberry\c\include;C:\strawberry\perl\lib\CORE
Nor was it specifically mentioned (via -I) in the compile args:
gcc -c -IC:\strawberry\c\include -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\"
"-IC:\strawberry\perl\lib\CORE" -DWITH_UNICODE ODBC.c
Per ADAMK in http://rt.cpan.org/Public/Bug/Display.html?id=32789:
The DBI-specific path will of course not be included in the INCLUDE
paths, as it is only needed for this specific case.
This is not as bug in Strawberry Perl, it is a bug in the Makefile.PL
for DBD::ODBC, not looking for the .h file in a typical location.
----
Let me know if you need any additional info.
--Joe
Subject: | DBD-ODBC-1.15-build.log |
Message body not shown because it is not plain text.