On Fri, 11 Dec 2015 18:33:54 +0300
Dmitry Yemanov <[email protected]> wrote:
> 11.12.2015 18:21, Mark Rotteveel wrote:
>
> > Maybe because the Windows build doesn't have a /bin?
>
> By /bin I meant the binaries directory, referred via %FB_BIN_DIR%.
> It's inherited from the v2.5 build but v3 defines as "fb-root" on
> Windows. So no, it should not be a problem.
>
> Also, as I said before, snapshot builds use the same batch files and
> they have zlib1.dll packaged properly.
>
I've looked into this and part of the mystery has been solved.
zlib1.dll doesn't get packaged into the binary installer. I'll fix that.
But for some unexplainable reason zlib1.dll didn't get generated for
RC1. I've been trying to work out why but I can't reproduce the
problem. It is in the zip package for Beta 2 and I've built trunk and
rebuilt RC1 today and it is generated correctly and packaged into the
zip kits.
make_boot.bat has this line:
@copy %FB_ROOT_PATH%\extern\zlib\%FB_TARGET_PLATFORM%\*.dll
%FB_BIN_DIR% >nul 2>&1
It might be a good idea to catch and raise any errors, rather than
throw them away.
Alternatively we could change this test:
if exist %FB_ROOT_PATH%\extern\zlib\zlib.h (
@echo %FB_ROOT_PATH%\extern\zlib\zlib.h already extracted
because in my slightly broken RC1 zlib.h had been extracted, but the
dll's weren't. The build process executes zlib.exe twice, once for
win32 and once for x64. It would seem that the initial extraction
failed to produce the dll's but did extract the header. And the second
attempt, for the x64 build found the header and moved on.
To be honest I don't see any need for this test anyway.
Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird
------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel