omniscale / imposm3

Imposm imports OpenStreetMap data into PostGIS
http://imposm.org/docs/imposm3/latest/
Apache License 2.0
725 stars 159 forks source link

Can't compile imposm #78

Closed Gustry closed 8 years ago

Gustry commented 8 years ago

I'm running imposm in a docker container : https://github.com/kartoza/docker-osm/blob/develop/docker-imposm3/Dockerfile

But, the build failed. Is it because of the latest commits from today ? This is the error :

Step 8 : RUN cd src/github.com/omniscale/imposm3 && godep go install ./...
 ---> Running in ff57bd4d1019
go build github.com/omniscale/imposm3/test: no buildable Go source files in /go/src/github.com/omniscale/imposm3/test
godep: go exit status 1
ERROR: Service 'imposm' failed to build: The command '/bin/sh -c cd src/github.com/omniscale/imposm3 && godep go install ./...' returned a non-zero code: 1
make: *** [build] Erreur 1

The documentation says :

git clone https://github.com/omniscale/imposm3 src/github.com/omniscale/imposm3
cd src/github.com/omniscale/imposm3
godep go install ./...
olt commented 8 years ago

It's just godep go install ./. But the install should have build imposm3 in ${GOPATH}/bin anyways.

Gustry commented 8 years ago

Thanks it works now.