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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC