ich habe Probleme bei dem configure der Qt-Installation. Der Fehler tritt unter MacOS X auf, allerdings denke ich, dass auch Nicht-Mac-Nutzer mir evtl. weiterhelfen können.
Die Wichtigste von den ganzen Fehlermeldungen ist meiner Meinung nach folgende:
Code: Alles auswählen
/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:37:20: assert.h: No such file or directory
nochmal die Eckdaten:
Mac OS X.3.9
gcc 3.3
qt 4.2.1
PPC
Mac OS SDK 10.3.9
Es folgen hier nochmal alle Fehlermeldungen die Auftreten. Interessant ist noch, dass er nicht selbst zur Konsole zurückgeht sondern die Compilerprozesse noch aktiv sind, jedoch den Prozessor nicht mehr beanspruchen.
Code: Alles auswählen
c++ -c -o qglobal.o -pipe -fno-common -fPIC -DQMAKE_OPENSOURCE_EDITION -g -isysroot/Developer/SDKs/MacOSX10.3.9.sdk/ -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/arch/generic -I/private/tmp/qt-mac-opensource-src-4.2.1/include -I/private/tmp/qt-mac-opensource-src-4.2.1/include/QtCore -I/private/tmp/qt-mac-opensource-src-4.2.1/include -I/private/tmp/qt-mac-opensource-src-4.2.1/include/QtCore -I/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/sw/share/qt3/mkspecs/darwin-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT /private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global/qglobal.cpp
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from /private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:55,
from /private/tmp/qt-mac-opensource-src-4.2.1/include/QtCore/private/qcore_mac_p.h:1,
from /private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global/qglobal.cpp:1465:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:37:20: assert.h: No such file or directory
In file included from /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h:22,
from /System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:43,
from /private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:58,
from /private/tmp/qt-mac-opensource-src-4.2.1/include/QtCore/private/qcore_mac_p.h:1,
from /private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global/qglobal.cpp:1465:
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: In
function `void AudioObjectShow(long unsigned int)':
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:399: error: parse
error before `;' token
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: In
function `Boolean AudioObjectHasProperty(long unsigned int, const
AudioObjectPropertyAddress*)':
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:412: error: parse
error before `;' token
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:412: error: redefinition
of `int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER'
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:399: error: `
int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER' previously declared here
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: In
function `OSStatus AudioObjectIsPropertySettable(long unsigned int, const
AudioObjectPropertyAddress*, Boolean*)':
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:429: error: parse
error before `;' token
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:429: error: redefinition
of `int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER'
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:412: error: `
int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER' previously declared here
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: In
function `OSStatus AudioObjectGetPropertyDataSize(long unsigned int, const
AudioObjectPropertyAddress*, long unsigned int, const void*, UInt32*)':
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:455: error: parse
error before `;' token
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:455: error: redefinition
of `int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER'
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:429: error: `
int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER' previously declared here
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: In
function `OSStatus AudioObjectGetPropertyData(long unsigned int, const
AudioObjectPropertyAddress*, long unsigned int, const void*, UInt32*, void*)
':
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:487: error: parse
error before `;' token
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:487: error: redefinition
of `int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER'
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:455: error: `
int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER' previously declared here
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: In
function `OSStatus AudioObjectSetPropertyData(long unsigned int, const
AudioObjectPropertyAddress*, long unsigned int, const void*, long unsigned
int, const void*)':
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:520: error: parse
error before `;' token
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:520: error: redefinition
of `int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER'
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:487: error: `
int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER' previously declared here
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: In
function `OSStatus AudioObjectAddPropertyListener(long unsigned int, const
AudioObjectPropertyAddress*, OSStatus (*)(long unsigned int, long unsigned
int, const AudioObjectPropertyAddress*, void*), void*)':
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:541: error: parse
error before `;' token
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:541: error: redefinition
of `int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER'
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:520: error: `
int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER' previously declared here
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: In
function `OSStatus AudioObjectRemovePropertyListener(long unsigned int,
const AudioObjectPropertyAddress*, OSStatus (*)(long unsigned int, long
unsigned int, const AudioObjectPropertyAddress*, void*), void*)':
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:564: error: parse
error before `;' token
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:564: error: redefinition
of `int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER'
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:541: error: `
int AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER' previously declared here
In file included from /private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:58,
from /private/tmp/qt-mac-opensource-src-4.2.1/include/QtCore/private/qcore_mac_p.h:1,
from /private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global/qglobal.cpp:1465:
/System/Library/Frameworks/QuickTime.framework/Headers/Movies.h: At global
scope:
/System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:7617: error: conflicting
types for `struct AudioObjectRemovePropertyListener(long unsigned int, const
AudioObjectPropertyAddress*, OSStatus (*)(long unsigned int, long unsigned
int, const AudioObjectPropertyAddress*, void*), void*)::TweenRecord'
/System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:7614: error: previous
declaration as `typedef struct TweenRecord TweenRecord'
In file included from /private/tmp/qt-mac-opensource-src-4.2.1/include/QtCore/private/qcore_mac_p.h:1,
from /private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global/qglobal.cpp:1465:
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h: In
function `OSStatus AudioObjectRemovePropertyListener(long unsigned int,
const AudioObjectPropertyAddress*, OSStatus (*)(long unsigned int, long
unsigned int, const AudioObjectPropertyAddress*, void*), void*)':
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:109: error: parse
error before `<' token
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:113: error: parse
error before `const'
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:114: error: parse
error before `const'
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:115: error: non-
member function `operator QString()' cannot have `const' method qualifier
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:115: error: `
operator QString()' must be a nonstatic member function
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:115: error: `
operator QString()' must take exactly one argument
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:116: error: non-
member function `operator const __CFString*()' cannot have `const' method
qualifier
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:116: error: `
operator const __CFString*()' must be a nonstatic member function
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:116: error: `
operator const __CFString*()' must take exactly one argument
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:117: error: cannot
declare static function inside another function
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:118: error: cannot
declare static function inside another function
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:119: error: parse
error before `private'
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global/qglobal.cpp: In
function `void qt_mac_to_pascal_string(QString, unsigned char*, long
unsigned int, int)':
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global/qglobal.cpp:1505: error: invalid
use of undefined type `class AudioObjectRemovePropertyListener(long unsigned
int, const AudioObjectPropertyAddress*, OSStatus (*)(long unsigned int, long
unsigned int, const AudioObjectPropertyAddress*, void*), void*)::QCFString'
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:109: error: forward
declaration of `class AudioObjectRemovePropertyListener(long unsigned int,
const AudioObjectPropertyAddress*, OSStatus (*)(long unsigned int, long
unsigned int, const AudioObjectPropertyAddress*, void*), void*)::QCFString'
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global/qglobal.cpp: In
function `QString qt_mac_from_pascal_string(const unsigned char*)':
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global/qglobal.cpp:1510: error: invalid
use of undefined type `class AudioObjectRemovePropertyListener(long unsigned
int, const AudioObjectPropertyAddress*, OSStatus (*)(long unsigned int, long
unsigned int, const AudioObjectPropertyAddress*, void*), void*)::QCFString'
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/kernel/qcore_mac_p.h:109: error: forward
declaration of `class AudioObjectRemovePropertyListener(long unsigned int,
const AudioObjectPropertyAddress*, OSStatus (*)(long unsigned int, long
unsigned int, const AudioObjectPropertyAddress*, void*), void*)::QCFString'
/private/tmp/qt-mac-opensource-src-4.2.1/src/corelib/global/qglobal.cpp:1516: error: cannot
declare static function inside another function
EDIT: Noch eine Frage: Hat es überhaupt schon mal jemand geschafft Qt 4 unter Mac OS 10.3. zu installieren?