Search Criteria
Package Details: osm2pgsql-git 1.3.0.r110.g639a7d1f-1
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: | |
Submitter: | einbisschen |
Maintainer: | xiretza |
Last Packager: | xiretza |
Votes: | 8 |
Popularity: | 0.000000 |
First Submitted: | 2015-08-27 16:33 |
Last Updated: | 2020-11-11 11:10 |
Dependencies (13)
- boost-libs (boost171, boost-libs-git)
- bzip2 (bzip2-git, bzip2-rustify-git, bzip2-with-lbzip2-symlinks)
- expat (expat-git)
- lua
- postgresql-libs (agensgraph-git, postgresql-libs-1c, postgresql-libs-10, postgresql-src-beta-libs, postgresql-libs-9.5, postgresql-libs-9.4, postgresql-src-libs, postgresql-libs-11, postgresql-lts-libs, postgresql-libs-12, postgresql-libs-9.6)
- proj (proj-configure-git, proj-git)
- zlib (zlib-static, zlib-git, zlib-asm, minizip-asm, zlib-ng-git)
- boost (boost-git) (make)
- cmake (cmake-git) (make)
- git (git-git) (make)
- postgresql (pipelinedb, agensgraph-git, postgresql-1c, postgresql-10, postgresql-src-beta, postgresql-9.5, postgresql-9.4, postgresql-src, postgresql-11, postgresql-lts, postgresql-12, postgresql-9.6) (make)
- postgis (postgis-sfcgal, postgis-git) (optional) – for creating a PostGIS database
- postgresql (pipelinedb, agensgraph-git, postgresql-1c, postgresql-10, postgresql-src-beta, postgresql-9.5, postgresql-9.4, postgresql-src, postgresql-11, postgresql-lts, postgresql-12, postgresql-9.6) (optional) – for creating a PostgreSQL database
Latest Comments
1 2 Next › Last »
jedrzejowski commented on 2020-05-04 07:44
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
paddybu commented on 2020-03-21 19:21
The following error is occuring when trying to install:
xiretza commented on 2020-01-02 17:35
Requires
makedepends=('git')
.onlypretending commented on 2019-07-12 06:45
@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
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
/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
Harlok commented on 2019-07-04 16:19
Hallo einbisschen,
osm2pgsql-git 0.96.0.r126.g90e17f0-1
osm2pgsql
osm2pgsql: error while loading shared libraries: libproj.so.13: cannot open shared object file: No such file or directory
existing is: /usr/lib/libproj.so.15
I think it happened with the last update of mapnik ...
einbisschen commented on 2018-07-24 20:31
pushed version
einbisschen commented on 2016-12-27 20:59
Hi dgerbaudo, sorry for the late reply!
Apparently the cmake build script expects lua to exist by default now (the option WITH_LUA is set by default).
So there are two options for us now:
First, to override this behaviour by passing "-DWITH_LUA=OFF" to cmake and always build without lua (even if lua is installed on your system), not requiring lua to be installed.
Second, to require lua as a build dependency but only as an optional dependency for the installed package, to build it with full lua support and work with or without lua.
For now I will go for the second since the developers of osm2pgsql also seem to prefer that way.
dgerbaudo commented on 2016-06-29 19:27
Hello einbisschen, it doesn't build if I don't install lua, Do you know why? In the repository readme says that is optional. I've installed it to made it work.
This is the error that it shows without lua:
-- Found Osmium: /tmp/yaourt-tmp-daniel/aur-osm2pgsql-git/src/osm2pgsql-git/contrib/libosmium
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake/FindLua.cmake:167 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:99 (find_package)
-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-daniel/aur-osm2pgsql-git/src/osm2pgsql-git/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/yaourt-tmp-daniel/aur-osm2pgsql-git/src/osm2pgsql-git/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build osm2pgsql-git.
Thanks.