ID: 32359 Updated by: [EMAIL PROTECTED] Reported By: vogje01 at ca dot com -Status: Open +Status: Closed Bug Type: Ingres II related Operating System: Win2k3 PHP Version: 5CVS-2005-03-18 (dev) New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2005-03-18 08:47:18] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32359&edit=1