Hi,

PyQt-20090313 doesn't build on my Mac (10.4.11):

~/src/PyQt-mac-gpl-4.5-snapshot-20090313 $ make
g++ -c -pipe -fno-strict-aliasing -Os -fPIC -arch ppc -Wall -W -isysroot False 
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/Qt4.5/mkspecs/macx-g++ -I. 
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore 
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui 
-I/usr/include 
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I. -I. 
-F/Library/Frameworks -o qpycore_chimera.o qpycore_chimera.cpp
In file included from /usr/include/wchar.h:112,
                 from 
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/unicodeobject.h:118,
                 from 
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:83,
                 from qpycore_chimera.cpp:36:
/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
...

Full error log attached.

Thanks

 ~ Akos.

--
Akos Polster
mailto:[email protected]
http://akos.pipacs.com
g++ -c -pipe -fno-strict-aliasing -Os -fPIC -arch ppc -Wall -W -isysroot False 
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/Qt4.5/mkspecs/macx-g++ -I. 
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore 
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui 
-I/usr/include 
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I. -I. 
-F/Library/Frameworks -o qpycore_chimera.o qpycore_chimera.cpp
In file included from /usr/include/wchar.h:112,
                 from 
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/unicodeobject.h:118,
                 from 
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:83,
                 from qpycore_chimera.cpp:36:
/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
In file included from 
/Library/Frameworks/QtCore.framework/Versions/4/Headers/QList:1,
                 from qpycore_chimera.cpp:39:
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:50:20: error: 
iterator: No such file or directory
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:51:16: error: 
list: No such file or directory
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:54:15: error: 
new: No such file or directory
In file included from /Library/Frameworks/QtCore.framework/Headers/qobject.h:48,
                 from 
/Library/Frameworks/QtCore.framework/Headers/qiodevice.h:46,
                 from 
/Library/Frameworks/QtCore.framework/Headers/qdatastream.h:45,
                 from 
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qmetatype.h:49,
                 from 
/Library/Frameworks/QtCore.framework/Versions/4/Headers/QMetaType:1,
                 from qpycore_chimera.cpp:41:
/Library/Frameworks/QtCore.framework/Headers/qstring.h:60:22: error: string: No 
such file or directory
In file included from 
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qvariant.h:49,
                 from 
/Library/Frameworks/QtCore.framework/Versions/4/Headers/QVariant:1,
                 from qpycore_chimera.h:44,
                 from qpycore_chimera.cpp:43:
/Library/Frameworks/QtCore.framework/Headers/qmap.h:50:15: error: map: No such 
file or directory
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:315: error: 
expected unqualified-id before '<' token
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:315: error: 
expected ',' or '...' before '<' token
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:315: error: ISO 
C++ forbids declaration of 'parameter' with no type
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:317: error: ISO 
C++ forbids declaration of 'list' with no type
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:317: error: 
invalid use of '::'
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:317: error: 
'list' declared as an 'inline' field
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:317: error: 
expected ';' before '<' token
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:321: error: 
expected `;' before 'private'
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h: In static 
member function 'static QList<T> QList<T>::fromStdList(int)':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:316: error: 
'list' was not declared in this scope
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:316: error: 
'back_inserter' is not a member of 'std'
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:316: error: no 
matching function for call to 'qCopy(<type error>, <type error>, <type error>)'
/Library/Frameworks/QtCore.framework/Headers/qstring.h: At global scope:
/Library/Frameworks/QtCore.framework/Headers/qstring.h:65: error: expected 
initializer before '<' token
/Library/Frameworks/QtCore.framework/Headers/qstring.h:478: error: expected 
unqualified-id before '&' token
/Library/Frameworks/QtCore.framework/Headers/qstring.h:478: error: expected ',' 
or '...' before '&' token
/Library/Frameworks/QtCore.framework/Headers/qstring.h:478: error: ISO C++ 
forbids declaration of 'parameter' with no type
/Library/Frameworks/QtCore.framework/Headers/qstring.h:479: error: 'string' in 
namespace 'std' does not name a type
/Library/Frameworks/QtCore.framework/Headers/qstring.h:485: error: expected ',' 
or '...' before '&' token
/Library/Frameworks/QtCore.framework/Headers/qstring.h:485: error: ISO C++ 
forbids declaration of 'QStdWString' with no type
/Library/Frameworks/QtCore.framework/Headers/qstring.h:486: error: 
'QStdWString' does not name a type
/Library/Frameworks/QtCore.framework/Headers/qstring.h:1026: error: 'string' in 
namespace 'std' does not name a type
/Library/Frameworks/QtCore.framework/Headers/qstring.h:1029: error: expected 
unqualified-id before '&' token
/Library/Frameworks/QtCore.framework/Headers/qstring.h:1029: error: expected 
',' or '...' before '&' token
/Library/Frameworks/QtCore.framework/Headers/qstring.h:1029: error: ISO C++ 
forbids declaration of 'parameter' with no type
/Library/Frameworks/QtCore.framework/Headers/qstring.h: In static member 
function 'static QString QString::fromStdString(int)':
/Library/Frameworks/QtCore.framework/Headers/qstring.h:1030: error: 's' was not 
declared in this scope
/Library/Frameworks/QtCore.framework/Headers/qstring.h: At global scope:
/Library/Frameworks/QtCore.framework/Headers/qstring.h:1033: error: 
'QStdWString' does not name a type
/Library/Frameworks/QtCore.framework/Headers/qstring.h:1047: error: expected 
',' or '...' before '&' token
/Library/Frameworks/QtCore.framework/Headers/qstring.h:1047: error: ISO C++ 
forbids declaration of 'QStdWString' with no type
/Library/Frameworks/QtCore.framework/Headers/qstring.h: In static member 
function 'static QString QString::fromStdWString(int)':
/Library/Frameworks/QtCore.framework/Headers/qstring.h:1048: error: 's' was not 
declared in this scope
/Library/Frameworks/QtCore.framework/Headers/qstring.h: At global scope:
/Library/Frameworks/QtCore.framework/Headers/qstring.h:1047: warning: unused 
parameter 'QStdWString'
/Library/Frameworks/QtCore.framework/Headers/qmap.h:161: error: 'map' in 
namespace 'std' does not name a type
/Library/Frameworks/QtCore.framework/Headers/qmap.h:161: error: expected ',' or 
'...' before '<' token
/Library/Frameworks/QtCore.framework/Headers/qmap.h:162: error: 
using-declaration for non-member at class scope
/Library/Frameworks/QtCore.framework/Headers/qmap.h:162: error: expected ';' 
before '<' token
/Library/Frameworks/QtCore.framework/Headers/qmap.h:883: error: expected 
unqualified-id before '<' token
/Library/Frameworks/QtCore.framework/Headers/qmap.h:883: error: expected ',' or 
'...' before '<' token
/Library/Frameworks/QtCore.framework/Headers/qmap.h:883: error: ISO C++ forbids 
declaration of 'parameter' with no type
/Library/Frameworks/QtCore.framework/Headers/qmap.h: In constructor 'QMap<Key, 
T>::QMap(int)':
/Library/Frameworks/QtCore.framework/Headers/qmap.h:887: error: 'map' in 
namespace 'std' does not name a type
/Library/Frameworks/QtCore.framework/Headers/qmap.h:887: error: expected 
unqualified-id before '<' token
/Library/Frameworks/QtCore.framework/Headers/qmap.h:888: error: 'it' was not 
declared in this scope
/Library/Frameworks/QtCore.framework/Headers/qmap.h:888: error: 'other' was not 
declared in this scope
/Library/Frameworks/QtCore.framework/Headers/qmap.h: At global scope:
/Library/Frameworks/QtCore.framework/Headers/qmap.h:896: error: expected 
constructor, destructor, or type conversion before '<' token
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h: In member 
function 'void QList<T>::node_construct(QList<T>::Node*, const T&) [with T = 
QByteArray]':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:426:   
instantiated from 'void QList<T>::append(const T&) [with T = QByteArray]'
qpycore_chimera.cpp:76:   instantiated from here
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:341: error: no 
matching function for call to 'operator new(long unsigned int, 
QList<QByteArray>::Node*&)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h: In member 
function 'void QList<T>::node_construct(QList<T>::Node*, const T&) [with T = 
const Chimera*]':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:426:   
instantiated from 'void QList<T>::append(const T&) [with T = const Chimera*]'
qpycore_chimera.cpp:170:   instantiated from here
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:341: error: no 
matching function for call to 'operator new(long unsigned int, QList<const 
Chimera*>::Node*&)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h: In member 
function 'typename QHash<Key, T>::Node* QHash<Key, T>::createNode(uint, const 
Key&, const T&, QHashNode<Key, T>**) [with Key = QByteArray, T = QList<const 
Chimera*>]':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:743:   
instantiated from 'typename QHash<Key, T>::iterator QHash<Key, T>::insert(const 
Key&, const T&) [with Key = QByteArray, T = QList<const Chimera*>]'
qpycore_chimera.cpp:174:   instantiated from here
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:517: error: no 
matching function for call to 'operator new(long unsigned int, void*)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:519: error: no 
matching function for call to 'operator new(long unsigned int, void*)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h: In member 
function 'void QList<T>::node_construct(QList<T>::Node*, const T&) [with T = 
QVariant]':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:426:   
instantiated from 'void QList<T>::append(const T&) [with T = QVariant]'
qpycore_chimera.cpp:1327:   instantiated from here
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:341: error: no 
matching function for call to 'operator new(long unsigned int, 
QList<QVariant>::Node*&)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Headers/qmap.h: In member function 
'QMapData::Node* QMap<Key, T>::node_create(QMapData*, QMapData::Node**, const 
Key&, const T&) [with Key = QString, T = QVariant]':
/Library/Frameworks/QtCore.framework/Headers/qmap.h:512:   instantiated from 
'typename QMap<Key, T>::iterator QMap<Key, T>::insert(const Key&, const T&) 
[with Key = QString, T = QVariant]'
qpycore_chimera.cpp:1359:   instantiated from here
/Library/Frameworks/QtCore.framework/Headers/qmap.h:420: error: no matching 
function for call to 'operator new(long unsigned int, QString*)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Headers/qmap.h:421: error: no matching 
function for call to 'operator new(long unsigned int, QVariant*)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h: In member 
function 'typename QHash<Key, T>::Node* QHash<Key, T>::createNode(uint, const 
Key&, const T&, QHashNode<Key, T>**) [with Key = QString, T = QVariant]':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:743:   
instantiated from 'typename QHash<Key, T>::iterator QHash<Key, T>::insert(const 
Key&, const T&) [with Key = QString, T = QVariant]'
qpycore_chimera.cpp:1393:   instantiated from here
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:517: error: no 
matching function for call to 'operator new(long unsigned int, void*)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:519: error: no 
matching function for call to 'operator new(long unsigned int, void*)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h: In member 
function 'void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, 
QList<T>::Node*) [with T = const Chimera*]':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:525:   
instantiated from 'void QList<T>::detach_helper() [with T = const Chimera*]'
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:111:   
instantiated from 'QList<T>::QList(const QList<T>&) [with T = const Chimera*]'
qpycore_chimera.cpp:148:   instantiated from here
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:360: error: no 
matching function for call to 'operator new(long unsigned int, QList<const 
Chimera*>::Node*)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h: In member 
function 'void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, 
QList<T>::Node*) [with T = QByteArray]':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:525:   
instantiated from 'void QList<T>::detach_helper() [with T = QByteArray]'
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:111:   
instantiated from 'QList<T>::QList(const QList<T>&) [with T = QByteArray]'
qpycore_chimera.cpp:152:   instantiated from here
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:360: error: no 
matching function for call to 'operator new(long unsigned int, 
QList<QByteArray>::Node*)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h: In member 
function 'void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, 
QList<T>::Node*) [with T = QVariant]':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:525:   
instantiated from 'void QList<T>::detach_helper() [with T = QVariant]'
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:381:   
instantiated from 'QList<T>& QList<T>::operator=(const QList<T>&) [with T = 
QVariant]'
qpycore_chimera.cpp:571:   instantiated from here
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qlist.h:360: error: no 
matching function for call to 'operator new(long unsigned int, 
QList<QVariant>::Node*)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h: In static 
member function 'static void QHash<Key, T>::duplicateNode(QHashData::Node*, 
void*) [with Key = QString, T = QVariant]':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:568:   
instantiated from 'void QHash<Key, T>::detach_helper() [with Key = QString, T = 
QVariant]'
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:583:   
instantiated from 'QHash<Key, T>& QHash<Key, T>::operator=(const QHash<Key, 
T>&) [with Key = QString, T = QVariant]'
qpycore_chimera.cpp:607:   instantiated from here
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:504: error: no 
matching function for call to 'operator new(long unsigned int, void*&)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:506: error: no 
matching function for call to 'operator new(long unsigned int, void*&)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h: In static 
member function 'static void QHash<Key, T>::duplicateNode(QHashData::Node*, 
void*) [with Key = QByteArray, T = QList<const Chimera*>]':
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:568:   
instantiated from 'void QHash<Key, T>::detach_helper() [with Key = QByteArray, 
T = QList<const Chimera*>]'
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:284:   
instantiated from 'void QHash<Key, T>::detach() [with Key = QByteArray, T = 
QList<const Chimera*>]'
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:736:   
instantiated from 'typename QHash<Key, T>::iterator QHash<Key, T>::insert(const 
Key&, const T&) [with Key = QByteArray, T = QList<const Chimera*>]'
qpycore_chimera.cpp:174:   instantiated from here
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:504: error: no 
matching function for call to 'operator new(long unsigned int, void*&)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qhash.h:506: error: no 
matching function for call to 'operator new(long unsigned int, void*&)'
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
make[2]: *** [qpycore_chimera.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to