[kde-freebsd] problebs instaling kdebase4-runtime

Max Brazhnikov makc at issp.ac.ru
Sun Jan 11 16:16:03 CET 2009


On Sun, 11 Jan 2009 10:24:36 +0000, body body wrote:
> hi all. My  previous report was bad, and i repeat them after fix
>
> thanks for help...
>
> body_bsd# pwd
> /files/ports/x11/kde4
> body_bsd# make install clean
> ===> kde4-4.1.85 depends on file: /usr/local/kde4/bin/kdebugdialog - not
> found
> ===> Verifying install for /usr/local/kde4/bin/kdebugdialog in
> /usr/ports/x11/kdebase4-runtime
> ===> Building for kdebase-runtime-4.1.85
> [ 0%] Built target kdesu-handbook
> [ 0%] Built target kdesu-manpage
> [ 0%] Built target kcontrol-handbook
> [ 0%] Built target bookmarks-handbook
> [ 0%] Built target icons-handbook
> [ 0%] Built target cookies-handbook
> [ 1%] Built target crypto-handbook
> [ 1%] Built target ebrowsing-handbook
> [ 1%] Built target useragent-handbook
> [ 1%] Built target khtml-handbook
> [ 1%] Built target smb-handbook
> [ 1%] Built target emoticons-handbook
> [ 2%] Built target background-handbook
> [ 2%] Built target cache-handbook
> [ 2%] Built target desktop-handbook
> [ 2%] Built target desktopbehavior-handbook
> [ 2%] Built target email-handbook
> [ 2%] Built target filemanager-handbook
> [ 3%] Built target filetypes-handbook
> [ 3%] Built target helpindex-handbook
> [ 3%] Built target kcmcss-handbook
> [ 3%] Built target kcmkonsole-handbook
> [ 3%] Built target kcmlaunch-handbook
> [ 3%] Built target kcmnotify-handbook
> [ 4%] Built target kcmtaskbar-handbook
> [ 4%] Built target kdm-handbook
> [ 4%] Built target language-handbook
> [ 4%] Built target netpref-handbook
> [ 4%] Built target panel-handbook
> [ 4%] Built target panelappearance-handbook
> [ 5%] Built target passwords-handbook
> [ 5%] Built target paths-handbook
> [ 5%] Built target performance-handbook
> [ 5%] Built target proxy-handbook
> [ 5%] Built target spellchecking-handbook
> [ 5%] Built target faq-handbook
> [ 6%] Built target glossary-handbook
> [ 6%] Built target kdebugdialog-handbook
> [ 6%] Built target khelpcenter-handbook
> [ 6%] Built target bookmarks-handbook
> [ 6%] Built target bzip2-handbook
> [ 6%] Built target cgi-handbook
> [ 8%] Built target finger-handbook
> [ 8%] Built target fish-handbook
> [ 8%] Built target floppy-handbook
> [ 8%] Built target gzip-handbook
> [ 8%] Built target info-handbook
> [ 8%] Built target man-handbook
> [ 9%] Built target nfs-handbook
> [ 9%] Built target sftp-handbook
> [ 9%] Built target smb-handbook
> [ 9%] Built target tar-handbook
> [ 9%] Built target thumbnail-handbook
> [ 9%] Built target knetattach-handbook
> [ 10%] Built target quickstart-handbook
> [ 10%] Built target userguide-handbook
> [ 10%] Built target visualdict-handbook
> [ 12%] Built target kdeinit_kuiserver
> [ 12%] Built target kuiserver
> [ 13%] Built target drkonqi
> [ 19%] Built target kdeinit_khelpcenter
> [ 20%] Built target khc_indexbuilder
> [ 20%] Built target khelpcenter
> [ 21%] Built target kioexec
> [ 21%] Built target kio_about
> [ 22%] Building CXX object
> kioslave/bookmarks/CMakeFiles/kio_bookmarks.dir/kio_bookmarks_pixmap.o
> In file included from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:30: /usr/local/include/qbuffer.h:47: error:
> function definition does not declare parameters
> /usr/local/include/qbuffer.h:90: error: 'QBuffer' has not been declared
> /usr/local/include/qbuffer.h:90: error: non-member function 'QByteArray
> buffer()' cannot have cv-qualifier
> /usr/local/include/qbuffer.h: In function 'QByteArray buffer()':
> /usr/local/include/qbuffer.h:91: error: 'a' was not declared in this scope
> /usr/local/include/qbuffer.h: At global scope:
> /usr/local/include/qbuffer.h:93: error: 'Offset' in class 'QIODevice' does
> not name a type
> /usr/local/include/qbuffer.h:96: error: 'Offset' in class 'QIODevice' does
> not name a type
> In file included from /usr/local/include/qpainter.h:44,
>   from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:31: /usr/local/include/qfontmetrics.h:53:
> error: function definition does not declare parameters
> In file included from /usr/local/include/qpainter.h:45,
>   from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:31: /usr/local/include/qfontinfo.h:46: error:
> function definition does not declare parameters
> /usr/local/include/qfontinfo.h:84: error: invalid use of incomplete type
> 'struct QFontInfo'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration
> of 'struct QFontInfo'
> In file included from /usr/local/include/qpen.h:43,
>   from /usr/local/include/qpainter.h:47,
>   from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:31: /usr/local/include/qshared.h:46: error:
> function definition does not declare parameters
> In file included from /usr/local/include/qpainter.h:47,
>   from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:31: /usr/local/include/qpen.h:47: error:
> function definition does not declare parameters
> /usr/local/include/qpen.h:95: error: expected initializer before '&' token
> /usr/local/include/qpen.h:96: error: expected initializer before '&' token
> In file included from /usr/local/include/qpainter.h:48,
>   from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:31: /usr/local/include/qbrush.h:47: error:
> function definition does not declare parameters
> /usr/local/include/qbrush.h:87: error: expected initializer before '&'
> token /usr/local/include/qbrush.h:88: error: expected initializer before
> '&' token In file included from /usr/local/include/qmemarray.h:42,
>   from /usr/local/include/qpointarray.h:42,
>   from /usr/local/include/qpainter.h:49,
>   from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:31: /usr/local/include/qgarray.h:46: error:
> function definition does not declare parameters
> /usr/local/include/qgarray.h:119: error: 'QGArray' has not been declared
> /usr/local/include/qgarray.h:119: error: non-member function 'char*
> at(uint)' cannot have cv-qualifier
> /usr/local/include/qgarray.h: In function 'char* at(uint)':
> /usr/local/include/qgarray.h:127: error: 'shd' was not declared in this
> scope
> In file included from /usr/local/include/qpointarray.h:42,
>   from /usr/local/include/qpainter.h:49,
>   from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:31: /usr/local/include/qmemarray.h: At global
> scope:
> /usr/local/include/qmemarray.h:48: error: expected class-name before '{'
> token
> /usr/local/include/qmemarray.h:71: error: 'Optimization' has not been
> declared
> /usr/local/include/qmemarray.h: In constructor
> 'QMemArray<type>::QMemArray(int, int)':
> /usr/local/include/qmemarray.h:55: error: class 'QMemArray<type>' does not
> have any field named 'QGArray'
> /usr/local/include/qmemarray.h: In constructor
> 'QMemArray<type>::QMemArray(int)':
> /usr/local/include/qmemarray.h:59: error: class 'QMemArray<type>' does not
> have any field named 'QGArray'
> /usr/local/include/qmemarray.h: In copy constructor
> 'QMemArray<type>::QMemArray(const QMemArray<type>&)':
> /usr/local/include/qmemarray.h:60: error: class 'QMemArray<type>' does not
> have any field named 'QGArray'
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::operator=(const QMemArray<type>&)':
> /usr/local/include/qmemarray.h:63: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:63: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:63: error: '::assign' has not been declared
> /usr/local/include/qmemarray.h: In member function 'type*
> QMemArray<type>::data() const':
> /usr/local/include/qmemarray.h:64: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:64: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:64: error: '::data' has not been declared
> /usr/local/include/qmemarray.h: In member function 'uint
> QMemArray<type>::nrefs() const':
> /usr/local/include/qmemarray.h:65: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'uint
> QMemArray<type>::size() const':
> /usr/local/include/qmemarray.h:66: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::isEmpty() const':
> /usr/local/include/qmemarray.h:68: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::isNull() const':
> /usr/local/include/qmemarray.h:69: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::resize(uint)':
> /usr/local/include/qmemarray.h:70: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::resize(uint, int)':
> /usr/local/include/qmemarray.h:71: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::truncate(uint)':
> /usr/local/include/qmemarray.h:72: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::fill(const type&, int)':
> /usr/local/include/qmemarray.h:74: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'void
> QMemArray<type>::detach()':
> /usr/local/include/qmemarray.h:75: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::assign(const QMemArray<type>&)':
> /usr/local/include/qmemarray.h:79: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:79: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:79: error: '::assign' has not been declared
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::assign(const type*, uint)':
> /usr/local/include/qmemarray.h:81: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:81: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:81: error: '::assign' has not been declared
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::duplicate(const QMemArray<type>&)':
> /usr/local/include/qmemarray.h:83: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:83: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:83: error: '::duplicate' has not been
> declared
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::duplicate(const type*, uint)':
> /usr/local/include/qmemarray.h:85: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:85: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:85: error: '::duplicate' has not been
> declared
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::setRawData(const type*, uint)':
> /usr/local/include/qmemarray.h:87: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:87: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:87: error: '::setRawData' has not been
> declared
> /usr/local/include/qmemarray.h: In member function 'void
> QMemArray<type>::resetRawData(const type*, uint)':
> /usr/local/include/qmemarray.h:90: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'int
> QMemArray<type>::find(const type&, uint) const':
> /usr/local/include/qmemarray.h:92: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'int
> QMemArray<type>::contains(const type&) const':
> /usr/local/include/qmemarray.h:94: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'void
> QMemArray<type>::sort()':
> /usr/local/include/qmemarray.h:95: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'int
> QMemArray<type>::bsearch(const type&) const':
> /usr/local/include/qmemarray.h:97: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'type&
> QMemArray<type>::operator[](int) const':
> /usr/local/include/qmemarray.h:100: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:100: error: expected primary-expression
> before '&' token
> /usr/local/include/qmemarray.h:100: error: expected primary-expression
> before ')' token
> /usr/local/include/qmemarray.h: In member function 'type&
> QMemArray<type>::at(uint) const':
> /usr/local/include/qmemarray.h:102: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:102: error: expected primary-expression
> before '&' token
> /usr/local/include/qmemarray.h:102: error: expected primary-expression
> before ')' token
> /usr/local/include/qmemarray.h: In member function
> 'QMemArray<type>::operator const type*() const':
> /usr/local/include/qmemarray.h:103: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:103: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:103: error: '::data' has not been declared
> In file included from /usr/local/include/qpainter.h:49,
>   from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:31: /usr/local/include/qpointarray.h: At
> global scope:
> /usr/local/include/qpointarray.h:51: error: function definition does not
> declare parameters
> /usr/local/include/qpointarray.h:101: error: expected initializer before
> '&' token
> /usr/local/include/qpointarray.h:102: error: expected initializer before
> '&' token
> /usr/local/include/qpointarray.h:109: error: 'QPointArray' has not been
> declared
> /usr/local/include/qpointarray.h: In function 'void setPoint(uint, const
> QPoint&)':
> /usr/local/include/qpointarray.h:111: error: invalid initialization of
> reference of type 'const QPoint&' from expression of type 'int'
> /usr/local/include/qpointarray.h:109: error: in passing argument 2 of 'void
> setPoint(uint, const QPoint&)'
> In file included from /usr/local/include/qpainter.h:50,
>   from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:31: /usr/local/include/qwmatrix.h: At global
> scope:
> /usr/local/include/qwmatrix.h:51: error: function definition does not
> declare parameters
> /usr/local/include/qwmatrix.h:113: error: expected initializer before
> 'operator'
> /usr/local/include/qwmatrix.h:120: error: expected initializer before '&'
> token
> /usr/local/include/qwmatrix.h:121: error: expected initializer before '&'
> token
> In file included from
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:31: /usr/local/include/qpainter.h:67: error:
> function definition does not declare parameters
> /usr/local/include/qpainter.h:445: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:450: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:455: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:460: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:465: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:477: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:482: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:487: error: 'RasterOp' in namespace 'Qt' does
> not name a type
> /usr/local/include/qpainter.h:492: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:497: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:506: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:515: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:524: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:534: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:539: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:544: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:555: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:561: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:567: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:572: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:578: error: 'CoordinateMode' has not been
> declared
> /usr/local/include/qpainter.h:578: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:583: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:588: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:593: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:598: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:603: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:608: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:613: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:618: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:623: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:628: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:633: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:638: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:644: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:650: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:657: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:662: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:667: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:672: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:677: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:682: error: 'TextDirection' has not been
> declared
> /usr/local/include/qpainter.h:682: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:687: error: 'TextDirection' has not been
> declared
> /usr/local/include/qpainter.h:687: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:693: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:699: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /usr/local/include/qpainter.h:705: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:64: error: forward declaration
> of 'struct QPainter'
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp: In member function 'void
> BookmarksProtocol::echoImage(const QString&, const QString&, const
> QString&)':
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:55: error: variable 'QPainter painter' has
> initializer but incomplete type
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp: In member function 'void
> BookmarksProtocol::echoPixmap(const QPixmap&)':
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:71: error: 'QBuffer' was not declared in this
> scope
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:71: error: expected `;' before 'buffer'
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:72: error: request for member 'open' in
> 'buffer', which is of non-class type 'QByteArray ()()'
> /files/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.1.85/kioslave/book
>marks/kio_bookmarks_pixmap.cpp:73: error: no matching function for call to
> 'QPixmap::save(QByteArray (*)(), const char [4]) const'
> /usr/local/include/qt4/QtGui/qpixmap.h:132: note: candidates are: bool
> QPixmap::save(const QString&, const char*, int) const
> /usr/local/include/qt4/QtGui/qpixmap.h:133: note: bool
> QPixmap::save(QIODevice*, const char*, int) const
> *** Error code 1

could you rebuild with CMAKE_VERBOSE, e.g. cd x11/kde4 && make -DCMAKE_VERBOSE 
It looks that kde4 picks up qt3 headers instead of qt4:

~> pkg_info -W /usr/local/include/qbuffer.h
/usr/local/include/qbuffer.h was installed by package qt-3.3.8_9

Max


More information about the kde-freebsd mailing list