LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2008, 02:59 AM   #1
pvandyk2005
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1
Posts: 29

Rep: Reputation: 15
imposible to compile ktorrent


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
can some one help me with this?
 
Old 07-17-2008, 04:33 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 07-17-2008, 05:11 AM   #3
pvandyk2005
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1
Posts: 29

Original Poster
Rep: Reputation: 15
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.

I've used same disks.
 
Old 07-17-2008, 05:36 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Slack comes with ktorrent in /extra, no need to compile it yourself: ftp://ftp.slackware.com/pub/slackwar...xtra/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.
 
Old 07-17-2008, 05:36 AM   #5
pvandyk2005
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1
Posts: 29

Original Poster
Rep: Reputation: 15
If I'm trying to install a slack package "tgz" instalation is running without any problem. When I'm trying to start ktorrent I have following error

Quote:
ktorrent: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/libktorrent-2.2.6.so)
compiling from source I have an error regarding qt, therefore I've installed (qt-x11-free-3.3.8b.tar.gz) but same results
 
Old 07-17-2008, 06:13 AM   #6
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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.
 
Old 07-17-2008, 06:25 AM   #7
pvandyk2005
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1
Posts: 29

Original Poster
Rep: Reputation: 15
Lightbulb

I suppose that cxxlibs is actualy glibcxx. Am I correct?

glibc is 2.5

Last edited by pvandyk2005; 07-17-2008 at 06:34 AM.
 
Old 07-17-2008, 06:34 AM   #8
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Hmmm... my results are different:
Code:
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.
 
Old 07-17-2008, 08:15 AM   #9
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by weibullguy View Post
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...
 
Old 07-17-2008, 08:21 AM   #10
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
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...

http://ktorrent.org/downloads/2.2.7/...-2.2.7.tar.bz2
 
Old 07-17-2008, 03:23 PM   #11
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by Okie View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ktorrent decodedthought Linux - Newbie 5 03-22-2008 02:31 AM
imposible situations Hedon Debian 3 04-18-2006 07:12 AM
need help with ktorrent megadsonic SUSE / openSUSE 2 12-27-2005 01:46 PM
Imposible to send data to /dev/lp0 Deep-Blue-ro Programming 6 05-28-2004 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration