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

Documentation: how to build with non-default directories #42

Open
xgretsch opened this issue Sep 11, 2019 · 2 comments
Open

Documentation: how to build with non-default directories #42

xgretsch opened this issue Sep 11, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@xgretsch
Copy link

The README.md file doesn't give enough information to let one build a copy of geoipupdate with non-default directories - at least, not if one is a go novice. It looks as if the correct approach is something like:

cd $HOME/go/src/github.com/maxmind/geoipupdate and do:
set CONFFILE=/some/path/myGeoIP.conf
set DATADIR=/some/path/to/data/dir
make

But this doesn't work. It would be nice if README.md could include the correct steps to achieve the desired results.

@horgh
Copy link
Contributor

horgh commented Sep 11, 2019

This should work:

CONFFILE=/etc/foo DATADIR=/etc/bar make

You're right it'd be good to expand the section we have about changing the default config/directory with this though. Thank you for the idea!

@xgretsch
Copy link
Author

That works fine, thanks - except I should mention that there's a dependency on pandoc, readily fixed on my Mac by doing sudo port install pandoc (I haven't graduated to homebrew yet). I'll be trying it on Centos soon...

@oschwald oschwald added the enhancement New feature or request label Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants