php-windows Digest 24 Dec 2008 21:58:21 -0000 Issue 3551

Topics (messages 29113 through 29114):

Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files
        29113 by: Chris

Problems compiling 5.3.0alpha3 with extensions
        29114 by: Niel

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
Fred Silsbee wrote:


--- On Sat, 12/20/08, Fergus Gibson <fgibso...@gmail.com> wrote:

From: Fergus Gibson <fgibso...@gmail.com>
Subject: Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files
To: fredsils...@yahoo.com
Date: Saturday, December 20, 2008, 6:06 PM
On Sat, Dec 20, 2008 at 7:59 AM, Fred Silsbee
<fredsils...@yahoo.com> wrote:
ntwdblib.dll proves to be necessary...otherwise
I'll get a mssql_connect not found
I used the ntwdblib.dll file from a 5.2.6 zip file
This resource might help:

http://www.userscape.com/helpdesk/index.php?pg=kb.page&id=13

According to the information there and on the forum thread
they link,
the problem you have is likely that the ntwdblib.dll is the
wrong
version.  They say you can find the correct DLL in the
system32
directory on the SQL Server.  If you copy that to your
extension dir,
you should be good.


YOU ARE THE MAIN MAN! THAT WORKED! THE CORRECT VERSION SHOULD BE

INCLUDED IN THE 5.2.8 ZIP FILE

So lodge a bug at http://bugs.php.net.

--
Postgresql & php tutorials
http://www.designmagick.com/


--- End Message ---
--- Begin Message ---
Hi all.

I have been trying to compile 5.3.0 alpha 3 (from
http://downloads.php.net/johannes/php-5.3.0alpha3.tar.bz2), for several
days now.  It builds fine with a very basic configuration, but when I
add extensions I run into problems.

Setup is:
MS Windows XP Pro 64 Bit + SP2
MS VC9 Express + SP1
MS Server 2008 SDK and .NET Framework 3.5

Libraries from 
http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC9/x86/
extracted into directory win32build

Tools from 
http://pecl2.php.net/downloads/php-windows-builds/php-libs/binary-tools.zip
extracted into a directory and added to PATH (bison.simple copied to
D:\usr\local\share)

Directories:
D:\Dev\C\PHP
+- !Builds\x86\
+- bin (binary tools)
+- php-5.3.0-alpha3
+- win32build

D:\usr\local\share

I have minimised the configuration to be as simple as possible and still
produce the problem.  The error is:

simplexml.c
.\ext/libxml/php_libxml.h(38) : fatal error C1083: Cannot open include file: 
'libxml/tree.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft\Visual 
Studio\9.0\VC\BIN\cl.exe"' : return code '0x2'

'libxml/tree.h' does exist in the 'win32build/include' directory

In case it is useful here's the configure output:
D:\Dev\C\PHP\php-5.3.0alpha3>cscript /nologo configure.js --disable-all 
--enable-cli
--without-ereg --with-iconv --enable-intl --disable-ipv6 --with-libxml 
--enable-object-out-dir="..\!Builds\x86" --with-simplexml=shared
Saving configure options to config.nice.bat
Checking for cl.exe ...  <in default path>
  Detected compiler MSVC9 (Visual C++ 2008)
  Detected 32-bit compiler
Checking for link.exe ...  C:\Program Files (x86)\Microsoft\Visual 
Studio\9.0\VC\BIN
Checking for nmake.exe ...  <in default path>
Checking for lib.exe ...  <in default path>
Checking for bison.exe ...  <in default path>
Checking for re2c.exe ...  <in default path>
  Detected re2c version 0.13.5
Checking for zip.exe ...  <in default path>
Checking for lemon.exe ...  <not found>
Checking for mc.exe ...  C:\Program Files\Microsoft\SDKs\Windows\v6.1\bin
Checking for mt.exe ...  C:\Program Files\Microsoft\SDKs\Windows\v6.1\bin

Build dir: ..\!Builds\x86\Release_TS
PHP Core:  php5ts.dll and php5ts.lib

Checking for NewAPIs.h ...  <not found>
Checking for NewAPIs.h ...  <not found>
Enabling SAPI sapi\cli
Enabling extension ext\date
Checking for library libiconv_a.lib ... ..\win32build\lib\libiconv_a.lib
Checking for iconv.h ...  ../win32build\include
Enabling extension ext\iconv
Checking for library icuuc.lib ... ..\win32build\lib\icuuc.lib
Checking for unicode/utf.h ...  ../win32build\include
Enabling extension ext\intl [shared]
Enabling extension ext\pcre
Enabling extension ext\reflection
Enabling extension ext\spl
Checking for timelib_config.h ...  ext/date/lib
Enabling extension ext\standard
Checking for library libxml2_a_dll.lib;libxml2_a.lib ... 
..\win32build\libxml2-2.6.32-vc9\lib\libxml2_a_dll.lib
Checking for library libiconv_a.lib;iconv_a.lib;libiconv.lib;iconv.lib ... 
..\win32build\lib\libiconv_a.lib
Checking for libxml/parser.h ...  ../win32build\include
Enabling extension ext\libxml
Enabling extension ext\simplexml [shared]

Creating build dirs...
Generating files...
Generating Makefile
Generating main/internal_functions.c
        [content unchanged; skipping]
Generating main/config.w32.h
Done.


It seems the libxml is being found by configure, but not when needed by
the extensions.
I would really appreciate any help in solving this, as it is driving me
nuts now.

--
Niel Archer
niel.archer (at) blueyonder.co.uk



--- End Message ---

Reply via email to