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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: marco-glatz at web dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC