php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59799 configure.js doesn't report a dependency that, if missing, will fail the build
Submitted: 2011-06-03 06:24 UTC Modified: 2011-06-03 06:36 UTC
From: rquadling@php.net Assigned:
Status: Not a bug Package: pdo_sqlsrv (PECL)
PHP Version: 5_3 SVN-2011-06-03 (dev) OS: Windows XP SP3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rquadling@php.net
New email:
PHP Version: OS:

 

 [2011-06-03 06:24 UTC] rquadling@php.net
Description:
------------
This extension requires sqlncli.h to be available.

If not, the build fails.

But configure.js doesn't report this dependency.

Adding ...

CHECK_HEADER_ADD_INCLUDE('sqlncli.h', 'CFLAGS_SQLSRV_ODBC');

to config.w32 will provide the necessary warning during the 
configuration process and not halt the build.

This applies to both sqlsrv and pdo_sqlsrv



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-03 06:36 UTC] RQuadling at GMail dot com
My mistake. sqlncli.h is now shipped with the extension 
source.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri May 24 20:01:29 2019 UTC