public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
* What generates database.db from database.txt?
@ 2020-10-19 15:53 Gisle Vanem
  2020-10-20 16:08 ` Michael Tremer
  0 siblings, 1 reply; 15+ messages in thread
From: Gisle Vanem @ 2020-10-19 15:53 UTC (permalink / raw)
  To: location

[-- 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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-10-28 11:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <b63ffe0e-6eca-7168-bb13-07281eff208f@gmail.com>
2020-10-22 10:17 ` What generates database.db from database.txt? Michael Tremer
2020-10-22 13:39 ` Problem with 'loc_as_get_name()' Gisle Vanem
2020-10-23  9:49   ` Michael Tremer
2020-10-23 16:29     ` Gisle Vanem
2020-10-23 17:27       ` Michael Tremer
2020-10-28 11:50         ` Gisle Vanem
2020-10-28 11:54           ` Michael Tremer
2020-10-19 15:53 What generates database.db from database.txt? Gisle Vanem
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox