Registered Member
|
Hi !
I succesfuly installed port of Ktorent, but then I disocovered it was just version 1.0. I tried to use it but got errors that torrent file is not valid. So I download 1.1rc and tried to compile. I get this problem> Making all in src if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../. -I./.. -I/usr/local/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -MT ktorrent.o -MD -MP -MF ".deps/ktorrent.Tpo" -c -o ktorrent.o ktorrent.cpp; then mv -f ".deps/ktorrent.Tpo" ".deps/ktorrent.Po"; else rm -f ".deps/ktorrent.Tpo"; exit 1; fi In file included from ktorrent.cpp:67: pref.h:28:26: downloadpref.h: No such file or directory pref.h:29:25: generalpref.h: No such file or directory pref.h:30:25: searchpref.h: No such file or directory In file included from ktorrent.cpp:67: pref.h:37: error: expected class-name before '{' token pref.h:47: error: expected class-name before '{' token pref.h:58: error: expected class-name before '{' token pref.h:58: warning: `class PrefPageThree' has virtual functions but non-virtual destructor ktorrent.cpp:68:22: settings.h: No such file or directory In file included from ktorrent.cpp:73: torrentcreatordlg.h:15:35: torrentcreatordlgbase.h: No such file or directory In file included from ktorrent.cpp:73: torrentcreatordlg.h:20: error: expected class-name before '{' token In file included from ktorrent.cpp:74: infowidget.h:26:28: infowidgetbase.h: No such file or directory In file included from ktorrent.cpp:74: infowidget.h:41: error: expected class-name before '{' token infowidget.h:45: error: `WFlags' has not been declared infowidget.h:45: error: ISO C++ forbids declaration of `fl' with no type ktorrent.cpp: In constructor `KTorrent::KTorrent()': ktorrent.cpp:96: error: no matching function for call to `QSplitter::moveToLast(InfoWidget*&)' /usr/X11R6/include/qsplitter.h:83: note: candidates are: void QSplitter::moveToLast(QWidget*) ktorrent.cpp: In member function `void KTorrent::applySettings()': ktorrent.cpp:191: error: `Settings' has not been declared ktorrent.cpp:191: error: `maxDownloads' undeclared (first use this function) ktorrent.cpp:191: error: (Each undeclared identifier is reported only once for each function it appears in.) ktorrent.cpp:192: error: `Settings' has not been declared ktorrent.cpp:192: error: `maxConnections' undeclared (first use this function) ktorrent.cpp:193: error: `Settings' has not been declared ktorrent.cpp:193: error: `maxUploadRate' undeclared (first use this function) ktorrent.cpp:194: error: `Settings' has not been declared ktorrent.cpp:194: error: `maxDownloadRate' undeclared (first use this function) ktorrent.cpp:195: error: `Settings' has not been declared ktorrent.cpp:195: error: `keepSeeding' undeclared (first use this function) ktorrent.cpp:197: error: `Settings' has not been declared ktorrent.cpp:197: error: `showSystemTrayIcon' undeclared (first use this function) ktorrent.cpp:207: error: `Settings' has not been declared ktorrent.cpp:207: error: `tempDir' undeclared (first use this function) ktorrent.cpp:208: error: `Settings' has not been declared ktorrent.cpp:208: error: `udpTrackerPort' undeclared (first use this function) ktorrent.cpp:209: error: `Settings' has not been declared ktorrent.cpp:209: error: `port' undeclared (first use this function) ktorrent.cpp: In member function `virtual bool KTorrent::queryClose()': ktorrent.cpp:291: error: `Settings' has not been declared ktorrent.cpp:291: error: `showSystemTrayIcon' undeclared (first use this function) ktorrent.cpp: In member function `void KTorrent::fileNew()': ktorrent.cpp:313: error: 'class TorrentCreatorDlg' has no member named 'show' ktorrent.cpp:314: error: 'class TorrentCreatorDlg' has no member named 'exec' ktorrent.cpp: In member function `void KTorrent::askAndSave(bt::TorrentControl*)': ktorrent.cpp:351: error: `Settings' has not been declared ktorrent.cpp:351: error: `saveDir' undeclared (first use this function) ktorrent.cpp:351: error: `Settings' has not been declared ktorrent.cpp:366: error: `Settings' has not been declared ktorrent.cpp: In member function `void KTorrent::startDownload()': ktorrent.cpp:400: error: `Settings' has not been declared ktorrent.cpp:400: error: `maxDownloads' undeclared (first use this function) *** Error code 1 Am I missing something. Seems like I don-t have whole package, and I downloaded source tar file... Andy |
Moderator
|
|
Registered Member
|
|
Registered Member
|
I am a automake newbie running FreeBSD 5.2.1, and still have problems... Source is downloaded from SVN as described in the FAQ. I then have a directory with these contents:
I try to run aclocal...
Why is it called configure.in.in? I rename the file to configure.in, and try again...
I have tried to make something out of this, but it seems to be out of my league. Any help will be appreciated. -Bart- |
Registered Member
|
|
Moderator
|
You also need to get unsermake (Note to self : update FAQ), which you can find somewhere in the svn repository + you need an admin dir :
svn co svn://anonsvn.kde.org/home/kde/branches ... mon/admin/ Then make -f Makefile.cvs and it should go Edit: see http://www.kde.me.uk/index.php?page=unsermake for unsermake |
Registered Member
|
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]