Search Criteria
Package Details: osm2pgsql-git 1.8.1.r175.g1cfb05be-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/osm2pgsql-git.git (read-only, click to copy) |
---|---|
Package Base: | osm2pgsql-git |
Description: | tool for loading OpenStreetMap data into a PostgreSQL / PostGIS database |
Upstream URL: | https://github.com/openstreetmap/osm2pgsql |
Licenses: | GPL |
Conflicts: | osm2pgsql |
Provides: | osm2pgsql |
Submitter: | einbisschen |
Maintainer: | xiretza |
Last Packager: | xiretza |
Votes: | 7 |
Popularity: | 0.000000 |
First Submitted: | 2015-08-27 16:33 (UTC) |
Last Updated: | 2023-07-16 14:42 (UTC) |
Dependencies (14)
- boost-libs
- bzip2 (bzip2-gitAUR)
- expat (expat-gitAUR)
- lua
- postgresql-libs (postgresql-libs-12AUR, postgresql13-libsAUR, postgresql-libs-gitAUR)
- proj (proj-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- nlohmann-json (nlohmann-json-gitAUR) (make)
- postgresql (postgresql-12AUR, postgresql15-docsAUR, postgresql15AUR, postgresql17-docsAUR, postgresql17AUR, postgresql13AUR, postgresql-gitAUR) (make)
- postgis (postgis-gitAUR, postgis-sfcgalAUR) (optional) – for creating a PostGIS database
- postgresql (postgresql-12AUR, postgresql15-docsAUR, postgresql15AUR, postgresql17-docsAUR, postgresql17AUR, postgresql13AUR, postgresql-gitAUR) (optional) – for creating a PostgreSQL database
Latest Comments
1 2 3 Next › Last »
dreieck commented on 2023-12-12 16:15 (UTC)
Please add
python-argparse-manpage
tomakedepends
:Regards!
xiretza commented on 2023-07-16 14:42 (UTC)
Thanks, fixed!
marco44 commented on 2023-07-11 13:46 (UTC)
Hi,
You need to add nlohmann-json to the list of dependencies, without it it dies with
dreieck commented on 2022-10-15 19:54 (UTC)
I suggest to explicitly add
proj>=6
to thedepends
array and pass-DUSE_PROJ_LIB=6
tocmake
. Otherwise compilation might fail if there are some proj4 and proj6 libs installed, see → this comment inosm2pgsql
.jedrzejowski commented on 2020-05-04 07:44 (UTC)
Hi, files install-postgis-osm-*.sh has been removed from repo.
You can remove line 34 with install statement if u wish to build package.
@paddybu i had same error, try
rm -rf osm2pgsql-git pkg src
in directory withPKGBUILD
pguenther commented on 2020-03-21 19:21 (UTC) (edited on 2020-03-21 19:21 (UTC) by pguenther)
The following error is occuring when trying to install:
xiretza commented on 2020-01-02 17:35 (UTC)
Requires
makedepends=('git')
.onlypretending commented on 2019-07-12 06:45 (UTC)
@gerost
Thank you! I was on the right track but was putting the add_definition in the wrong file, apparently.
gerost commented on 2019-07-12 06:11 (UTC) (edited on 2019-07-12 06:13 (UTC) by gerost)
Also had the
To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
-error.Related issues:
https://github.com/openstreetmap/osm2pgsql/issues/922
https://github.com/osmcode/libosmium/issues/277
I'm not familiar with cmake and stuff, but I managed to make it work. You need to add the line
add_definitions(-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1)
to the file cmake/FindOsmium.cmake. You can do this in the build-function in PKGBUILD, after changing to the src-dir. Example of the new function:Hope this helps!
onlypretending commented on 2019-07-09 06:08 (UTC) (edited on 2019-07-09 06:09 (UTC) by onlypretending)
/usr/include/proj_api.h:37:2: error: #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
Unable to install because of the error above
1 2 3 Next › Last »