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
 [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: Mon May 20 08:01:26 2019 UTC