NSIS scons build failure on AIX 5.3
Hello,
We're trying to build NSIS on AIX 5.3 based on instructions found at http://www.xdevsoftware.com/blog/pos...on-Linux-.aspx
We have all the dependencies built and installed.
Specifically, Python-2.7.1 and scons-2.0.1.
The NSIS build of the compiler is failing with the following:
scons: Reading SConscript files ...
Mkdir("build/release/config")
Delete("nsis-20-Jan-2011.cvs")
Delete(".instdist")
Delete(".test")
Using default tools configuration
scons: warning: The build_dir keyword has been deprecated; use the variant_dir k
eyword instead.
File "/u/emanuelp/nsis-2.46-src/SConstruct", line 459, in <module>
Checking for C library gdi32... (cached) no
Checking for C library user32... (cached) no
Checking for C library pthread... (cached) yes
Checking for C library iconv... (cached) yes
scons: warning: The build_dir keyword has been deprecated; use the variant_dir k
eyword instead.
File "/u/emanuelp/nsis-2.46-src/SConstruct", line 543, in <module>
scons: warning: The build_dir keyword has been deprecated; use the variant_dir k
eyword instead.
File "/u/emanuelp/nsis-2.46-src/SConstruct", line 615, in <module>
scons: warning: The build_dir keyword has been deprecated; use the variant_dir k
eyword instead.
File "/u/emanuelp/nsis-2.46-src/SConstruct", line 630, in <module>
scons: warning: The build_dir keyword has been deprecated; use the variant_dir k
eyword instead.
File "/u/emanuelp/nsis-2.46-src/SConstruct", line 674, in <module>
Checking for C library dl... (cached) yes
Checking for C library gdi32... (cached) no
Checking for C library iconv... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library user32... (cached) no
Checking for C++ library cppunit... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
/usr/vacpp/bin/xlC -o build/release/makensis/build.o -c -DNSISCALL= -D_WIN32_IE=
0x0500 -Ibuild/release/config Source/build.cpp
"Source/Platform.h", line 710.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/Platform.h", line 853.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/ResourceEditor.h", line 58.11: 1540-1404 (W) The parameter "" specified
for "pragma pack" is not valid.
"Source/ResourceEditor.h", line 90.9: 1540-1404 (W) The parameter "" specified f
or "pragma pack" is not valid.
"Source/DialogTemplate.h", line 104.9: 1540-1404 (W) The parameter "" specified
for "pragma pack" is not valid.
/usr/vac/bin/xlc -o build/release/makensis/crc32.o -c -DNSISCALL= -D_WIN32_IE=0x
0500 -Ibuild/release/config Source/crc32.c
"Source/Platform.h", line 710.16: 1506-980 (W) pragma pack() without argument is
not supported.
"Source/Platform.h", line 710.16: 1506-363 (W) Packing boundary must be specifie
d as one of 1, 2, 4, 8 or 16.
"Source/Platform.h", line 710.16: 1506-224 (W) Incorrect pragma ignored.
"Source/Platform.h", line 853.16: 1506-980 (W) pragma pack() without argument is
not supported.
"Source/Platform.h", line 853.16: 1506-363 (W) Packing boundary must be specifie
d as one of 1, 2, 4, 8 or 16.
"Source/Platform.h", line 853.16: 1506-224 (W) Incorrect pragma ignored.
/usr/vacpp/bin/xlC -o build/release/makensis/fileform.o -c -DNSISCALL= -D_WIN32_
IE=0x0500 -Ibuild/release/config Source/fileform.cpp
"Source/exehead/../Platform.h", line 710.11: 1540-1404 (W) The parameter "" spec
ified for "pragma pack" is not valid.
"Source/exehead/../Platform.h", line 853.11: 1540-1404 (W) The parameter "" spec
ified for "pragma pack" is not valid.
/usr/vacpp/bin/xlC -o build/release/makensis/icon.o -c -DNSISCALL= -D_WIN32_IE=0
x0500 -Ibuild/release/config Source/icon.cpp
"Source/Platform.h", line 710.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/Platform.h", line 853.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/ResourceEditor.h", line 58.11: 1540-1404 (W) The parameter "" specified
for "pragma pack" is not valid.
"Source/ResourceEditor.h", line 90.9: 1540-1404 (W) The parameter "" specified f
or "pragma pack" is not valid.
/usr/vacpp/bin/xlC -o build/release/makensis/lang.o -c -DNSISCALL= -D_WIN32_IE=0
x0500 -Ibuild/release/config Source/lang.cpp
"Source/Platform.h", line 710.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/Platform.h", line 853.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/ResourceEditor.h", line 58.11: 1540-1404 (W) The parameter "" specified
for "pragma pack" is not valid.
"Source/ResourceEditor.h", line 90.9: 1540-1404 (W) The parameter "" specified f
or "pragma pack" is not valid.
"Source/DialogTemplate.h", line 104.9: 1540-1404 (W) The parameter "" specified
for "pragma pack" is not valid.
/usr/vacpp/bin/xlC -o build/release/makensis/makenssi.o -c -DNSISCALL= -D_WIN32_
IE=0x0500 -Ibuild/release/config Source/makenssi.cpp
"Source/Platform.h", line 710.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/Platform.h", line 853.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/ResourceEditor.h", line 58.11: 1540-1404 (W) The parameter "" specified
for "pragma pack" is not valid.
"Source/ResourceEditor.h", line 90.9: 1540-1404 (W) The parameter "" specified f
or "pragma pack" is not valid.
/usr/vacpp/bin/xlC -o build/release/makensis/manifest.o -c -DNSISCALL= -D_WIN32_
IE=0x0500 -Ibuild/release/config Source/manifest.cpp
"Source/Platform.h", line 710.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/Platform.h", line 853.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
/usr/vacpp/bin/xlC -o build/release/makensis/Plugins.o -c -DNSISCALL= -D_WIN32_I
E=0x0500 -Ibuild/release/config Source/Plugins.cpp
"Source/Platform.h", line 710.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/Platform.h", line 853.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/ResourceEditor.h", line 58.11: 1540-1404 (W) The parameter "" specified
for "pragma pack" is not valid.
"Source/ResourceEditor.h", line 90.9: 1540-1404 (W) The parameter "" specified f
or "pragma pack" is not valid.
/usr/vacpp/bin/xlC -o build/release/makensis/ResourceVersionInfo.o -c -DNSISCALL
= -D_WIN32_IE=0x0500 -Ibuild/release/config Source/ResourceVersionInfo.cpp
"Source/Platform.h", line 710.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/Platform.h", line 853.11: 1540-1404 (W) The parameter "" specified for "
pragma pack" is not valid.
"Source/ResourceEditor.h", line 58.11: 1540-1404 (W) The parameter "" specified
for "pragma pack" is not valid.
"Source/ResourceEditor.h", line 90.9: 1540-1404 (W) The parameter "" specified f
or "pragma pack" is not valid.
/usr/vacpp/bin/xlC -o build/release/makensis/script.o -c -DNSISCALL= -D_WIN32_IE
=0x0500 -Ibuild/release/config Source/script.cpp
"/usr/include/fcntl.h", line 250.9: 1540-0848 (S) The macro name "FOPEN" is alre
ady defined with a different definition.
"Source/util.h", line 72.9: 1540-0425 (I) "FOPEN" is defined on line 72 of "Sour
ce/util.h".
scons: *** [build/release/makensis/script.o] Error 1
scons: building terminated because of errors.
Also, here is the config.log contents:
file $HOME/nsis-2.46-src/SCons/utils.py,line 6:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for C library gdi32...
scons: Configure: ".sconf_temp/conftest_0.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_0.c <-
| |
| |
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_0.o" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_0.o -c -DNSISCALL= -Ibuild/release/c
onfig .sconf_temp/conftest_0.c
|
scons: Configure: Building ".sconf_temp/conftest_0" failed in a previous run and
all its sources are up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -lgdi32
|
scons: Configure: (cached) no
scons: Configure: Checking for C library user32...
scons: Configure: ".sconf_temp/conftest_1.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_1.c <-
| |
| |
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_1.o" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_1.o -c -DNSISCALL= -Ibuild/release/c
onfig .sconf_temp/conftest_1.c
|
scons: Configure: Building ".sconf_temp/conftest_1" failed in a previous run and
all its sources are up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_1 .sconf_temp/conftest_1.o -luser32
|
scons: Configure: (cached) no
scons: Configure: Checking for C library pthread...
scons: Configure: ".sconf_temp/conftest_2.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_2.c <-
| |
| |
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_2.o" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_2.o -c -DNSISCALL= -Ibuild/release/c
onfig .sconf_temp/conftest_2.c
|
scons: Configure: ".sconf_temp/conftest_2" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_2 .sconf_temp/conftest_2.o -lpthread
|
scons: Configure: (cached) yes
scons: Configure: Checking for C library iconv...
scons: Configure: ".sconf_temp/conftest_3.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_3.c <-
| |
| |
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_3.o" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_3.o -c -DNSISCALL= -Ibuild/release/c
onfig .sconf_temp/conftest_3.c
|
scons: Configure: ".sconf_temp/conftest_3" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_3 .sconf_temp/conftest_3.o -lpthread
-liconv
|
scons: Configure: (cached) yes
file $HOME/nsis-2.46-src/SCons/utils.py,line 6:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for C library dl...
scons: Configure: ".sconf_temp/conftest_4.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_4.c <-
| |
| |
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_4.o" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_4.o -c -DNSISCALL= -Ibuild/release/c
onfig .sconf_temp/conftest_4.c
|
scons: Configure: ".sconf_temp/conftest_4" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_4 .sconf_temp/conftest_4.o -ldl
|
scons: Configure: (cached) yes
scons: Configure: Checking for C library gdi32...
scons: Configure: ".sconf_temp/conftest_5.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_5.c <-
| |
| |
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_5.o" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_5.o -c -DNSISCALL= -Ibuild/release/c
onfig .sconf_temp/conftest_5.c
|
scons: Configure: Building ".sconf_temp/conftest_5" failed in a previous run and
all its sources are up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_5 .sconf_temp/conftest_5.o -ldl -lgd
i32
|
scons: Configure: (cached) no
scons: Configure: Checking for C library iconv...
scons: Configure: ".sconf_temp/conftest_6.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_6.c <-
| |
| |
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_6.o" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_6.o -c -DNSISCALL= -Ibuild/release/c
onfig .sconf_temp/conftest_6.c
|
scons: Configure: ".sconf_temp/conftest_6" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_6 .sconf_temp/conftest_6.o -ldl -lic
onv
|
scons: Configure: (cached) yes
scons: Configure: Checking for C library pthread...
scons: Configure: ".sconf_temp/conftest_7.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_7.c <-
| |
| |
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_7.o" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_7.o -c -DNSISCALL= -Ibuild/release/c
onfig .sconf_temp/conftest_7.c
|
scons: Configure: ".sconf_temp/conftest_7" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_7 .sconf_temp/conftest_7.o -ldl -lic
onv -lpthread
|
scons: Configure: (cached) yes
scons: Configure: Checking for C library user32...
scons: Configure: ".sconf_temp/conftest_8.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_8.c <-
| |
| |
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_8.o" is up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_8.o -c -DNSISCALL= -Ibuild/release/c
onfig .sconf_temp/conftest_8.c
|
scons: Configure: Building ".sconf_temp/conftest_8" failed in a previous run and
all its sources are up to date.
scons: Configure: The original builder output was:
|/usr/vac/bin/xlc -o .sconf_temp/conftest_8 .sconf_temp/conftest_8.o -ldl -lic
onv -lpthread -luser32
|
scons: Configure: (cached) no
file $HOME/nsis-2.46-src/Source/Tests/SConscript,line 114:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for C++ library cppunit...
scons: Configure: ".sconf_temp/conftest_9.cpp" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_9.cpp <-
| |
| |
| |#include "cppunit/extensions/HelperMacros.h"
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: Building ".sconf_temp/conftest_9.o" failed in a previous run a
nd all its sources are up to date.
scons: Configure: The original builder output was:
|/usr/vacpp/bin/xlC -o .sconf_temp/conftest_9.o -c -DNSISCALL= -DCOMPRESS_MF_B
T -Ibuild/release/config .sconf_temp/conftest_9.cpp
|
scons: Configure: (cached) no
Any ideas what might be going wrong here?
Thanks,
Frank Grimes