This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[r608117]: Very Nice.

Tags: None
(comma "," separated)
cyrylas
Registered Member
Posts
59
Karma
0

Fri Dec 15, 2006 2:12 pm
I'm playing with this whole day today. Latest snapshot compiled without a glitch (althrough speeds are wrong, as I posted before i other thread), but I can't compile svn.

I've triead clean sources, uninstalling previous versions, overwriting previuos versions and other thing what came to my mind. I just can't work it out :/
George
Moderator
Posts
5421
Karma
1

Fri Dec 15, 2006 3:27 pm
Strange that it doesn't compile, probably an automake problem, anyway I have made some small modifications, which should make it compile again. (NOTE: rerun make -f Makefile.cvs and configure)
cyrylas
Registered Member
Posts
59
Karma
0

Sat Dec 16, 2006 9:13 am
Didn't work :(

Maybe my computer is just somewhat screwed?

All things what I can state:
1. Version 2.0.3 from PCLinuxOS repositories works good.
2. 2.1beta1 and latest snapshot can compile, but speed is wrong measured.
3. SVN can't compile.

I have automake version 1.8.5.
George
Moderator
Posts
5421
Karma
1

Sat Dec 16, 2006 10:02 am
What exactly, is the output when you compile it ?

As for the beta with the wrong speed, there's got to be some bits and pieces from previous versions being loaded. I would do a search for libktorrent and see how many you can find.
cyrylas
Registered Member
Posts
59
Karma
0

Sat Dec 16, 2006 12:25 pm
To coolect all output I've made small script:
And the output striped from 'svn co' is here


I've looked for 'libktorrent' or even '*ktorrent*'. Removed everything except source files. It didn't work either...
laiseng
Registered Member
Posts
22
Karma
0

Sat Dec 16, 2006 2:34 pm
cyrylas wrote:
Tomasu wrote:
Try to do a full recompile. Maybe the best way is to completely delete source directory and check out a fresh copy from SVN. If that doesn't work out we'll see what's wrong.
Did all that before asking. See my last few messages. Totally blew away the ktorrent source folder and used the faq to reget svn.


Yep, I've allready tried this too. And settings.h is really missing. At least 'find . -name 'settings.h'' finds nothing.


ya, settings.h is missing
even in kde extrager svn where we got the source from
http://websvn.kde.org/trunk/extragear/n ... t/torrent/

settings.h isnt present there
laiseng
Registered Member
Posts
22
Karma
0

Sat Dec 16, 2006 2:51 pm
if i'm not wrong setting.h is the new file added into ktorrent
it is a new feature

the person who added this didnt update the svn with settings.h

so to go around this is to go to ktorrent/libktorrent/torrent/httptracker.cpp

and delete the "#include "settings.h"

and then comment out line 116 to 122 like what shown below

Code: Select all
/*if (Settings::doNotUseKDEProxy())
      {
         // set the proxy if the doNotUseKDEProxy ix enabled (URL must be valid to)
         KURL url = KURL::fromPathOrURL(Settings::httpTrackerProxy());
         if (url.isValid())
            md["UseProxy"] = url.pathOrURL();
      }*/


it has something to do with proxy settings.
if you use proxy setting then you shoulnt do what i've told you
imported4-Tomasu
Registered Member
Posts
302
Karma
0

Sat Dec 16, 2006 6:11 pm
What exactly, is the output when you compile it ?
Check page 1. I've already pasted the output days ago.
George
Moderator
Posts
5421
Karma
1

Sat Dec 16, 2006 6:23 pm
settings.h is generated during the build, it used to be in apps/ktorrent and recently it moved to libktorrent, it has been part of KTorrent for a very long time.

I'll try to compile it with automake.
George
Moderator
Posts
5421
Karma
1

Sat Dec 16, 2006 6:38 pm
As a temporary measure, cd to libktorrent and run make settings.h after you have run configure.

I'll see if I can make automake behave properly.
George
Moderator
Posts
5421
Karma
1

Sat Dec 16, 2006 6:56 pm
OK, now it will compile again with autocrap
cyrylas
Registered Member
Posts
59
Karma
0

Sun Dec 17, 2006 10:19 am
Yay, it compile again! Thanks a lot George :)
laiseng
Registered Member
Posts
22
Karma
0

Tue Dec 19, 2006 1:36 pm
me too..
compile success after doing the solutions given...
thanx george


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar