PDA

View Full Version : Installation on AIX 5.3



micrinho
11th March 2010, 16:10
I'm trying to install the Qt library on AIX 5.3, I will use fewer resources in the library, I'm running configure as follows:


./configure --prefix=/.../tmp/usr/local -platform aix-g++ -debug -no-largefile -no-accessibility -no-3dnow -no-multimedia -no-audio-backend -no-webkit -no-cups -no-nis

After this step I run make, but it gives error:


g++ -c -mpowerpc -fpermissive -mminimal-toc -Wreturn-type -fno-strict-aliasing -g -D_THREAD_SAFE -DQT_SHARED -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_BUILD_SCRIPT_LIB -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DBUILDING_QT__=1 -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_JIT=0 -DENABLE_YARR_JIT=0 -DENABLE_YARR=0 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_EXPORT= -DJS_EXPORTDATA= -DQT_CORE_LIB -I../../mkspecs/aix-g++ -I. -I../../include/QtCore -I../../include -I../3rdparty/javascriptcore/JavaScriptCore -I../3rdparty/javascriptcore -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I../3rdparty/javascriptcore/JavaScriptCore/debugger -I../3rdparty/javascriptcore/JavaScriptCore/interpreter -I../3rdparty/javascriptcore/JavaScriptCore/jit -I../3rdparty/javascriptcore/JavaScriptCore/parser -I../3rdparty/javascriptcore/JavaScriptCore/profiler -I../3rdparty/javascriptcore/JavaScriptCore/runtime -I../3rdparty/javascriptcore/JavaScriptCore/wrec -I../3rdparty/javascriptcore/JavaScriptCore/wtf -I../3rdparty/javascriptcore/JavaScriptCore/wtf/unicode -I../3rdparty/javascriptcore/JavaScriptCore/yarr -I../3rdparty/javascriptcore/JavaScriptCore/API -I../3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders -Igenerated -I../../include/QtScript -I.rcc/debug-shared -I/filetek/tmp/qt-everywhere-opensource-src-4.6.1/src/3rdparty/javascriptcore/WebKit/qt/Api -I../3rdparty/javascriptcore/JavaScriptCore/pcre -I/filetek/tmp/qt-everywhere-opensource-src-4.6.1/src/3rdparty/javascriptcore/WebKitBuild/Debug/JavaScriptCore/tmp -I../3rdparty/javascriptcore/JavaScriptCore -I../3rdparty/javascriptcore/JavaScriptCore/parser -I../3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I../3rdparty/javascriptcore/JavaScriptCore/debugger -I../3rdparty/javascriptcore/JavaScriptCore/runtime -I../3rdparty/javascriptcore/JavaScriptCore/wtf -I/filetek/tmp/qt-everywhere-opensource-src-4.6.1/src/script/../3rdparty/javascriptcore/JavaScriptCore/unicode -I../3rdparty/javascriptcore/JavaScriptCore/interpreter -I../3rdparty/javascriptcore/JavaScriptCore/jit -I../3rdparty/javascriptcore/JavaScriptCore/profiler -I../3rdparty/javascriptcore/JavaScriptCore/wrec -I../3rdparty/javascriptcore/JavaScriptCore/API -I../3rdparty/javascriptcore/JavaScriptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/generated -I. -Iparser -I.moc/debug-shared -o obj/debug/pcre_compile.o ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp
In file included from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:45,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:82,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:46:
../3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/Unicode.h:32:28: error: qt4/UnicodeQt4.h: No such file or directory
In file included from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:45,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:82,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:46:
../3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/Unicode.h:44: error: 'UChar' was not declared in this scope
In file included from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:82,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:46:
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:58: error: expected ',' or '...' before '*' token
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:60: warning: ISO C++ forbids declaration of 'UChar' with no type
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:63: error: expected ',' or '...' before '*' token
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:64: warning: ISO C++ forbids declaration of 'UChar' with no type
In file included from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:46:
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:408: error: 'isWordChar' declared as an 'inline' variable
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:408: error: 'UChar' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:409: error: expected ',' or ';' before '{' token
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:413: error: 'isSpaceChar' declared as an 'inline' variable
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:413: error: 'UChar' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:414: error: expected ',' or ';' before '{' token
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:418: error: 'isNewline' declared as an 'inline' variable
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:418: error: 'UChar' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:419: error: expected ',' or ';' before '{' token
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:153: error: expected ',' or '...' before '*' token
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:153: warning: ISO C++ forbids declaration of 'UChar' with no type
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:227: error: 'bracount' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:229: error: 'bracount' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:233: error: 'oldptr' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:252: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:267: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:285: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:300: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:301: error: 'errorCodePtr' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:309: error: 'isClass' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:322: error: 'ptrPtr' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp: At global scope:
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:341: error: expected ',' or '...' before '*' token
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:341: warning: ISO C++ forbids declaration of 'UChar' with no type
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp: In function 'bool isCountedRepeat(int)':
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:343: error: 'p' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:343: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:345: error: 'p' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:346: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:348: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:351: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:353: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:356: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:359: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:362: error: 'patternEnd' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp: At global scope:
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:384: error: expected initializer before '*' token
make: The error code from the last command is 1.

Stop.

Can anyone help me, I am Newbie on Qt.

Thanks.