![]() Registered Member ![]()
|
edit3: SOLVED
the sources http://http.us.debian.org/debian/pool/main/k/ktorrent/ktorrent_3.3.4+dfsg.1.orig.tar.bz2 miss the GeoIP.c and GeoIP.h in subfolder plugins/infowidgets. The original sources http://ktorrent.org/downloads/3.3.4/ktorrent-3.3.4.tar.bz2 work like expected, so just use these. original post below: I tried to compile ktorrent 3.3.4+dsfg.1 under kubuntu karmic according to the steps given on kdeapps.com, but when configuring, cmake gives the following output, indicating something is wrong with paths to libgeoip1? I'm a educated noob if you will, but I really couldnt get it to work. Anyone else has encountered something like this, or found a solution?
Edit: of course it works if I try to configure and then compile with disabled infowidget support like this:
But thats more a workaround than a solution ^^ Edit2: Configuring and compiling ktorrent 4.0beta1 on the same machine worked without problems. 3bob
Last edited by 3bob on Wed Mar 10, 2010 7:56 pm, edited 6 times in total.
|
![]() Moderator ![]()
|
It complains about not finding GeoIP.c which should be in plugins/infowidget, it is part of the source.
Is that file there ? |
![]() Registered Member ![]()
|
nope, in plugins/infowidget, theres no GeoIP.c, only the geoip folder with the country flags. I thought cmake looks for it in some libgeoip-dev path, after looking into the CMakeLists.txt in plugins/infowidget/ (row 7 and 8 )
edit: I just checked, in ktorrent 4.0beta1 its right where it should be, GeoIP.c and GeoIP.h are in plugins/infowidget/ |
![]() Moderator ![]()
|
Download the official source and compile that:
http://ktorrent.org/downloads/3.3.4/kto ... .4.tar.bz2 |
![]() Registered Member ![]()
|
ok, that was the problem. *note to self, always use the official sources first...*
I had used the sources from http://http.us.debian.org/debian/pool/main/k/ktorrent/ktorrent_3.3.4+dfsg.1.orig.tar.bz2, and they miss the GeoIP.c and GeoIP.h in subfolder plugins/infowidget/. Well thanks for pointing me to the correct source! And after noobing around like this, it still feels great when the compiling goes through^^ |
![]() Registered Member ![]()
|
Of course it is missing. It is one of the reasons for the tarball +dfsg.1 prefix. |
![]() Moderator ![]()
|
There is an option you can pass to cmake to use the installed geoip library (add -DWITH_SYSTEM_GEOIP to the cmake commandline), debian probably compiles with this option.
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]