aMule Forum

English => Compilation problems => Topic started by: armadillo on July 22, 2008, 06:23:50 PM

Title: How to embed GeoIP.dat into aMule?
Post by: armadillo 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!
Title: Re: How to embed GeoIP.dat into aMule?
Post by: gav616 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!
Title: Re: How to embed GeoIP.dat into aMule?
Post by: wuischke 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?