Archive: SCons building errors


SCons building errors
Can't install NSIS from source code on windows as described in "install" file inside source distribution archive. Using Python 2.4.2 and latest SCons 0.96.94

E:\InProc\MinGW_NSIS\NSIS_orig>scons PREFIX="E:\ENV\NSIS" install
scons: Reading SConscript files ...
Delete("nsis-14-Jan-2007.cvs")
Delete(".instdist")
Delete(".test")
Using Microsoft tools configuration
Checking for memset requirement... (cached) no
Checking for C library gdi32... (cached) yes
Checking for C library user32... (cached) yes
Checking for C library pthread... (cached) no
Checking for C library stdc++... (cached) no
Checking for C library iconv... (cached) no
Checking for C library version... (cached) yes
Checking for C library dl... (cached) no
Checking for C library gdi32... (cached) yes
Checking for C library iconv... (cached) no
Checking for C library user32... (cached) yes
Checking for C++ library cppunit... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
Install file: "COPYING" as "E:\ENV\NSIS\COPYING"
Install file: "nsisconf.nsh" as "E:\ENV\NSIS\nsisconf.nsh"
scons: *** Source `['build\release\stub_bzip2\stub_bzip2.exe']' not found, needed by target `E:\ENV\NSIS\Stubs\bzip2'. Stop.
scons: building terminated because of errors.

E:\InProc\MinGW_NSIS\NSIS_orig>dir build\release\stub_bzip2\stub_bzip2.exe
Volume in drive E is PILE
Volume Serial Number is 448F-2F87

Directory of E:\InProc\MinGW_NSIS\NSIS_orig\build\release\stub_bzip2

15.01.2007 01:34 34 816 stub_bzip2.exe
1 File(s) 34 816 bytes
0 Dir(s) 59 688 910 848 bytes free

seems that nsis has notbeen compiled yet
i dont get that error.

you may try this one:

>scons dist


Downgrade to SCons 0.96.93.


"scons dist" doesn't work with scons-0.96.94 - yields in the message below.
scons-0.96.93 work ok - thanks kichik

E:\InProc\MinGW_NSIS\NSIS_orig>scons dist
scons: Reading SConscript files ...
Delete("nsis-16-Jan-2007.cvs")
Delete(".instdist")
Delete(".test")
Using Microsoft tools configuration
Checking for memset requirement... (cached) no
Checking for C library gdi32... (cached) yes
Checking for C library user32... (cached) yes
Checking for C library pthread... (cached) no
Checking for C library stdc++... (cached) no
Checking for C library iconv... (cached) no
Checking for C library version... (cached) yes
Checking for C library dl... (cached) no
Checking for C library gdi32... (cached) yes
Checking for C library iconv... (cached) no
Checking for C library user32... (cached) yes
Checking for C++ library cppunit... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
scons: *** Source `Contrib\Library\RegTool\['RegTool\RegTool.bin']' not found, needed by target `nsis-16-Jan-2007.cvs\Bin\RegToo
l.bin']'. Stop.
scons: building terminated because of errors.

I've fixed the compatibility issues with 0.96.94 in CVS. It should now work with both 93 and 94.


I'll wait for release, because I'd like to to see if this patch http://sourceforge.net/tracker/index...49&atid=373087
would be integrated.