Hi Benjamin,

Thanks for working on this!
Compiling qassistant fails miserably:

g++ -c -pipe -I/sw/lib/system-openssl/include -fPIC -O2 -arch x86_64 
-Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -fPIC 
-DQT_ASSISTANT_CLIENT_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/sw/lib/qt4-mac/mkspecs/macx-g++ -I. 
-I/sw/lib/qt4-mac/include/QtCore -I/sw/lib/qt4-mac/include/QtNetwork 
-I/sw/lib/qt4-mac/include/QtGui -I/sw/lib/qt4-mac/include -Irelease 
-F/sw/lib/qt4-mac/lib -o release/moc_qassistantclient.o 
release/moc_qassistantclient.cpp
In file included from qassistantclient.cpp:42:
qassistantclient.h:49:49: error: QtAssistant/qassistantclient_global.h: No such 
file or directory
In file included from qassistantclient.cpp:42:
qassistantclient.h:49:49: error: QtAssistant/qassistantclient_global.h: No such 
file or directory
In file included from debug/moc_qassistantclient.cpp:10:
debug/../qassistantclient.h:49:49: error: 
QtAssistant/qassistantclient_global.h: No such file or directory
In file included from release/moc_qassistantclient.cpp:10:
release/../qassistantclient.h:49:49: error: 
QtAssistant/qassistantclient_global.h: No such file or directory
In file included from qassistantclient.cpp:42:
qassistantclient.h:57: error: function definition does not declare parameters
In file included from release/moc_qassistantclient.cpp:10:
release/../qassistantclient.h:57: error: function definition does not declare 
parameters
release/moc_qassistantclient.cpp:66: error: 'QAssistantClient' has not been 
declared
release/moc_qassistantclient.cpp:75: error: 'QAssistantClient' has not been 
declared
release/moc_qassistantclient.cpp:75: error: non-member function 'const 
QMetaObject* metaObject()' cannot have cv-qualifier
/sw/lib/qt4-mac/include/QtCore/qobject.h: In function 'const QMetaObject* 
metaObject()':
/sw/lib/qt4-mac/include/QtCore/qobject.h:296: error: 
'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > 
QObject::d_ptr' is protected
release/moc_qassistantclient.cpp:77: error: within this context
/sw/lib/qt4-mac/include/QtCore/qobject.h:296: error: invalid use of non-static 
data member 'QObject::d_ptr'
release/moc_qassistantclient.cpp:77: error: from this location
/sw/lib/qt4-mac/include/QtCore/qobject.h:296: error: 
'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > 
QObject::d_ptr' is protected
release/moc_qassistantclient.cpp:77: error: within this context
/sw/lib/qt4-mac/include/QtCore/qobject.h:296: error: invalid use of non-static 
data member 'QObject::d_ptr'
release/moc_qassistantclient.cpp:77: error: from this location
release/moc_qassistantclient.cpp: At global scope:
release/moc_qassistantclient.cpp:80: error: 'QAssistantClient' has not been 
declared
release/moc_qassistantclient.cpp: In function 'void* qt_metacast(const char*)':
release/moc_qassistantclient.cpp:84: error: expected type-specifier before 
'QAssistantClient'
release/moc_qassistantclient.cpp:84: error: expected `>' before 
'QAssistantClient'
release/moc_qassistantclient.cpp:84: error: expected `(' before 
'QAssistantClient'
release/moc_qassistantclient.cpp:84: error: 'QAssistantClient' was not declared 
in this scope
release/moc_qassistantclient.cpp:84: error: expected primary-expression before 
'>' token
release/moc_qassistantclient.cpp:84: error: invalid use of 'this' in non-member 
function
release/moc_qassistantclient.cpp:84: error: expected `)' before ';' token
release/moc_qassistantclient.cpp:85: error: cannot call member function 
'virtual void* QObject::qt_metacast(const char*)' without object
release/moc_qassistantclient.cpp: At global scope:
release/moc_qassistantclient.cpp:88: error: 'QAssistantClient' has not been 
declared
release/moc_qassistantclient.cpp: In function 'int 
qt_metacall(QMetaObject::Call, int, void**)':
release/moc_qassistantclient.cpp:90: error: cannot call member function 
'virtual int QObject::qt_metacall(QMetaObject::Call, int, void**)' without 
object
release/moc_qassistantclient.cpp:95: error: 'assistantOpened' was not declared 
in this scope
release/moc_qassistantclient.cpp:96: error: 'assistantClosed' was not declared 
in this scope
release/moc_qassistantclient.cpp:97: error: 'error' was not declared in this 
scope
release/moc_qassistantclient.cpp:98: error: 'openAssistant' was not declared in 
this scope
release/moc_qassistantclient.cpp:99: error: 'closeAssistant' was not declared 
in this scope
release/moc_qassistantclient.cpp:100: error: 'showPage' was not declared in 
this scope
release/moc_qassistantclient.cpp:101: error: 'socketConnected' was not declared 
in this scope
release/moc_qassistantclient.cpp:102: error: 'socketConnectionClosed' was not 
declared in this scope
release/moc_qassistantclient.cpp:103: error: 'readPort' was not declared in 
this scope
release/moc_qassistantclient.cpp:104: error: 'procError' was not declared in 
this scope
release/moc_qassistantclient.cpp:105: error: 'socketError' was not declared in 
this scope
release/moc_qassistantclient.cpp:106: error: 'readStdError' was not declared in 
this scope
release/moc_qassistantclient.cpp:115: error: 'isOpen' was not declared in this 
scope
release/moc_qassistantclient.cpp: At global scope:
release/moc_qassistantclient.cpp:138: error: 'QAssistantClient' has not been 
declared
release/moc_qassistantclient.cpp: In function 'void assistantOpened()':
release/moc_qassistantclient.cpp:140: error: invalid use of 'this' in 
non-member function
release/moc_qassistantclient.cpp: At global scope:
release/moc_qassistantclient.cpp:144: error: 'QAssistantClient' has not been 
declared
release/moc_qassistantclient.cpp: In function 'void assistantClosed()':
release/moc_qassistantclient.cpp:146: error: invalid use of 'this' in 
non-member function
release/moc_qassistantclient.cpp: At global scope:
release/moc_qassistantclient.cpp:150: error: 'QAssistantClient' has not been 
declared
release/moc_qassistantclient.cpp: In function 'void error(const QString&)':
release/moc_qassistantclient.cpp:153: error: invalid use of 'this' in 
non-member function
In file included from qassistantclient.cpp:42:
qassistantclient.h:57: error: function definition does not declare parameters
In file included from debug/moc_qassistantclient.cpp:10:
debug/../qassistantclient.h:57: error: function definition does not declare 
parameters
debug/moc_qassistantclient.cpp:66: error: 'QAssistantClient' has not been 
declared
debug/moc_qassistantclient.cpp:75: error: 'QAssistantClient' has not been 
declared
debug/moc_qassistantclient.cpp:75: error: non-member function 'const 
QMetaObject* metaObject()' cannot have cv-qualifier
/sw/lib/qt4-mac/include/QtCore/qobject.h: In function 'const QMetaObject* 
metaObject()':
/sw/lib/qt4-mac/include/QtCore/qobject.h:296: error: 
'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > 
QObject::d_ptr' is protected
debug/moc_qassistantclient.cpp:77: error: within this context
/sw/lib/qt4-mac/include/QtCore/qobject.h:296: error: invalid use of non-static 
data member 'QObject::d_ptr'
debug/moc_qassistantclient.cpp:77: error: from this location
/sw/lib/qt4-mac/include/QtCore/qobject.h:296: error: 
'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > 
QObject::d_ptr' is protected
debug/moc_qassistantclient.cpp:77: error: within this context
/sw/lib/qt4-mac/include/QtCore/qobject.h:296: error: invalid use of non-static 
data member 'QObject::d_ptr'
debug/moc_qassistantclient.cpp:77: error: from this location
debug/moc_qassistantclient.cpp: At global scope:
debug/moc_qassistantclient.cpp:80: error: 'QAssistantClient' has not been 
declared
debug/moc_qassistantclient.cpp: In function 'void* qt_metacast(const char*)':
debug/moc_qassistantclient.cpp:84: error: expected type-specifier before 
'QAssistantClient'
debug/moc_qassistantclient.cpp:84: error: expected `>' before 'QAssistantClient'
debug/moc_qassistantclient.cpp:84: error: expected `(' before 'QAssistantClient'
debug/moc_qassistantclient.cpp:84: error: 'QAssistantClient' was not declared 
in this scope
debug/moc_qassistantclient.cpp:84: error: expected primary-expression before 
'>' token
debug/moc_qassistantclient.cpp:84: error: invalid use of 'this' in non-member 
function
debug/moc_qassistantclient.cpp:84: error: expected `)' before ';' token
debug/moc_qassistantclient.cpp:85: error: cannot call member function 'virtual 
void* QObject::qt_metacast(const char*)' without object
debug/moc_qassistantclient.cpp: At global scope:
debug/moc_qassistantclient.cpp:88: error: 'QAssistantClient' has not been 
declared
debug/moc_qassistantclient.cpp: In function 'int qt_metacall(QMetaObject::Call, 
int, void**)':
debug/moc_qassistantclient.cpp:90: error: cannot call member function 'virtual 
int QObject::qt_metacall(QMetaObject::Call, int, void**)' without object
debug/moc_qassistantclient.cpp:95: error: 'assistantOpened' was not declared in 
this scope
debug/moc_qassistantclient.cpp:96: error: 'assistantClosed' was not declared in 
this scope
debug/moc_qassistantclient.cpp:97: error: 'error' was not declared in this scope
debug/moc_qassistantclient.cpp:98: error: 'openAssistant' was not declared in 
this scope
debug/moc_qassistantclient.cpp:99: error: 'closeAssistant' was not declared in 
this scope
debug/moc_qassistantclient.cpp:100: error: 'showPage' was not declared in this 
scope
debug/moc_qassistantclient.cpp:101: error: 'socketConnected' was not declared 
in this scope
debug/moc_qassistantclient.cpp:102: error: 'socketConnectionClosed' was not 
declared in this scope
debug/moc_qassistantclient.cpp:103: error: 'readPort' was not declared in this 
scope
debug/moc_qassistantclient.cpp:104: error: 'procError' was not declared in this 
scope
debug/moc_qassistantclient.cpp:105: error: 'socketError' was not declared in 
this scope
debug/moc_qassistantclient.cpp:106: error: 'readStdError' was not declared in 
this scope
debug/moc_qassistantclient.cpp:115: error: 'isOpen' was not declared in this 
scope
debug/moc_qassistantclient.cpp: At global scope:
debug/moc_qassistantclient.cpp:138: error: 'QAssistantClient' has not been 
declared
debug/moc_qassistantclient.cpp: In function 'void assistantOpened()':
debug/moc_qassistantclient.cpp:140: error: invalid use of 'this' in non-member 
function
debug/moc_qassistantclient.cpp: At global scope:
debug/moc_qassistantclient.cpp:144: error: 'QAssistantClient' has not been 
declared
debug/moc_qassistantclient.cpp: In function 'void assistantClosed()':
debug/moc_qassistantclient.cpp:146: error: invalid use of 'this' in non-member 
function
debug/moc_qassistantclient.cpp: At global scope:
debug/moc_qassistantclient.cpp:150: error: 'QAssistantClient' has not been 
declared
debug/moc_qassistantclient.cpp: In function 'void error(const QString&)':
debug/moc_qassistantclient.cpp:153: error: invalid use of 'this' in non-member 
function
make[1]: *** [release/moc_qassistantclient.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [debug/moc_qassistantclient.o] Error 1
make[1]: *** Waiting for unfinished jobs....
qassistantclient.cpp:58: error: ISO C++ forbids declaration of 'type name' with 
no type
qassistantclient.cpp:58: error: wrong number of template arguments (1, should 
be 2)
/sw/lib/qt4-mac/include/QtCore/qdatastream.h:67: error: provided for 
'template<class Key, class T> class QMap'
qassistantclient.cpp:58: error: invalid type in declaration before '=' token
qassistantclient.cpp:60: error: expected ',' or '...' before '*' token
qassistantclient.cpp:60: error: ISO C++ forbids declaration of 
'QAssistantClient' with no type
qassistantclient.cpp: In function 'QAssistantClientPrivate* data(int)':
qassistantclient.cpp:63: error: ISO C++ forbids declaration of 'type name' with 
no type
qassistantclient.cpp:63: error: wrong number of template arguments (1, should 
be 2)
/sw/lib/qt4-mac/include/QtCore/qdatastream.h:67: error: provided for 
'template<class Key, class T> class QMap'
qassistantclient.cpp:64: error: 'client' was not declared in this scope
qassistantclient.cpp:65: error: 'create' was not declared in this scope
qassistantclient.cpp:67: error: request for member 'insert' in '* dpointers', 
which is of non-class type 'int'
qassistantclient.cpp: At global scope:
qassistantclient.cpp:60: warning: unused parameter 'QAssistantClient'
qassistantclient.cpp:202: error: 'QAssistantClient' has not been declared
qassistantclient.cpp:202: error: ISO C++ forbids declaration of 
'QAssistantClient' with no type
qassistantclient.cpp: In function 'int QAssistantClient(const QString&, 
QObject*)':
qassistantclient.cpp:203: error: only constructors take base initializers
qassistantclient.cpp:212: error: 'assistantCommand' was not declared in this 
scope
qassistantclient.cpp:216: error: 'assistantCommand' was not declared in this 
scope
qassistantclient.cpp:218: error: 'assistantCommand' was not declared in this 
scope
qassistantclient.cpp:222: error: 'assistantCommand' was not declared in this 
scope
qassistantclient.cpp:225: error: 'socket' was not declared in this scope
qassistantclient.cpp:225: error: invalid use of 'this' in non-member function
qassistantclient.cpp:227: error: 'connect' was not declared in this scope
qassistantclient.cpp:232: error: 'opened' was not declared in this scope
qassistantclient.cpp:233: error: 'proc' was not declared in this scope
qassistantclient.cpp:233: error: invalid use of 'this' in non-member function
qassistantclient.cpp:234: error: 'port' was not declared in this scope
qassistantclient.cpp:235: error: 'pageBuffer' was not declared in this scope
qassistantclient.cpp:237: error: invalid use of 'this' in non-member function
qassistantclient.cpp:239: error: invalid use of 'this' in non-member function
qassistantclient.cpp: At global scope:
qassistantclient.cpp:245: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:277: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:304: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:319: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:337: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:368: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:389: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:394: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:402: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:408: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:419: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:440: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:58: error: ISO C++ forbids declaration of 'type name' with 
no type
qassistantclient.cpp:58: error: wrong number of template arguments (1, should 
be 2)
/sw/lib/qt4-mac/include/QtCore/qdatastream.h:67: error: provided for 
'template<class Key, class T> class QMap'
qassistantclient.cpp:58: error: invalid type in declaration before '=' token
qassistantclient.cpp:60: error: expected ',' or '...' before '*' token
qassistantclient.cpp:60: error: ISO C++ forbids declaration of 
'QAssistantClient' with no type
qassistantclient.cpp: In function 'QAssistantClientPrivate* data(int)':
qassistantclient.cpp:63: error: ISO C++ forbids declaration of 'type name' with 
no type
qassistantclient.cpp:63: error: wrong number of template arguments (1, should 
be 2)
/sw/lib/qt4-mac/include/QtCore/qdatastream.h:67: error: provided for 
'template<class Key, class T> class QMap'
qassistantclient.cpp:64: error: 'client' was not declared in this scope
qassistantclient.cpp:65: error: 'create' was not declared in this scope
qassistantclient.cpp:67: error: request for member 'insert' in '* dpointers', 
which is of non-class type 'int'
qassistantclient.cpp: At global scope:
qassistantclient.cpp:60: warning: unused parameter 'QAssistantClient'
qassistantclient.cpp:202: error: 'QAssistantClient' has not been declared
qassistantclient.cpp:202: error: ISO C++ forbids declaration of 
'QAssistantClient' with no type
qassistantclient.cpp: In function 'int QAssistantClient(const QString&, 
QObject*)':
qassistantclient.cpp:203: error: only constructors take base initializers
qassistantclient.cpp:212: error: 'assistantCommand' was not declared in this 
scope
qassistantclient.cpp:216: error: 'assistantCommand' was not declared in this 
scope
qassistantclient.cpp:218: error: 'assistantCommand' was not declared in this 
scope
qassistantclient.cpp:222: error: 'assistantCommand' was not declared in this 
scope
qassistantclient.cpp:225: error: 'socket' was not declared in this scope
qassistantclient.cpp:225: error: invalid use of 'this' in non-member function
qassistantclient.cpp:227: error: 'connect' was not declared in this scope
qassistantclient.cpp:232: error: 'opened' was not declared in this scope
qassistantclient.cpp:233: error: 'proc' was not declared in this scope
qassistantclient.cpp:233: error: invalid use of 'this' in non-member function
qassistantclient.cpp:234: error: 'port' was not declared in this scope
qassistantclient.cpp:235: error: 'pageBuffer' was not declared in this scope
qassistantclient.cpp:237: error: invalid use of 'this' in non-member function
qassistantclient.cpp:239: error: invalid use of 'this' in non-member function
qassistantclient.cpp: At global scope:
qassistantclient.cpp:245: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:277: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:304: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:319: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:337: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:368: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:389: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:394: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:402: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:408: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:419: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:440: error: invalid use of incomplete type 'struct 
QAssistantClient'
qassistantclient.cpp:54: error: forward declaration of 'struct QAssistantClient'
qassistantclient.cpp:60: warning: 'QAssistantClientPrivate* data(int)' defined 
but not used
make[1]: *** [release/qassistantclient.o] Error 1
make: *** [release-all] Error 2
make: *** Waiting for unfinished jobs....
qassistantclient.cpp:60: warning: 'QAssistantClientPrivate* data(int)' defined 
but not used
make[1]: *** [debug/qassistantclient.o] Error 1
make: *** [debug-all] Error 2
### execution of /var/tmp/tmp.1.JF2CzU failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-qtassistant-compat-mac-4.6.3-1
(Reading database ... 263481 files and directories currently installed.)
Removing fink-buildlock-qtassistant-compat-mac-4.6.3-1 ...
Failed: phase compiling: qtassistant-compat-mac-4.6.3-1 failed


Package manager version: 0.30.2
Distribution version: selfupdate-rsync Wed Jul 20 19:01:00 2011, 10.6, x86_64
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode Version: 3.2.6-1

On 2011-07-20, at 4:04 PM, Benjamin Reed wrote:

> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 7/18/11 10:28 PM, Dmitry Rodionov wrote:
>> Here is my problem: after updating I can not build neither Mac nor X11
> versions of qtiplot.
> 
> I think this should be working now, give it a shot and let me know if
> the updated QtAssistant code builds for you.
> 
> - -- 
> Benjamin Reed a.k.a. Ranger Rick a.k.a. Raccoon Fink
> Fink, KDE, and Mac OS X development
> 
> Blog: http://www.raccoonfink.com/
> Music: http://music.raccoonfink.com/
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iD8DBQFOJzTjUu+jZtP2Zf4RAr4pAJ4lFDXux1rqqH3XruxcvbQOWZ17vQCeLwtI
> e7UiHeYRjwwq2b8obWRwLFs=
> =G47X
> -----END PGP SIGNATURE-----
> 


------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to