Notice: Undefined variable: name in /srv/http/vhosts/ on line 248

Package Details: osm2pgsql-git 0.92.0.RC1.r34.g3ca10bb-1

Git Clone URL: (read-only)
Package Base: osm2pgsql-git
Description: tool for loading OpenStreetMap data into a PostgreSQL / PostGIS database
Upstream URL:
Licenses: GPL
Submitter: einbisschen
Maintainer: einbisschen
Last Packager: einbisschen
Votes: 5
Popularity: 0.207617
First Submitted: 2015-08-27 16:33
Last Updated: 2016-12-27 21:27

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

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):
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
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().
==> ERROR: Makepkg was unable to build osm2pgsql-git.


einbisschen commented on 2015-11-01 06:27


Thanks for the PKGBUILD MarBur!

MarBur commented on 2015-10-31 15:18

It doesn't build anymore since new way of building is with cmake instead of automake. Here is new PKGBUILD:

einbisschen commented on 2015-10-04 10:02

autoconf and automake are both in the "base-devel" group which is required to be installed when you build packages yourself. According to the wiki ( ) dependencies in that group should not be specified explicitly.

avanc commented on 2015-10-04 09:52

Build dependencies to autoconf and automake are missing.

einbisschen commented on 2015-09-23 19:30

link is git+https now…

leosw commented on 2015-09-23 16:48

Please update pkgbuild to use git+https:// :)


einbisschen commented on 2015-09-04 15:22

Sorry, I messed up the pkgver variable…
This has been fixed by now.

einbisschen commented on 2015-09-04 14:27

Thanks, you are right nocko, boost is a build dependency but not needed later on.
PKGBUILD updated!