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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
40 - 27 = ?
Subscribe to this entry?

 
 [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: Fri Apr 19 19:01:28 2024 UTC