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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 00:01:29 2024 UTC