Re: php5 win build
| From: | Dan Scott | Date: | Wed, 30 Mar 2005 17:35:29 +0000 |
| Subject: | Re: php5 win build | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15692@lists.php.net to get a copy of this message | ||
Thanks Edin, grabbing your updated resolv.lib and dropping it into the
win32build directory got me over the last hurdle!
Dan
On Wed, 30 Mar 2005 19:20:11 +0200, Edin Kadribasic <edink@emini.dk> wrote:
> You can download the lib from:
>
> http://ftp.emini.dk/pub/php/win32/dev/php_build/lib/resolv.lib
>
> headers are in:
>
> http://ftp.emini.dk/pub/php/win32/dev/php_build/include/
>
> Edin
>
> ----- Original Message -----
> From: "Dan Scott" <denials@gmail.com>
> To: <internals@lists.php.net>
> Sent: Wednesday, March 30, 2005 6:23 PM
> Subject: Re: [PHP-DEV] php5 win build
>
> > On Wed, 30 Mar 2005 08:36:28 -0500, Dan Scott <denials@gmail.com> wrote:
> > > Try grabbing the latest CVS version of PHP or the latest 5.0.x
> > > snapshots from http://snaps.php.net/ -- there were a
> > > number of patches
> > > since 5.0.3 that helped me get further on my attempt to compile on
> > > Windows using the Microsoft Visual C++ Toolkit 2003 (for C compiler) +
> > > Platform SDK for Windows (for most of the required header files) +
> > > Microsoft .NET SDK (for nmake).
> > >
> > > However, my build is now dying because it can't find winres.h :(
> > >
> > > Dan
> > >
> >
> > Okay, so I copied the Microsoft Platform SDK for Windows XP
> > SP2\include\WinResrc.h to winres.h and that got the compile all the
> > way to the linking point. But now it dies (so close!) with:
> >
> > Creating library Release_TS\php5ts.lib and object Release_TS\php5ts.exp
> > resolv.lib(inet_addr.obj) : error LNK2019: unresolved external symbol
> > __pctype referenced in function _inet_aton
> > resolv.lib(inet_addr.obj) : error LNK2019: unresolved external symbol
> > ___mb_cur_max referenced in function _inet_aton
> > Release_TS\php5ts.dll : fatal error LNK1120: 2 unresolved externals
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET
> 2003\
> > Vc7\bin\link.exe"' : return code '0x460'
> >
> > Reading
> > http://www.zend.com/manual/install.windows.building.php
> > suggests that to fix this problem I need to rebuild resolv.lib -- but
> > using the bindlib.dsp file requires msdev, which requires a full MS
> > Visual Studio environment. That's a showstopper for those of us trying
> > to do this with just the free-beer tools available from Microsoft.
> >
> > However, it is apparently possible to export a DSP file as a Makefile
> > from MS Visual Studio. If someone with a full MS Visual Studio
> > environment would be willing to make that exported makefile available,
> > I think it might help close this final loop and would be a worthwhile
> > addition to the bindlib_w32.zip archive.
> >
> > Dan
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>