Hello,

I can't install the DBD::Pg module on my 64 bit windows 10 laptop.

the messages at the end of the attempt were

        cl -c  -I"C:/PROGRA~1/POSTGR~1/12/include" -IC:\Perl64\lib\auto\DBI
 -nologo -GF -W3 -MD -Zi -DNDEBUG -Ox -GL -fp:pre
cise -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE
-DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEX
T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPGLIBVERSION=120001 -DPGDEFPORT=5432
-MD -Zi -DNDEBUG -Ox -GL -fp:precise    -DVERSION=\
"3.10.2\"  -DXS_VERSION=\"3.10.2\"  "-IC:\Perl64\lib\CORE"   Pg.c
Pg.c
c:\perl64\lib\core\win32.h(218): warning C4005: 'isnan': macro redefinition
C:\Program Files (x86)\Windows
Kits\10\include\10.0.17763.0\ucrt\corecrt_math.h(276): note: see previous
definition of 'isnan
'
C:\Perl64\lib\auto\DBI\Driver_xst.h(70): warning C4996: 'sprintf': This
function or variable may be unsafe. Consider using sp
rintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
C:\Program Files (x86)\Windows
Kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: see declaration of
'sprintf'
C:\Perl64\lib\auto\DBI\Driver_xst.h(110): warning C4244: 'function':
conversion from 'IV' to 'I32', possible loss of data
C:\Perl64\lib\auto\DBI\Driver_xst.h(114): warning C4244: 'function':
conversion from '__int64' to 'I32', possible loss of dat
a
C:\Perl64\lib\auto\DBI\Driver_xst.h(97): warning C4996: 'sprintf': This
function or variable may be unsafe. Consider using sp
rintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
C:\Program Files (x86)\Windows
Kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: see declaration of
'sprintf'
./Pg.xsi(210): warning C4244: 'initializing': conversion from '__int64' to
'int', possible loss of data
./Pg.xsi(642): warning C4244: 'initializing': conversion from '__int64' to
'int', possible loss of data
Pg.xs(259): warning C4244: 'function': conversion from 'IV' to 'int',
possible loss of data
Pg.xs(267): warning C4244: 'function': conversion from 'IV' to 'int',
possible loss of data
Pg.xs(270): warning C4244: 'function': conversion from 'IV' to 'int',
possible loss of data
Pg.xs(805): warning C4244: 'function': conversion from 'IV' to 'int',
possible loss of data
Pg.c(3242): error C2129: static function 'int *_errno(void)' declared but
not defined
C:\Program Files (x86)\Windows
Kits\10\include\10.0.17763.0\ucrt\errno.h(19): note: see declaration of
'_errno'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Host
X86\x86\cl.EXE"' : return code '0x2'
Stop.
  TURNSTEP/DBD-Pg-3.10.2.tar.gz

C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\HostX86\x86\nmake.exe
-- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

Reply via email to