php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74009 PDO_INFORMIX-1.3.2 Build fail on windows [ php 5.6.30 ,VS 2012 ]
Submitted: 2017-01-27 20:55 UTC Modified: 2017-10-24 03:46 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: ronyan at outlook dot com Assigned: vnkbabu (profile)
Status: Assigned Package: PDO_INFORMIX (PECL)
PHP Version: 5.6.30 OS: Windows Server 2012
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ronyan at outlook dot com
New email:
PHP Version: OS:

 

 [2017-01-27 20:55 UTC] ronyan at outlook dot com
Description:
------------
PHP : 5.6.30
Vistual Studio: VS2012 x86 Native Tools Command Prompt
PDO_Informix-1.3.2.tgz
InformixCSDK: informix_clientsdk.4.10.TC5DE.WIN

Build fail with the error:

informix_driver.c
ext\pdo_informix\informix_driver.c(133) : warning C4013: 'stmt_cleanup' undefine
d; assuming extern returning int
ext\pdo_informix\informix_driver.c(372) : error C2065: 'IS_TRUE' : undeclared id
entifier
ext\pdo_informix\informix_driver.c(480) : warning C4018: '<' : signed/unsigned m
ismatch
ext\pdo_informix\informix_driver.c(576) : warning C4028: formal parameter 3 diff
erent from declaration
ext\pdo_informix\informix_driver.c(577) : warning C4028: formal parameter 3 diff
erent from declaration
ext\pdo_informix\informix_driver.c(578) : warning C4028: formal parameter 3 diff
erent from declaration
ext\pdo_informix\informix_driver.c(578) : warning C4028: formal parameter 5 diff
erent from declaration
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
\VC\BIN\cl.exe"' : return code '0x2'
Stop.

Test script:
---------------
configure --disable-zts --enable-pdo --with-pdo-informix="C:\Program Files (x86)\IBM Informix Client SDK",shared

Expected result:
----------------
Build complete with success.


Patches

patch.txt (last revision 2017-01-27 20:57 UTC by ronyan at outlook dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-27 22:25 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: vnkbabu
 [2017-01-27 22:25 UTC] cmb@php.net
There are no DLL's available for 1.3.2 on PECL either.

Assigned to maintainer.
 [2017-02-16 07:04 UTC] vnkbabu@php.net
Corrected the compilation issue and uploaded the version 1.3.3.
Please check.
 [2017-02-23 20:11 UTC] ronyan at outlook dot com
EXT pdo_informix build complete.
But on Phpinfo the module version says "Module release	1.3.2"

Thanks.
 [2017-02-24 06:33 UTC] vnkbabu@php.net
My developer fixed the bug, but looks like he forgot to update the version in the code. Will correct this when we deliver bugs next time to this module.

Sorry for the incontinence.
 [2017-10-24 03:46 UTC] kalle@php.net
-Status: Verified +Status: Assigned
 [2017-10-24 06:18 UTC] vnkbabu@php.net
Hi Kalle,
       I see this defect got re-assigned. Is the mentioned issue in the bug still exists ?
 [2018-07-26 02:56 UTC] ericlim1984 at yahoo dot com
having same issue failed to build ext for PHP 7.2 base on pdo_informix-1.3.3 on windows. Please fix it
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 19:01:32 2024 UTC