From: vogje01 at ca dot com
Operating system: Win2k3
PHP version: 5CVS-2005-03-18 (dev)
PHP Bug Type: Ingres II related
Bug description: Ingres_II config.w32
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 bug report at http://bugs.php.net/?id=32359&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32359&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=32359&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=32359&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32359&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32359&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32359&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32359&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32359&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32359&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32359&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=32359&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=32359&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32359&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32359&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32359&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32359&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32359&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32359&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32359&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32359&r=mysqlcfg