|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-19 00:25 UTC] sniper@php.net
[2005-03-19 00:26 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 14:00:01 2025 UTC |
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