php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32359 Ingres_II config.w32
Submitted: 2005-03-18 08:47 UTC Modified: 2005-03-19 00:26 UTC
From: vogje01 at ca dot com Assigned:
Status: Closed Package: Ingres II related
PHP Version: 5CVS-2005-03-18 (dev) OS: Win2k3
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vogje01 at ca dot com
New email:
PHP Version: OS:

 

 [2005-03-18 08:47 UTC] vogje01 at ca dot com
Description:
------------
Hi,
I tried to compile php5-200503170530 with ingres support on Win2k3 using VC7 (.net). All worked fine except that the config.w32 was missing. Using the following:

ARG_WITH("ingres_ii", "Ingres support", "no");

if (PHP_INGRES_II != "no") {
	if (CHECK_LIB("libingres.lib", "ingres_ii", PHP_INGRES_II + "\\ingres\\lib") &&
        CHECK_LIB("iilibapi.lib", "ingres_ii", PHP_INGRES_II + "\\ingres\\lib") &&
			CHECK_HEADER_ADD_INCLUDE("iiapi.h", "CFLAGS_INGRES_II", PHP_INGRES_II + "\\ingres\\files")) {
		EXTENSION("ingres_ii", "ii.c");
		AC_DEFINE('HAVE_II', 1, 'Have Ingres library');
	} else {
		WARNING("Ingres not enabled; libraries and headers not found");
	}
}
 solved the problem. Configure line was:

cscript configure.js --with-ingres_ii="%II_SYSTEM%" --enable-sockets --disable-spl --with-iconv --without-dom --without-xml --without-simplexml --without-wddx --enable-prefix=c:\dev\nsmi\php

I'm testing it now extensively....

Could you please include the config.w32 into the next release?

Best regards
Dr. Jens Vogt

Reproduce code:
---------------
cscript configure.js --with-ingres_ii="%II_SYSTEM%" --enable-sockets --disable-spl --with-iconv --without-dom --without-xml --without-simplexml --without-wddx --enable-prefix=c:\dev\nsmi\php


Expected result:
----------------
Checking for library libingres.lib ... ..\..\Program Files\CA\SharedComponents\Ingres_WV\ingres\lib\libingres.lib
Checking for library iilibapi.lib ... ..\..\Program Files\CA\SharedComponents\Ingres_WV\ingres\lib\iilibapi.lib
Checking for iiapi.h ...  C:\Program Files\CA\SharedComponents\Ingres_WV\ingres\files
Enabling extension ext\ingres_ii

Actual result:
--------------
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Unknown option --with-ingres_ii; please try configure.js --help for a list of valid options


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-19 00:25 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2005-03-19 00:26 UTC] sniper@php.net
..and the option is '--with-ingres' (without the _ii)

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 07:01:28 2025 UTC