Hi,
I was compiling qt4-mac yesterday version 4.6.2 and it worked well but I
was not able to compile pyqt4-mac-py25 or pyqt4-mac-py26 ! So I switched
back to qt4-mac 4.6.1 but got the same compilation error! My system is
fink unstable on MacOS 10.6 64-bit
...
g++ -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I.
-I/sw/src/fink.build/pyqt4-mac-py25-4.6-1/PyQt-mac-gpl-4.6/qpy/QtCore
-I/sw/include/python2.5 -I/sw/lib/qt4-mac/mkspecs/default
-I/sw/lib/qt4-mac/lib/QtCore.framework/Headers -I/sw/lib/qt4-mac/include
-F/sw/src/fink.build/pyqt4-mac-py25-4.6-1/PyQt-mac-gpl-4.6/qpy/QtCore
-F/sw/lib/qt4-mac/lib -o sipQtCoreQResource.o sipQtCoreQResource.cpp
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h: In copy constructor
'QResource::QResource(const QResource&)':
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:170: error:
'QScopedPointer<T, Cleanup>::QScopedPointer(const QScopedPointer<T,
Cleanup>&) [with T = QResourcePrivate, Cleanup =
QScopedPointerDeleter<QResourcePrivate>]' is private
/sw/lib/qt4-mac/lib/QtCore.framework/Headers/qresource.h:59: error:
within this context
sipQtCoreQResource.cpp: In constructor 'sipQResource::sipQResource(const
QResource&)':
sipQtCoreQResource.cpp:78: note: synthesized method
'QResource::QResource(const QResource&)' first required here
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h: In static member
function 'static void QScopedPointerDeleter<T>::cleanup(T*) [with T =
QResourcePrivate]':
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:100: instantiated from
'QScopedPointer<T, Cleanup>::~QScopedPointer() [with T =
QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]'
/sw/lib/qt4-mac/lib/QtCore.framework/Headers/qresource.h:59:
instantiated from here
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:59: error: invalid
application of 'sizeof' to incomplete type 'QResourcePrivate'
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:59: error: creating
array with negative size ('-0x00000000000000001')
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:60: error: invalid
application of 'sizeof' to incomplete type 'QResourcePrivate'
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:60: error: creating
array with negative size ('-0x00000000000000001')
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:62: warning: possible
problem detected in invocation of delete operator:
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:54: warning: 'pointer'
has incomplete type
/sw/lib/qt4-mac/lib/QtCore.framework/Headers/qresource.h:56: warning:
forward declaration of 'struct QResourcePrivate'
/sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:62: note: neither the
destructor nor the class-specific operator delete will be called, even
if they are declared when the class is defined.
make[1]: *** [sipQtCoreQResource.o] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.JsI4VG failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-pyqt4-mac-py25-4.6-1
(Reading database ... 160084 files and directories currently installed.)
Removing fink-buildlock-pyqt4-mac-py25-4.6-1 ...
Failed: phase compiling: pyqt4-mac-py25-4.6-1 failed
FYI,
dpkg -l sip-py25 sip-py25-bin
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii sip-py25 4.10-1 Create Python bindings for C and C++ Libs
ii sip-py25-bin 4.10-1 Create Python bindings for C and C++ Libs
both fresh recompiled !
I also got a interesting error message with a previous compiled version
of pyqt4, starting some pyqt-application:
ocordes$ ./fv_qt.py
Traceback (most recent call last):
File "./fv_qt.py", line 11, in <module>
from PyQt4.QtCore import *
RuntimeError: the sip module implements API v7.0 but the PyQt4.QtCore
module requires API v6.0
Anything, what I can do ?
Cheers,
Oliver
--
(O> (0- _o) -O)
//\ //\ /\\ /\\
V_/_ V_/_ _\_V _\_V
Dr. Oliver-M. Cordes E-Mail: [email protected]
WWW-URL: http://www.astro.uni-bonn.de/~ocordes/
Argelander Institut fuer Astronomie
Universitaet Bonn Phone: (49) 228 / 73-5656
Auf dem Huegel 71 Mobile: (49) 177 / 7995768
D - 53121 Bonn Germany Fax: (49) 228 / 73-3672
Private address: Zukunftsweg 10 , D - 53343 Wachtberg-Villiprott
Private phone: (49) 228 / 7482582
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users