Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on installation - Debian 8.6 VM #12

Closed
dndln opened this issue Nov 25, 2016 · 2 comments
Closed

Errors on installation - Debian 8.6 VM #12

dndln opened this issue Nov 25, 2016 · 2 comments

Comments

@dndln
Copy link

dndln commented Nov 25, 2016

What I did:
(installed in ~/Documents/libpostal)

git clone https://github.com/openvenues/libpostal
cd libpostal
./bootstrap.sh
./configure LDFLAGS=-L/usr/lib64 --datadir=$(pwd)/data --prefix=$(realpath $(pwd)) --bindir=$(realpath $(pwd)/bin)
sudo make install
./src/address_parser
Loading models...
ERR Error loading transliteration module, LIBPOSTAL_DATA_DIR=/home/user/Documents/libpostal/data/libpostal
at libpostal_setup (libpostal.c:1069) errno: No such file or directory

libpostal/data is only 29.2kb big, but I have 24.3GB of free space.

libpostal/data/libpostal only has last_updated, last_updated_geo, last_updated_language_classifier, and last_updated_parser, and they all only have `Jan 1 00:00:00 1970'.

@albarrentine
Copy link
Contributor

The data files didn't download correctly. There should be ~2.2G of space in the datadir.

Try running make again and look for any errors. Or can run ./src/libpostal_data download all $(pwd)/data to test downloading the data files directly.

@dndln
Copy link
Author

dndln commented Nov 25, 2016

okay, turns out I'm dumb and curl wasn't installed. Thanks!

@dndln dndln closed this as completed Nov 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants