SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is what I've made to compile ktorrent. I've tried as well to install a tgz file and tar.gz file. I've got errors as well. Last try it was a susubversion
svn co svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/network/ktorrent
cd ktorrent
svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin/
svn cat svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/network/Makefile.cvs > Makefile.cvs
To compile it :
make -f Makefile.cvs
./configure
make
Quote:
<output omited>
ibtorrent.la ../libktorrent/kademlia/libkademlia.la ../libktorrent/interfaces/libinterfaces.la -lkparts
grep: /usr/lib/qt-3.3.8b/lib/libqt-mt.la: No such file or directory
/usr/bin/sed: can't read /usr/lib/qt-3.3.8b/lib/libqt-mt.la: No such file or directory
libtool: link: `/usr/lib/qt-3.3.8b/lib/libqt-mt.la' is not a valid libtool archive
make[4]: *** [libktorrent.la] Error 1
make[4]: Leaving directory `/home/downloads/ktorrent/libktorrent'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/downloads/ktorrent/libktorrent'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/downloads/ktorrent/libktorrent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/downloads/ktorrent'
make: *** [all] Error 2
Use your package manager to install ktorrent. If you insist on installing from source, you need to install the development files for QT. Since you don't tell us what distribution you're using, we can't tell you how to use your package manager to install the QT development files. It will be a package named qt-dev or qt-devel or something along those lines.
My distro is slack 12.1. It's very strange because I've installed ktorrent one month before on slack 12.1 without any problems and i had some issues with mplayer. Now I've got some issues with my HDD and I've bought another one and now i have no problems with mplayer and i have with ktorrent.
If you need the bleeding edge version, might be worth looking at the SlackBuild script for it for the -current tree: ftp://ftp.slackware.com/pub/slackwar...ent.SlackBuild and trying to build using that as a base.
What version of the cxxlibs package have you got installed? /usr/lib/libstdc++.so.6 belongs to that package, so chances are if it can't find it, you either don't have it installed, or it's an old version.
root@computer:~# ldconfig -p | grep libstdc
libstdc++.so.6 (libc6) => /usr/X11R6/lib/libstdc++.so.6
libstdc++.so.5 (libc6) => /usr/i486-slackware-linux/lib/libstdc++.so.5
libstdc++.so.4 (libc6) => /usr/i486-slackware-linux/lib/libstdc++.so.4
libstdc++.so (libc6) => /usr/X11R6/lib/libstdc++.so
libstdc++-libc6.2-2.so.3 (libc6) => /usr/i486-slackware-linux/lib/libstdc++-libc6.2-2.so.3
libstdc++-libc6.1-2.so.3 (libc6) => /usr/i486-slackware-linux/lib/libstdc++-libc6.1-2.so.3
root@computer:~# gcc --version
gcc (GCC) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
That's not a fresh install, but ktorrent works fine. The results from a fresh full install of 12.1 show the same output for the ldconfig command, but the gcc one differs:
Code:
root@othercomputer:~# gcc --version
gcc (GCC) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Use your package manager to install ktorrent. If you insist on installing from source, you need to install the development files for QT. Since you don't tell us what distribution you're using, we can't tell you how to use your package manager to install the QT development files. It will be a package named qt-dev or qt-devel or something along those lines.
Pat V. does not separate development header files in Slackware like debian or ubuntu does, i am glad Pat V. includes the headers & docs all in one package for every package so there is no qt-dev or any sort of $PACKAGE_NAME-dev, i find distros like debian and ubuntu, fedora, suse etc... that separate development headers very annoying to use...
pvandyk2005 if you want to build ktorrent from source you need a ktorrent package that is compatible with qt-3.x the newest ones (ktorrent-3.x) use qt-4 and use cmake to build...
i find distros like debian and ubuntu, fedora, suse etc... that separate development headers very annoying to use...
I agree, but the OP didn't have his distro listed in his profile when I originally posted and he was trying tgz, tar.gz, and svn so the tgz didn't tip me that he was using Slackware. My assumption was that the OP was in over his head, hence my suggestion to use the package manager.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.