Hello Anatol, I see. The build of the NuoDB PHP PDO Driver depends on a NuoDB client libraries and header files. Just like the MySQL PHP PDO Driver depends on the MySQL client libraries and header files. Our product: NuoDB contains the library NuoRemote.lib (which is built using VC10), and NuoRemote_vc9.lib (which is built using VC9). We choose to name it that way on Windows. Because the major distribution for PHP 5.3 & 5.4 is built using VC9, then the PDO driver must "link" to the "_vc9" version of our library (to avoid MSVCRT skew).
Yes, The build system won't be able to build the NuoDB PHP PDO Driver without the NuoDB client libraries and header files. Just like the MySQL PHP PDO Driver can't be built without the MySQL client libraries and header files. I can provide a NuoDB dependency package for http://windows.php.net/downloads/pecl/deps/ We expect that NuoDB customers will download the NuoDB PHP PDO Driver extension from PECL and build it on their local machines. NuoDB does not (yet) provide a VC11 version of our client library. When it does, then the NuoDB PHP PDO driver can be modified to use the VC11 version of NuoRemote for PHP 5.5. Does that sound ok? -tom On Thu, Feb 13, 2014 at 12:39 PM, Anatol Belski <anatol....@belski.net>wrote: > Hi Tom, > > On Thu, February 13, 2014 17:18, Tom Gates wrote: > > Hello Anatol, > > > > > > Thank you for looking at the driver. We currently don't support PHP 5.5 > > on Windows because NuoDB does not yet have client library support for > VC11. > > However, we do support PHP 5.5 on Linux. I don't see the hardcoded VC9 > > lib you are talking about in config.w32. What line number do you see that > > on? > > > I was looking at these lines > > if (CHECK_LIB("NuoRemote_vc9.lib", "pdo_nuodb", PHP_PDO_NUODB + "\\lib32") > && CHECK_HEADER_ADD_INCLUDE('NuoDB.h', 'CFLAGS_PDO_NUODB', > PHP_PDO_NUODB + "\\include") > && CHECK_HEADER_ADD_INCLUDE('stdint.h', 'CFLAGS_PDO_NUODB', > "include_extras\\VC9")) > { > > and saw names with hardcoded "vc9", so basically my guess was correct :) > We usually pack the deps by CRT+platform into separated zips. There is > also usual naming for the subdirs like lib, include and bin. You can look > at the dependency packages for other extensions opening any from here > http://windows.php.net/downloads/pecl/deps/ . So ideally it should be > like NuoRemote.lib. Also, you could use win32/php_stdint.h which is > present starting with PHP-5.3 IRRC. > > But I meant that only if you plan to make use of the build system, as once > a release tarball is uploaded, it will try to build it. For that to > succeed we'd need the dependency library to be present in the build system > before and perhaps meet some additional config. > > Thanks > > Anatol > > -- Tom Gates Software Engineer *www.nuodb.com* <http://www.nuodb.com/> c: 603-490-4013 e: tga...@nuodb.com The information contained in this email is confidential and proprietary and intended for the sole use of the intended recipient. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this email in error, please notify the sender and delete all copies.