Registered Member
|
So it's:
1) svn co svn://anonsvn.kde.org/home/kde/trunk/ex ... k/ktorrent 2) cd ktorrent 3) svn co svn://anonsvn.kde.org/home/kde/branches ... mon/admin/ 4) svn cat svn://anonsvn.kde.org/home/kde/trunk/ex ... kefile.cvs > Makefile.cvs 5) make -f Makefile.cvs 6) ./configure 7) make 8) make install ? It all goes well until 7, at which point I get: if /usr/local/bin/bash ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_C ONFIG_H -I. -I. -I.. -I./. -I/usr/local/include -I/usr/X11R6/include -DQT_THRE AD_SUPPORT -D_THREAD_SAFE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAM ESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexcep tions -MT pluginmanagerprefpage.lo -MD -MP -MF ".deps/pluginmanagerprefpage.Tpo " -c -o pluginmanagerprefpage.lo pluginmanagerprefpage.cpp; then mv -f ".deps/p luginmanagerprefpage.Tpo" ".deps/pluginmanagerprefpage.Plo"; else rm -f ".deps/p luginmanagerprefpage.Tpo"; exit 1; fi pluginmanagerprefpage.cpp:26:33: pluginmanagerwidget.h: No such file or director y pluginmanagerprefpage.cpp: In member function `virtual void kt::PluginManagerPre fPage::createWidget(QWidget*)': pluginmanagerprefpage.cpp:50: error: invalid use of undefined type `struct Plugi nManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerW idget' pluginmanagerprefpage.cpp:51: error: invalid use of undefined type `struct Plugi nManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerW idget' pluginmanagerprefpage.cpp:52: error: invalid use of undefined type `struct Plugi nManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerW idget' pluginmanagerprefpage.cpp:53: error: invalid use of undefined type `struct Plugi nManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerW idget' pluginmanagerprefpage.cpp:54: error: invalid use of undefined type `struct Plugi nManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerW idget' pluginmanagerprefpage.cpp: In member function `virtual void kt::PluginManagerPre fPage::updateData()': pluginmanagerprefpage.cpp:60: error: invalid use of undefined type `struct Plugi nManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerW idget' pluginmanagerprefpage.cpp: In member function `virtual void kt::PluginManagerPre fPage::deleteWidget()': pluginmanagerprefpage.cpp:82: warning: possible problem detected in invocation o f delete operator: pluginmanagerprefpage.cpp:82: warning: invalid use of undefined type `struct Plu ginManagerWidget' pluginmanagerprefpage.h:26: warning: forward declaration of `struct PluginManage rWidget' pluginmanagerprefpage.cpp:82: note: neither the destructor nor the class-specifi c operator delete will be called, even if they are declared when the class is de fined. pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::o nLoad()': pluginmanagerprefpage.cpp:88: error: invalid use of undefined type `struct Plugi nManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerW idget' pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::o nUnload()': pluginmanagerprefpage.cpp:99: error: invalid use of undefined type `struct Plugi nManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerW idget' *** Error code 1 Stop in /usr/home/rjohnd/ktorrent/libktorrent. *** Error code 1 Stop in /usr/home/rjohnd/ktorrent/libktorrent. *** Error code 1 Stop in /usr/home/rjohnd/ktorrent. *** Error code 1 Stop in /usr/home/rjohnd/ktorrent. leela# If I have missed out any steps, you might want to update the FAQ, I've followed the steps verbatim. Perhaps it's just a FreeBSD thing. |
Moderator
|
Can you find pluginmanagerwidget.h somewhere in the directory ? (do find -name pluginmanagerwidget.h)
This file gets generated from a file named pluginmanagerwidget.ui Normally when stuff like this happens automake screws up and you just have to rerun make -f Makefile.cvs and configure. |
Registered Member
|
Nope, there's no pluginmanagerwidget.h anywhere in the ~/ktorrent/* tree.
There's a pluginmanagerwidget.ui there, but the .h doesn't seem to have been made. Remaking Makefile.cvs and redoing configure doesn't seem to fix things. Would you like me to email you the full results from make > makelog.log? |
Moderator
|
Maybe your admin dir is screwed up ...
OK, delete the admin dir and try an older version : svn co svn://anonsvn.kde.org/home/kde/branches ... mon/admin/ Or try 3.3, all you need to do is change the version number. And do not forget to make -f Makefile.cvs and ./configure |
Registered Member
|
Something odd happening with 3.4, it tells me that I don't have autoconf (which I do)
leela# make -f Makefile.cvs This Makefile is only for the CVS repository This will be deleted before making the distribution autoconf: not found *** AUTOCONF NOT FOUND!. *** KDE requires autoconf 2.53 or newer *** Error code 1 Stop in /usr/home/rjohnd/ktorrent. *** Error code 1 Stop in /usr/home/rjohnd/ktorrent. leela# pkg_info | grep autoconf autoconf-2.13.000227_5 Automatically configure source code on many Un*x platforms autoconf-2.53_3 Automatically configure source code on many Un*x platforms autoconf-2.59_2 Automatically configure source code on many Un*x platforms leela# |
Moderator
|
|
Registered Member
|
|
Registered Member
|
|
Registered Member
|
Just building now. Bugger. Crashes when starting UPnP plugin. ktorrent -- debug output: ============ rjohnd@leela$ ktorrent --debug Bound to port 6681 Loading plugin infowidgetplugin Loading plugin searchplugin rjohnd@leela$ Loading plugin upnpplugin Trying to find UPnP devices on the local network Location : http://192.168.254.254:80/IGD.xml Server : SpeedTouch 510 4.2.7.16.0 UPnP/1.0 (0515AHFRL) Doing default port mappings ... terminate called after throwing an instance of 'bt::Error' KCrash: Application 'ktorrent' crashing... ========== KDE backtrace follows: [New LWP 100121] [Switching to LWP 100121] 0x29380757 in wait4 () from /lib/libc.so.6 #0 0x29380757 in wait4 () from /lib/libc.so.6 #1 0x29371fb9 in waitpid () from /lib/libc.so.6 #2 0x2931e05a in waitpid () from /usr/lib/libpthread.so.2 #3 0x289a188a in KCrash::defaultCrashHandler () from /usr/local/lib/libkdecore.so.6 #4 0x293266aa in sigaction () from /usr/lib/libpthread.so.2 #5 0xbfbfff94 in ?? () #6 0x00000006 in ?? () #7 0xbfbfd310 in ?? () #8 0xbfbfd050 in ?? () #9 0x00000000 in ?? () #10 0x2932617c in sigaction () from /usr/lib/libpthread.so.2 #11 0x293efbf0 in abort () from /lib/libc.so.6 #12 0x2823e8bb in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.5 #13 0x28242ac0 in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.5 #14 0x28242af8 in std::terminate () from /usr/lib/libstdc++.so.5 #15 0x28242a4c in __cxa_throw () from /usr/lib/libstdc++.so.5 #16 0x29d5417e in kt::UPnPRouter::forward () from /usr/local/lib/kde3/ktupnpplugin.so #17 0x29d57ee1 in kt::UPnPPrefWidget::addDevice () from /usr/local/lib/kde3/ktupnpplugin.so #18 0x29d58007 in kt::UPnPPrefWidget::qt_invoke () from /usr/local/lib/kde3/ktupnpplugin.so #19 0x28d92aac in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3 #20 0x29d4d5e3 in kt::UPnPMCastSocket::discovered () from /usr/local/lib/kde3/ktupnpplugin.so #21 0x29d4f8ec in kt::UPnPMCastSocket::onReadyRead () from /usr/local/lib/kde3/ktupnpplugin.so #22 0x29d4fa61 in kt::UPnPMCastSocket::qt_invoke () from /usr/local/lib/kde3/ktupnpplugin.so #23 0x28d92aac in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3 #24 0x28d9311d in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3 #25 0x28a417fc in KNetwork::KClientSocketBase::readyRead () from /usr/local/lib/libkdecore.so.6 #26 0x28a41831 in KNetwork::KClientSocketBase::slotReadActivity () from /usr/local/lib/libkdecore.so.6 #27 0x28a42474 in KNetwork::KClientSocketBase::qt_invoke () from /usr/local/lib/libkdecore.so.6 #28 0x28a45b6f in KNetwork::KDatagramSocket::qt_invoke () from /usr/local/lib/libkdecore.so.6 #29 0x29d4fa2c in kt::UPnPMCastSocket::qt_invoke () from /usr/local/lib/kde3/ktupnpplugin.so #30 0x28d92aac in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3 #31 0x28d92fe0 in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3 #32 0x29092cf5 in QSocketNotifier::activated () from /usr/X11R6/lib/libqt-mt.so.3 #33 0x28dabb28 in QSocketNotifier::event () from /usr/X11R6/lib/libqt-mt.so.3 #34 0x28d37035 in QApplication::internalNotify () from /usr/X11R6/lib/libqt-mt.so.3 #35 0x28d371ca in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3 #36 0x28912142 in KApplication::notify () from /usr/local/lib/libkdecore.so.6 #37 0x28d2b9ef in QEventLoop::activateSocketNotifiers () from /usr/X11R6/lib/libqt-mt.so.3 #38 0x28ce9900 in QEventLoop::processEvents () from /usr/X11R6/lib/libqt-mt.so.3 #39 0x28d4b48f in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3 #40 0x28d36398 in QApplication::enter_loop () from /usr/X11R6/lib/libqt-mt.so.3 #41 0x28efe78c in QDialog::exec () from /usr/X11R6/lib/libqt-mt.so.3 #42 0x08067b68 in KTorrent::qt_invoke () #43 0x28d92aac in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3 #44 0x28d9311d in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3 #45 0x286a8e80 in KAction::activated () from /usr/local/lib/libkdeui.so.6 #46 0x286a9791 in KAction::slotActivated () from /usr/local/lib/libkdeui.so.6 #47 0x286adaf7 in KAction::slotPopupActivated () from /usr/local/lib/libkdeui.so.6 #48 0x286adb8d in KAction::qt_invoke () from /usr/local/lib/libkdeui.so.6 #49 0x28d92aac in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3 #50 0x290922fb in QSignal::signal () from /usr/X11R6/lib/libqt-mt.so.3 #51 0x28da9be2 in QSignal::activate () from /usr/X11R6/lib/libqt-mt.so.3 #52 0x28e8955c in QPopupMenu::mouseReleaseEvent () from /usr/X11R6/lib/libqt-mt.so.3 #53 0x2869aa6c in KPopupMenu::mouseReleaseEvent () from /usr/local/lib/libkdeui.so.6 #54 0x28dc5687 in QWidget::event () from /usr/X11R6/lib/libqt-mt.so.3 #55 0x28d37035 in QApplication::internalNotify () from /usr/X11R6/lib/libqt-mt.so.3 #56 0x28d372e1 in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3 #57 0x28912142 in KApplication::notify () from /usr/local/lib/libkdecore.so.6 #58 0x28cd8c85 in QETWidget::translateMouseEvent () from /usr/X11R6/lib/libqt-mt.so.3 #59 0x28cd7c97 in QApplication::x11ProcessEvent () from /usr/X11R6/lib/libqt-mt.so.3 #60 0x28ce93c0 in QEventLoop::processEvents () from /usr/X11R6/lib/libqt-mt.so.3 #61 0x28d4b48f in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3 #62 0x28d4b3e8 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3 #63 0x28d36370 in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3 #64 0x080641a4 in main () |
Moderator
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]