Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 2006 18:36:35 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@freebsd.org
Subject:   Does kbtv work for you?
Message-ID:  <20061228183635.b1502d94.torfinn.ingolfsen@broadpark.no>

next in thread | raw e-mail | index | archive | help
Hello,
Has anyone sucessfully compiled kbtv (multimedia/kbtv) recently?
When I try it, one of the dependencies (py-kde) fails:
c++ -c -Wno-deprecated-declarations -pipe -fPIC -O -pipe -Wall -W -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde353 -I/usr/local/include -I/usr/local/include/kio -I../kio -I/usr/local/include/kparts -I/usr/local/include/python2.4 -I/usr/X11R6/mkspecs/freebsd-g++ -I/usr/X11R6/include -o sipkpartspart1.o sipkpartspart1.cpp
In file included from sipkpartspart1.cpp:2707:
sipkpartsKPartsGUIActivateEvent.h:39: error: invalid use of undefined type `struct KParts::GUIActivateEvent'
/usr/local/include/kparts/part.h:49: error: forward declaration of `struct KParts::GUIActivateEvent'
In file included from sipkpartspart1.cpp:2712:
sipkpartsKPartsPartSelectEvent.h:39: error: invalid use of undefined type `struct KParts::PartSelectEvent'
/usr/local/include/kparts/part.h:48: error: forward declaration of `struct KParts::PartSelectEvent'
In file included from sipkpartspart1.cpp:2713:
sipkpartsKPartsPartActivateEvent.h:39: error: invalid use of undefined type `struct KParts::PartActivateEvent'
/usr/local/include/kparts/part.h:47: error: forward declaration of `struct KParts::PartActivateEvent'
In file included from sipkpartspart1.cpp:15418:
sipkpartsKPartsEvent.h:39: error: expected class-name before '{' token
sipkpartsKPartsEvent.h:42: error: expected unqualified-id before '&' token
sipkpartsKPartsEvent.h:42: error: expected `,' or `...' before '&' token
sipkpartsKPartsEvent.h:42: error: ISO C++ forbids declaration of `parameter' with no type
sipkpartspart1.cpp: In constructor `sipKParts_PartSelectEvent::sipKParts_PartSelectEvent(bool, KParts::Part*, QWidget*)':
sipkpartspart1.cpp:15426: error: type `struct KParts::PartSelectEvent' is not a direct base of `sipKParts_PartSelectEvent'
sipkpartspart1.cpp: In constructor `sipKParts_PartSelectEvent::sipKParts_PartSelectEvent(const KParts::PartSelectEvent&)':
sipkpartspart1.cpp:15431: error: type `struct KParts::PartSelectEvent' is not a direct base of `sipKParts_PartSelectEvent'
sipkpartspart1.cpp: In member function `const char* sipKParts_PartSelectEvent::eventName() const':
sipkpartspart1.cpp:15451: error: `KParts::Event' has not been declared
sipkpartspart1.cpp: In function `PyObject* meth_KParts_PartSelectEvent_selected(PyObject*, PyObject*)':
sipkpartspart1.cpp:15469: error: invalid use of undefined type `struct KParts::PartSelectEvent'
/usr/local/include/kparts/part.h:48: error: forward declaration of `struct KParts::PartSelectEvent'
sipkpartspart1.cpp: In function `PyObject* meth_KParts_PartSelectEvent_part(PyObject*, PyObject*)':
sipkpartspart1.cpp:15494: error: invalid use of undefined type `struct KParts::PartSelectEvent'
/usr/local/include/kparts/part.h:48: error: forward declaration of `struct KParts::PartSelectEvent'
sipkpartspart1.cpp: In function `PyObject* meth_KParts_PartSelectEvent_widget(PyObject*, PyObject*)':
sipkpartspart1.cpp:15519: error: invalid use of undefined type `struct KParts::PartSelectEvent'
/usr/local/include/kparts/part.h:48: error: forward declaration of `struct KParts::PartSelectEvent'
sipkpartspart1.cpp: In function `PyObject* meth_KParts_PartSelectEvent_test(PyObject*, PyObject*)':
sipkpartspart1.cpp:15544: error: incomplete type `KParts::PartSelectEvent' used in nested name specifier
sipkpartspart1.cpp: In function `void* cast_KParts_PartSelectEvent(void*, sipWrapperType*)':
sipkpartspart1.cpp:15566: error: `Event' is not a member of `KParts'
sipkpartspart1.cpp:15566: error: expected primary-expression before ')' token
sipkpartspart1.cpp:15566: error: expected primary-expression before '*' token
sipkpartspart1.cpp:15566: error: expected primary-expression before ')' token
sipkpartspart1.cpp: In function `void release_KParts_PartSelectEvent(void*, int)':
sipkpartspart1.cpp:15580: warning: possible problem detected in invocation of delete operator:
sipkpartspart1.cpp:15580: warning: invalid use of undefined type `struct KParts::PartSelectEvent'
/usr/local/include/kparts/part.h:48: warning: forward declaration of `struct KParts::PartSelectEvent'
sipkpartspart1.cpp:15580: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-kde/work/PyKDE-3.16.0/kparts.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-kde/work/PyKDE-3.16.0.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-kde.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.4744.32 env make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! x11-toolkits/py-kde   (bad C++ code)
--->  Packages processed: 0 done, 67 ignored, 0 skipped and 1 failed

This is on
root@kg-quiet# uname -a
FreeBSD kg-quiet.kg4.no 6.1-STABLE FreeBSD 6.1-STABLE #10: Wed Oct 11 19:49:47 CEST 2006     root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET  amd64
-- 
Regards,
Torfinn Ingolfsen,
Norway




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061228183635.b1502d94.torfinn.ingolfsen>