aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: How to embed GeoIP.dat into aMule?  (Read 4438 times)

armadillo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 24
How to embed GeoIP.dat into aMule?
« on: July 22, 2008, 06:23:50 PM »

I build aMule SVN with GeoIP, however it crashes on computers which have not install GeoIP.dat.
How to embed the GeoIP.dat into the application itself? thanks!
Logged

gav616

  • Guest
Re: How to embed GeoIP.dat into aMule?
« Reply #1 on: July 22, 2008, 09:12:45 PM »

make sure you have "geoip" as a dependency (might be something like "geoip-dev" in a deb system.
then add the option  "--enable-geoip" while building. i.e.:

./configure --prefix=/usr  --enable-geoip --enable-debug -disable-optimize
             

p.s.
What version are you trying to build? 2.2.1? SVN? if not, upgrade now!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: How to embed GeoIP.dat into aMule?
« Reply #2 on: July 23, 2008, 09:43:07 AM »

Can you create a backtrace for the crash with a non-existing geoip.dat? This is Mac OS X and current SVN we are talking about, isn't it?
Logged