![]() Registered Member ![]()
|
Hi everyone, I'm using CentOS v4.3 (a RHEL 4 clone) and I can't get ktorrent 2.0.3 to compile correctly.
uname -a = 2.6.9-34.0.2.ELsmp #1 SMP Fri Jul 7 19:52:49 CDT 2006 i686 i686 i386 GNU/Linux qt = 3.3.3-10.RHEL4 Here is the relevant output from the make command: source='infowidgetbase.cpp' object='infowidgetbase.lo' libtool=yes \ depfile='.deps/infowidgetbase.Plo' tmpdepfile='.deps/infowidgetbase.TPlo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -I./../../libktorrent -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c -o infowidgetbase.lo `test -f 'infowidgetbase.cpp' || echo './'`infowidgetbase.cpp infowidgetbase.cpp: In constructor `InfoWidgetBase::InfoWidgetBase(QWidget*, const char*, uint)': infowidgetbase.cpp:40: error: invalid use of undefined type `struct KTabWidget' infowidgetbase.h:30: error: forward declaration of `struct KTabWidget' infowidgetbase.cpp:41: error: invalid use of undefined type `struct KTabWidget' infowidgetbase.h:30: error: forward declaration of `struct KTabWidget' infowidgetbase.cpp:41: error: invalid use of undefined type `struct KTabWidget' infowidgetbase.h:30: error: forward declaration of `struct KTabWidget' infowidgetbase.cpp:42: error: invalid use of undefined type `struct KTabWidget' infowidgetbase.h:30: error: forward declaration of `struct KTabWidget' infowidgetbase.cpp:44: error: no matching function for call to `QWidget::QWidget(KTabWidget*&, const char[13])' /usr/lib/qt-3.3/include/qwidget.h:718: note: candidates are: QWidget::QWidget(const QWidget&) /usr/lib/qt-3.3/include/qwidget.h:139: note: QWidget::QWidget(QWidget*, const char*, uint) infowidgetbase.cpp:213: error: no matching function for call to `QWidget::QWidget(KTabWidget*&, const char[12])' /usr/lib/qt-3.3/include/qwidget.h:718: note: candidates are: QWidget::QWidget(const QWidget&) /usr/lib/qt-3.3/include/qwidget.h:139: note: QWidget::QWidget(QWidget*, const char*, uint) infowidgetbase.cpp:224: error: no matching function for call to `QHBoxLayout::addWidget(KTabWidget*&)' /usr/lib/qt-3.3/include/qlayout.h:386: note: candidates are: void QBoxLayout::addWidget(QWidget*, int, int) make[4]: *** [infowidgetbase.lo] Error 1 Can someone please help? I really love ktorrent, but I also need to run CentOS/RHEL. |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
Unfortunately CentOS v4.3 only comes with KDE 3.3.1, and the most recent update (v4.4) does not change that. This is tied directly to Redhat, and which versions they choose to support for their enterprise customers. http://www.centos.org/docs/4/html/relea ... U4-en.html Is there a workaround that would allow me to use ktorrent with the older versions of KDE and QT? |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
It's surprising there aren't more people having the same issue considering RHEL has such a large user population. I guess they just use other torrent programs.. ![]() I searched for someone with a CentOS package for ktorrent, but no one seems to have one. I tried rebuilding a source RPM, but that doesn't work either (errors). How can I get in touch with the ktorrent developers? |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
Thanks, I just found that today. I'm in the process of having yum upgrade me via the KDE packaging project. Here are the steps 1. rpm --import http://kde-redhat.sourceforge.net/gpg-p ... a-3e1ab2ca 2. Download http://apt.kde-redhat.org/apt/kde-redha ... t/kde.repo and drop it in /etc/yum.repos.d/ 3. yum update qt kdelibs kdebase 4. reboot 5. http://dag.wieers.com/packages/ktorrent/ I'll let everyone know if it works.. |
![]() Registered Member ![]()
|
Registered users: Bing [Bot], Evergrowing, Google [Bot]