Bug#1095136: libmapnik-dev: mapnik-config not installed
Marcos Dione
mdione at grulic.org.ar
Tue Feb 4 08:34:50 GMT 2025
Package: libmapnik-dev
Version: 4.0.5+ds-1
Severity: important
Dear Maintainer,
I'm trying to install a nodejs module called mapnik. This module
includes its own vendored version of the mapnik library, which seems to
be old or something (there is no version info in the binares), and this leads to other errors. If you're insterested, take a look at:
https://github.com/OSGeo/gdal/issues/11786 [closed]
So I'm trying to build the module from source, but I get this error:
npm ERR! /bin/sh: 1: mapnik-config: not found
npm ERR! gyp: Call to 'mapnik-config --cflags' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
npm ERR! gyp ERR! configure error
and indeed, the binary is not packaged:
mdione at ioniq:~/src/system/osm/kosmtik$ apt-file search mapnik-config
mdione at ioniq:~/src/system/osm/kosmtik$ echo $?
1
The script is in the sources:
mdione at ioniq:~/src/system/debian/mapnik-4.0.5+ds$ find . -name mapnik-config
./utils/mapnik-config
just probably not included in the .debs
Cheers,
-- Marcos.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.8-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libmapnik-dev depends on:
ii libboost-filesystem-dev 1.83.0.2+b2
ii libboost-program-options-dev 1.83.0.2+b2
ii libboost-regex-dev 1.83.0.2+b2
ii libboost-system-dev 1.83.0.2+b2
ii libboost-thread-dev 1.83.0.2+b2
ii libc6-dev [libc-dev] 2.40-6
ii libcairo2-dev 1.18.2-2
ii libcurl4-openssl-dev [libcurl-ssl-dev] 8.11.1-1+b1
ii libfreetype-dev 2.13.3+dfsg-1
ii libgdal-dev 3.10.1+dfsg-1+b1
ii libharfbuzz-dev 10.2.0-1
ii libicu-dev 72.1-6
ii libjpeg-dev 1:2.1.5-3+b1
ii libjpeg62-turbo-dev [libjpeg-dev] 1:2.1.5-3+b1
ii libmapbox-geometry-dev 2.0.3-1
ii libmapbox-polylabel-dev 2.0.1-1
ii libmapbox-variant-dev 1.2.0-2
ii libmapnik4.0 4.0.5+ds-1
ii libpng-dev 1.6.46-4
ii libpq-dev 17.2-1+b2
ii libproj-dev 9.5.1-1
ii libprotozero-dev 1.8.0-1
ii libsqlite3-dev 3.46.1-1
ii libtiff-dev 4.5.1+git230720-5
ii libwebp-dev 1.5.0-0.1
ii libxml2-dev 2.12.7+dfsg+really2.9.14-0.2+b1
ii pkgconf 1.8.1-4
ii zlib1g-dev 1:1.3.dfsg+really1.3.1-1+b1
Versions of packages libmapnik-dev recommends:
pn mapnik-doc <none>
libmapnik-dev suggests no packages.
-- no debconf information
More information about the Pkg-grass-devel
mailing list