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:

Qt Code:
  1. ./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
To copy to clipboard, switch view to plain text mode 

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

Qt Code:
  1. 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
  2. In file included from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:45,
  3. from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:82,
  4. from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:46:
  5. ../3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/Unicode.h:32:28: error: qt4/UnicodeQt4.h: No such file or directory
  6. In file included from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:45,
  7. from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:82,
  8. from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:46:
  9. ../3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/Unicode.h:44: error: 'UChar' was not declared in this scope
  10. In file included from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:82,
  11. from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:46:
  12. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:58: error: expected ',' or '...' before '*' token
  13. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:60: warning: ISO C++ forbids declaration of 'UChar' with no type
  14. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:63: error: expected ',' or '...' before '*' token
  15. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:64: warning: ISO C++ forbids declaration of 'UChar' with no type
  16. In file included from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:46:
  17. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:408: error: 'isWordChar' declared as an 'inline' variable
  18. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:408: error: 'UChar' was not declared in this scope
  19. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:409: error: expected ',' or ';' before '{' token
  20. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:413: error: 'isSpaceChar' declared as an 'inline' variable
  21. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:413: error: 'UChar' was not declared in this scope
  22. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:414: error: expected ',' or ';' before '{' token
  23. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:418: error: 'isNewline' declared as an 'inline' variable
  24. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:418: error: 'UChar' was not declared in this scope
  25. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:419: error: expected ',' or ';' before '{' token
  26. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:153: error: expected ',' or '...' before '*' token
  27. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:153: warning: ISO C++ forbids declaration of 'UChar' with no type
  28. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:227: error: 'bracount' was not declared in this scope
  29. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:229: error: 'bracount' was not declared in this scope
  30. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:233: error: 'oldptr' was not declared in this scope
  31. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:252: error: 'patternEnd' was not declared in this scope
  32. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:267: error: 'patternEnd' was not declared in this scope
  33. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:285: error: 'patternEnd' was not declared in this scope
  34. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:300: error: 'patternEnd' was not declared in this scope
  35. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:301: error: 'errorCodePtr' was not declared in this scope
  36. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:309: error: 'isClass' was not declared in this scope
  37. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:322: error: 'ptrPtr' was not declared in this scope
  38. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp: At global scope:
  39. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:341: error: expected ',' or '...' before '*' token
  40. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:341: warning: ISO C++ forbids declaration of 'UChar' with no type
  41. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp: In function 'bool isCountedRepeat(int)':
  42. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:343: error: 'p' was not declared in this scope
  43. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:343: error: 'patternEnd' was not declared in this scope
  44. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:345: error: 'p' was not declared in this scope
  45. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:346: error: 'patternEnd' was not declared in this scope
  46. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:348: error: 'patternEnd' was not declared in this scope
  47. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:351: error: 'patternEnd' was not declared in this scope
  48. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:353: error: 'patternEnd' was not declared in this scope
  49. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:356: error: 'patternEnd' was not declared in this scope
  50. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:359: error: 'patternEnd' was not declared in this scope
  51. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:362: error: 'patternEnd' was not declared in this scope
  52. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp: At global scope:
  53. ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:384: error: expected initializer before '*' token
  54. make: The error code from the last command is 1.
  55.  
  56. Stop.
To copy to clipboard, switch view to plain text mode 

Can anyone help me, I am Newbie on Qt.

Thanks.