From: Gisle Vanem <gisle.vanem@gmail.com>
To: location@lists.ipfire.org
Subject: What generates database.db from database.txt?
Date: Mon, 19 Oct 2020 17:53:36 +0200 [thread overview]
Message-ID: <4eaccd86-f9d9-d53d-738a-6103179a15ef@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 777 bytes --]
Hello list, my ports post.
I'm on Windows and have little interest in installing
IPFire or do any Linux related. But the 'libloc'
library caught my interest. So I did a port to
MSVC, MinGW and clang-cl (x86 only) in a hurry.
Running all the 'test-*' programs, it worked seemingly
well. Until I built the Python3 module and played with
e.g. 'location dump' and 'verify'. Nothing worked :-(
So I reckon the .db file is hosed somehow. AFAICS, it's
not an issue with structure packing or 'fopen(path, "r")'.
Anyway, I want to regenerate 'database.db' from 'database.txt'
'countries.txt' and the 'override' files myself. But how?
According to the git log at:
git://git.ipfire.org/location/location-database.git
there once was a 'compile-database' script. Not now.
--
--gv
next reply other threads:[~2020-10-19 15:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 15:53 Gisle Vanem [this message]
2020-10-20 16:08 ` Michael Tremer
2020-10-20 19:14 ` Gisle Vanem
2020-10-20 20:49 ` Michael Tremer
2020-10-20 22:46 ` Gisle Vanem
2020-10-21 9:34 ` Michael Tremer
2020-10-21 11:07 ` Gisle Vanem
2020-10-21 13:15 ` Michael Tremer
[not found] <b63ffe0e-6eca-7168-bb13-07281eff208f@gmail.com>
2020-10-22 10:17 ` Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4eaccd86-f9d9-d53d-738a-6103179a15ef@gmail.com \
--to=gisle.vanem@gmail.com \
--cc=location@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox