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

Restructure configuration system #14

Merged
merged 6 commits into from
Jun 27, 2012
Merged

Conversation

lonvia
Copy link
Member

@lonvia lonvia commented Jun 17, 2012

Adds a globale configure and Makefile to the project and pulls in osm2pgsql as a submodule. This removes the need to build all parts of Nominatim separately. Building Nominatim becomes as simple as:

git clone --recursive <repo>
./autogen.sh
./configure [--enable-64bit-ids]
make

The --recursive is important to get the submodule code. --enable-64bit-ids is optional and will build an osm2pgsql that uses bigint for OSM ids.

submodules are a bit of a pain to handle in git but the solution has the advantage that users are forced to a) build osm2pgsql from the source and b) use the correct version. And the configure can be used as is for a release that comes with osm2pgsql bundled.

This has only been tested on Debian Testing, so I'd appreciate if I could get feedback for other distros before merging.

- move the configure from nominatim out and add checks for all dependencies
- bring module under automake control
- add osm2pgsql as a submodule, configure and build with the others
@terexas
Copy link

terexas commented Jun 27, 2012

Tested on Fedora 17 (x86_64) stable. Configuration/Compilation runs without the issues.

@lonvia lonvia merged commit d062312 into osm-search:master Jun 27, 2012
@lonvia lonvia deleted the configure branch January 22, 2014 18:11
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

Successfully merging this pull request may close these issues.

None yet

2 participants