Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15643 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52792 invoked by uid 1010); 28 Mar 2005 17:21:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52482 invoked from network); 28 Mar 2005 17:21:05 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 28 Mar 2005 17:21:05 -0000 X-Host-Fingerprint: 130.119.248.68 mail16.ca.com Windows 2000 SP4, XP SP1 Received: from ([130.119.248.68:59273] helo=mail16.ca.com) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 77/81-25368-AFC38424 for ; Mon, 28 Mar 2005 12:21:00 -0500 Received: from ukslms22.ca.com ([130.119.9.26]) by mail16.ca.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 28 Mar 2005 18:20:47 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 28 Mar 2005 18:20:47 +0100 Message-ID: <08237065FA027340B731E57099097854037F2687@ukslms22.ca.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] [PATCH] Bug #32333 - Unable to perform command linebuild with Ingres extension Thread-Index: AcUxqm24qiRQiHCuTUuCCPmA4G3jCgCCnGvA To: X-OriginalArrivalTime: 28 Mar 2005 17:20:47.0686 (UTC) FILETIME=[7B61AE60:01C533BA] Subject: RE: [PHP-DEV] [PATCH] Bug #32333 - Unable to perform command linebuild with Ingres extension From: Grant.Croker@ca.com ("Croker, Grant") looks good. thanks, grant > -----Original Message----- > From: Jani Taskinen [mailto:sniper@iki.fi] > Sent: 26 March 2005 03:20 > To: Croker, Grant > Cc: internals@lists.php.net > Subject: RE: [PHP-DEV] [PATCH] Bug #32333 - Unable to perform command > linebuild with Ingres extension >=20 >=20 > It should work now, please test. >=20 > --Jani >=20 >=20 > On Mon, 21 Mar 2005, Croker, Grant wrote: >=20 > >> Modified patch applied. No need to patch php_ii.h. > >> > >> --Jani > > > > the config.w32 in cvs does not work - running 'cscript /nologo > > configure.js --with-ingres' (after running buildconf) generates the > > following: > > > > > > Checking for iiapi.h ... C:\Ingres[GC]\ingres\files > > Checking for library iilibapi.lib ... > > ..\..\..\..\Ingres[GC]\ingres\lib\iilibapi > > .lib > > C:\src\php\main\php-src\configure.js(986, 3) Microsoft JScript runtime > > error: 'PHP_INGRES_II_SHARED' is undefined > > > > > > the patch at the bottom corrects this, but building PHP fails with: > > > > internal_functions.c > > main\internal_functions.c(54) : error C2065: 'phpext_ingres_ptr' : > > undeclared identifier > > main\internal_functions.c(54) : error C2099: initializer is not a > > constant > > NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' > > Stop. > > > > the php_ingres.h in my original mail fixes this. At the moment the build > > /configure process for windows and UNIX need bringing in to line. Until > > then this kludge is needed. > > > > grant > > > > > > ----start----- > > Index: ext/ingres_ii/config.w32 > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > RCS file: /repository/php-src/ext/ingres_ii/config.w32,v > > retrieving revision 1.1 > > diff -u -b -w -B -d -r1.1 config.w32 > > --- ext/ingres_ii/config.w32 18 Mar 2005 23:24:14 -0000 1.1 > > +++ ext/ingres_ii/config.w32 21 Mar 2005 10:47:18 -0000 > > @@ -13,7 +13,7 @@ > > if (CHECK_HEADER_ADD_INCLUDE("iiapi.h", > > "CFLAGS_INGRES", ii_system + "\\ingres\\files;" + PHP_INGRES) && > > CHECK_LIB("iilibapi.lib", "ingres", > > ii_system + "\\ingres\\lib;" + PHP_INGRES)) { > > AC_DEFINE('HAVE_II', 1); > > - EXTENSION("ingres_ii","ii.c"); > > + EXTENSION("ingres","ii.c"); > > } else { > > // ingres is missing files > > WARNING("Ingres not enabled; libraries > > and headers not found in " + ii_system); > > -------end------- > > > > >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 >=20