php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35876 error in configure.js
Submitted: 2006-01-03 04:09 UTC Modified: 2006-01-03 08:50 UTC
From: marco-glatz at web dot de Assigned:
Status: Not a bug Package: SQLite related
PHP Version: 5.1.1 OS: windows
Private report: No CVE-ID: None
 [2006-01-03 04:09 UTC] marco-glatz at web dot de
Description:
------------
when building php with "--with-sqlite", there's an error in configure.js:

if (FSO.FileExists(configure_module_dirname + "\\..\\pdo\\php_pdo_driver.h")) {
		PHP_SQLITE2_PDO_CFLAGS = " /DPHP_SQLITE2_HAVE_PDO=1 /I " + configure_module_dirname + "\\..";
		ADD_EXTENSION_DEP('sqlite', 'pdo')
	} else {
		PHP_SQLITE2_PDO_CFLAGS = "";
	}


1. there's no space between /D and PHP_SQLITE2_HAVE_PDO
2. PHP_SQLITE2_HAVE_PDO is always set to 1, even if i haven't set "--enable-pdo" and "--with-dpo-sqlite" and therefore i get a linker-error "unresolved symbol _php_pdo_*"

i modified my configure.js but with no luck, php always wants to build with pdo


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-03 08:50 UTC] sniper@php.net
1.) There doesn't need to be space. If there was, it propably would fail too. 
2.) That's intentional
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Nov 27 19:03:46 2022 UTC