From: Justin Dearing on
Hi,

So I finally got it to build and run on windows. I am tweaking with the
configure options to my likings, but I've made some good progress.

So one thing I noticed after I added postgres support was the following
output of "nmake snap"

WARNING: distro depends on msvcr90d.dll, but could not find it on your
system
WARNING: distro depends on libpq.dll, but could not find it on your system

I have both these libraries in my system. How do I get nmake to find them?

My configure is as follows:

configure --disable-zts --enable-debug --enable-cli-win32 --with-openssl
--enable-soap --with-pgsql=shared --enable-pdo=shared --with-libxml=shared
--with-xml --with-xsl --with-extra-includes="c:\Program
Files\PHP\extras\zlib-1.2.3-vc9-x86\include" --with-extra-libs="c:\Program
Files\PHP\extras\zlib-1.2.3-vc9-x86\lib;c:\program files\Expat 2.0.1\bin"

my path is as follows:

C:\src\php-5.3.1\vc9\x86\php-5.3-svn>path
PATH=C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin;C:\Program
Files\Microsoft Visual Studio 9.0\VC\vcpackages;C:\Progra
m Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft
SDKs\Windows\v7.0\Bin;C:\Windows\Microsoft.NET\Fra
mework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft SDKs\Windows\v7.0\Setup;C:\Program Files
\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\To
rtoiseGit\bin;C:\Program Files\PHP\extras\wso2-wsf-php\wsf_c\lib;C:\Program
Files\PHP\extras\libxml2-2.7.6.win32\bin;C:\Progr
am
Files\PHP\extras\iconv-1.9.2.win32\bin;%LIBXSLT\bin%;C:\OpenSSL\bin;C:\Program
Files\WinMerge;c:\Program Files\Microsoft S
QL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;c:\Program Fil
es\PostgreSQL\8.4\bin;C:\Program
Files\Nmap;c:\php-sdk\bin\\..\bin;c:\php-sdk\bin\
From: Pierre Joye on
hi,

How did you setup your environment? Using the SDK cmd line and then:

setenv /xp /x86 /debug ? That should setup all the path correctly for
the debug crt as well.

As of libpq, it should be in your deps/bin like other DLLs from our
builds. Then simply do SET
PATH=%PATH%;c:\php-sdk\php53\vc9\x86\deps\bin

LIB and INCLUDE are for development files.

Cheers,
--
Pierre

On Wed, Jan 20, 2010 at 6:25 PM, Justin Dearing <zippy1981(a)gmail.com> wrote:
> Hi,
>
> So I finally got it to build and run on windows. I am tweaking with the
> configure options to my likings, but I've made some good progress.
>
> So one thing I noticed after I added postgres support was the following
> output of "nmake snap"
>
> WARNING: distro depends on msvcr90d.dll, but could not find it on your
> system
> WARNING: distro depends on libpq.dll, but could not find it on your system
>
> I have both these libraries in my system. How do I get nmake to find them?
>
> My configure is as follows:
>
> configure  --disable-zts --enable-debug --enable-cli-win32 --with-openssl
> --enable-soap --with-pgsql=shared --enable-pdo=shared --with-libxml=shared
> --with-xml --with-xsl --with-extra-includes="c:\Program
> Files\PHP\extras\zlib-1.2.3-vc9-x86\include" --with-extra-libs="c:\Program
> Files\PHP\extras\zlib-1.2.3-vc9-x86\lib;c:\program files\Expat 2.0.1\bin"
>
> my path is as follows:
>
> C:\src\php-5.3.1\vc9\x86\php-5.3-svn>path
> PATH=C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin;C:\Program
> Files\Microsoft Visual Studio 9.0\VC\vcpackages;C:\Progra
> m Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft
> SDKs\Windows\v7.0\Bin;C:\Windows\Microsoft.NET\Fra
> mework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program
> Files\Microsoft SDKs\Windows\v7.0\Setup;C:\Program Files
> \PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
> Files\To
> rtoiseGit\bin;C:\Program Files\PHP\extras\wso2-wsf-php\wsf_c\lib;C:\Program
> Files\PHP\extras\libxml2-2.7.6.win32\bin;C:\Progr
> am
> Files\PHP\extras\iconv-1.9.2.win32\bin;%LIBXSLT\bin%;C:\OpenSSL\bin;C:\Program
> Files\WinMerge;c:\Program Files\Microsoft S
> QL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
> Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;c:\Program Fil
> es\PostgreSQL\8.4\bin;C:\Program
> Files\Nmap;c:\php-sdk\bin\\..\bin;c:\php-sdk\bin\
>



--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org