Updating x11/kdelibs4 compile failure

David Southwell david at vizion2000.net
Wed Dec 2 10:36:49 UTC 2009


> On Wed, 2 Dec 2009 10:10:42 +0000, David Southwell wrote:
> > Is this a problem with qt4 dependencies???
> >
> > Has anyone a fix for this?
> > Thanks in advance
> >
> > This is on amd64 Freebsd 7.2 p3 system:
> >
> > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.4/kio/bookmarks/kbookmarkmanager
> >.c c:148: instantiated from here
> > /usr/local/include/qptrlist.h:50: error: 'next' was not declared in this
> >  scope /usr/local/include/qptrlist.h: In member function 'bool
> > QPtrListStdIterator<type>::operator!=(const QPtrListStdIterator<type>&)
> >  const [with type = KBookmark]':
> > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.4/kio/bookmarks/kbookmarkmanager
> >.c c:617: instantiated from here
> > /usr/local/include/qptrlist.h:54: error: 'const class
> > QPtrListStdIterator<KBookmark>' has no member named 'node'
> > /usr/local/include/qptrlist.h: In member function
> >  'QPtrListStdIterator<type> QPtrListStdIterator<type>::operator++() [with
> >  type = KBookmark]':
> > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.4/kio/bookmarks/kbookmarkmanager
> >.c c:617: instantiated from here
> > /usr/local/include/qptrlist.h:50: error: 'next' was not declared in this
> >  scope /usr/local/include/qptrlist.h: In copy constructor
> > 'QPtrList<type>::QPtrList(const QPtrList<type>&) [with type =
> > QDBusObjectPath]':
> > /usr/local/include/qt4/QtCore/qmetatype.h:127:   instantiated from 'void*
> > qMetaTypeConstructHelper(const T*) [with T = QPtrList<QDBusObjectPath>]'
> > /usr/local/include/qt4/QtCore/qmetatype.h:152:   instantiated from 'int
> > qRegisterMetaType(const char*, T*) [with T = QPtrList<QDBusObjectPath>]'
> > /usr/local/include/qt4/QtDBus/qdbusextratypes.h:181:   instantiated from
> >  here /usr/local/include/qptrlist.h:69: error: type 'QGList' is not a
> >  direct base of 'QPtrList<QDBusObjectPath>'
> > /usr/local/include/qptrlist.h: In copy constructor
> > 'QPtrList<type>::QPtrList(const QPtrList<type>&) [with type =
> > QDBusSignature]':
> > /usr/local/include/qt4/QtCore/qmetatype.h:127:   instantiated from 'void*
> > qMetaTypeConstructHelper(const T*) [with T = QPtrList<QDBusSignature>]'
> > /usr/local/include/qt4/QtCore/qmetatype.h:152:   instantiated from 'int
> > qRegisterMetaType(const char*, T*) [with T = QPtrList<QDBusSignature>]'
> > /usr/local/include/qt4/QtDBus/qdbusextratypes.h:183:   instantiated from
> >  here /usr/local/include/qptrlist.h:69: error: type 'QGList' is not a
> >  direct base of 'QPtrList<QDBusSignature>'
> > *** Error code 1
> > 3 errors
> > *** Error code 2
> > 1 error
> > *** Error code 2
> > 1 error
> > *** Error code 1
> >
> > Stop in /usr/ports/x11/kdelibs4.
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 

> 
> It picks up qt3 headers. As a workaround, deinstall qt3 before updating
>  kde4 ports.
> 

I only have qt4 installed!!

David


More information about the freebsd-ports mailing list