Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

osm2pgsql does not build on Arch Linux #3505

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

osm2pgsql does not build on Arch Linux #3505

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: dimka
[Submitted to the original trac issue database at 4.39pm, Wednesday, 2nd February 2011]

Running yaourt -S osm2pgsql-svn fails with:

Checked out revision 25215.
SVN checkout done or server timeout
==> Starting make...
sed: can't read Makefile.in: No such file or directory
Aborting...
==> ERROR: Makepkg was unable to build osm2pgsql-svn.

Tried to modify the PKGBUILD to match the manual compilation instructions (attached), it fails with the following error:

checking how to hardcode library paths into programs... immediate
checking for xml2-config... /usr/bin/xml2-config
checking for xml2 libraries... yes
checking for zlib compression library... no
configure: error: required library not found
    Aborting...

I attach also the config.log file.

Manual compilation works just fine, the problem seems to be connected to the Arch build system not finding zlib.

@openstreetmap-trac
Copy link
Author

Author: amm
[Added to the original trac issue at 7.10pm, Sunday, 25th September 2011]

According to the config.log you attached, ./configure was called with the --with-zlib=no option. I guess that would explain the missing required zlib.

@openstreetmap-trac
Copy link
Author

Author: dimka
[Added to the original trac issue at 9.01pm, Sunday, 25th September 2011]

The problem seems now to be solved in the Arch repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant