[ipv6calc] using external GeoIP and IP2Location libraries

Peter Bieringer pb at bieringer.de
Wed Feb 14 23:31:17 CET 2007

Hi again,

At 09.02.2007 21:48, Niko Tyni wrote:
> On Mon, Feb 05, 2007 at 05:42:18PM +0100, Peter Bieringer wrote:
>> At 02.02.2007 09:40, Niko Tyni wrote:
>>> I still plan to hack the build system so that it could use an external
>>> copy of the ip2location and geoip source trees, I just haven't gotten
>>> around to doing it yet. With it there would be no need of shipping
>>> those in the ipv6calc tarball, which would be a good thing IMO.
>> For sure, would be great if you find time to do the work.
> OK, here we go. This patch adds the following configure options:
> --with-ip2location-headers=DIR
> --with-ip2location-lib=DIR
> --with-ip2location-static
> --with-geoip-headers=DIR
> --with-geoip-lib=DIR
> --with-geoip-static
> Furthermore, it renames (for consistency, YMMV)
> --enable-geoip-default-file => --with-geoip-default-file
> and removes the now unnecessary
> --enable-geoip-system

I had to make also changes to ipv6calc/Makefile.in according to your
changes, working now.

Also I fixed the spec file, where the with-* options didn't work at all.

> There's also some documentation, including instructions on building
> IP2Location (README.BUILDING-IP2LOCATION), as I run into some problems
> with it.
> The removal of the libraries is not in the patch, you'll have to remove
> databases/IP2Location and databases/GeoIP yourself. I did modify the
> LICENSE file to anticipate this, though :)
> You might want to consider distributing a modified and bootstrapped
> version of the IP2Location library tarball separately on your site to
> make it easier for users.

After short work, I have created a spec file (attached) with all your

@others: please do some build/run tests to check, whether the new
introduced or changed options are proper working.

Thank you,
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D                       mailto:pb at bieringer.de
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/
Xing/OpenBC                 http://www.xing.com/hp/Peter_Bieringer/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: IP2Location-2.1.1.spec
Url: http://lists.deepspace6.net/pipermail/ipv6calc/attachments/20070214/7ba4d141/attachment.pl 

More information about the ipv6calc mailing list