I'm stuck on finding zlib for Win32, which it appears to require. I tried downloading the Binaries package from http://gnuwin32.sourceforge.net/packages/zlib.htm, and setting my ZLIB_W32 environment variable to point to the directory where I unzipped that, but scons still aborts with "zlib (win32) is missing!". I also tried pointing ZLIB_W32 to the zlib/bin directory, but get the same result.
I rechecked the build documentation, which doesn't have anything about this in the POSIX section, but does mention that "for Windows" I should get the zlib-1.2.7 prebuilt package linked here. So I downloaded that, unzipped it into my devtools directory, and updated my ZLIB_W32 environment variable to point to it. Then tried scons again... same result:
What am I doing wrong here?(07:50:23)JoeMBPro:nsis-3.0b2-src> scons SKIPUTILS="NSIS Menu"
scons: Reading SConscript files ...
Delete("nsis-11-Sep-2015.cvs")
Delete(".instdist")
Delete(".test")
Using GNU tools configuration
Checking for linker flag $MAP_FLAG... no
Checking for linker flag -s... yes
Checking for linker flag $MAP_FLAG... no
Checking for linker flag -s... yes
Checking for memcpy requirement... yes
Checking for memset requirement... yes
Checking for linker flag -pthread... yes
Checking for __BIG_ENDIAN__... no
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
Checking for C library gdi32... no
Checking for C library user32... no
Checking for C library pthread... yes
Checking for C library iconv... yes
Checking for C library shlwapi... no
Checking for C library z... yes
Checking for C library iconv... yes
Checking for C library z... yes
Checking for C library zdll... no
Checking for C library z... no
zlib (win32) is missing!
(07:50:41)JoeMBPro:nsis-3.0b2-src> ls -l $ZLIB_W32
total 712
drwxr-xr-x@ 12 jstrout staff 408 Sep 11 07:47 .
drwxr-xr-x 9 jstrout staff 306 Sep 11 07:49 ..
-rw-r--r--@ 1 jstrout staff 164 Nov 10 2012 BUILD.txt
-rw-r--r--@ 1 jstrout staff 73286 May 2 2012 ChangeLog
-rw-r--r--@ 1 jstrout staff 17921 Mar 2 2006 DLL_FAQ.txt
-rw-r--r--@ 1 jstrout staff 4868 Feb 19 2012 README-WIN32.txt
drwxr-xr-x@ 4 jstrout staff 136 Nov 10 2012 include
drwxr-xr-x@ 6 jstrout staff 204 Nov 10 2012 lib
drwxr-xr-x@ 10 jstrout staff 340 Nov 10 2012 test
-rw-r--r--@ 1 jstrout staff 8760 May 2 2012 zlib.3.pdf
-rw-r--r--@ 1 jstrout staff 81964 Nov 10 2012 zlib1.dll
-rw-r--r--@ 1 jstrout staff 156672 Nov 10 2012 zlib1.pdb
Note that I have searched this forum for "Mac" (no matches), and googled around for more detailed instructions on how to build this thing on OS X, but turned up nothing. Any tips would be very appreciated.