Registered Member
|
Hi,
I compiled ktorrent with "./configure --enable-geoip" but allways it show at Country : "N/A" ( I tryed it with the 2.0rc1 and the svn version. What is my mistake ? |
Registered Member
|
There's no need to configure with '--enable-geoip' since it's enabled by default.
Weird thing is that what you get for the country ("N/A") is received from GeoIP code so apparently it should be working but it somehow does not recognize any countries. Does the file (geoip.dat) exist? It should be somewhere in your $KDEDIR/share/apps/ktorrent |
Registered Member
|
|
Registered Member
|
I think you misunderstood me. It's not in your local KDE dir ~/.kde/ but it should be in *global* KDE dir like this: $KDEDIR/share/apps/ktorrent/geoip
On my Dapper it's in this path: /usr/share/apps/ktorrent/geoip On SuSE it'll probably be /opt/kde3/share/apps/ktorrent/geoip |
Registered Member
|
|
Registered Member
|
Thanks all
now it works |
Registered Member
|
This may work for you but it is still an issue in svn. It seems that
if ENABLE_GEOIP ktdata_DATA += geoip.dat GeoIP-LICENSE.txt endif doesn't really add both files to ktdata_DATA. At least these files never get installed currently. I have tried to locate the error but failed so far. Furthermore I don't see why the flags should be installed if I disable GeoIP. Wouldn't it be easier to exclude the whole subdir if GeoIP is disabled? |
Moderator
|
It's just an error in the configure.in.in files, I still need to fix it. |
Moderator
|
|
Registered Member
|
Not here (latest SVN, FreeBSD 6.1)
pass --enable-geoip to configure -> geoip.dat does not get installed pass nothing to configure -> geoip.dat does not get installed In both cases the db should have been installed. Why not disable the whole geoip subdir if I don't want geoip? Installing the flags doesn't make sense if ktorrent doesn't use them anyway. |
Moderator
|
Are you using automake ? I'm using unsermake here, and maybe there is a difference between the two.
Because it is easier to tell people to install one file when they come complaining that they don't see any flags in the infowidget (some distros do not like the database license, the reason why we added this option) |
Registered Member
|
Yes, automake 1.9.6. Apparently that makes the difference, somehow. Ah, I see. |
Moderator
|
|
Registered Member
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft