Skip to content

Conversation

@qth
Copy link

@qth qth commented Aug 6, 2020

After making these changes, I was then able to build mapnik on OpenBSD.

Just in case anyone feels crazy and wants to try on OpenBSD for themselves ;-), this was the configure line that worked for me:

./configure ICU_LIBS=/usr/local/lib ICU_INCLUDES=/usr/local/include HB_LIBS=/usr/local/lib HB_INCLUDES=/usr/local/include PROJ_LIBS=/usr/local/lib PROJ_INCLUDES=/usr/local/include FREETYPE_LIBS=/usr/X11R6/lib FREETYPE_INCLUDES=/usr/X11R6/include/freetype2 CUSTOM_CFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 -I/usr/X11R6/include/freetype2 CUSTOM_CXXFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 -I/usr/X11R6/include/freetype2

@inferiorhumanorgans
Copy link

I've recently gone down the path of trying to build mapnik on FreeBSD. It seems to me like leveraging pkgconf/pkg-config would be useful for cross platform compatibility and minimally intrusive on Linux.

@hummeltech
Copy link
Contributor

@inferiorhumanorgans, mapnik is available again in FreeBSD since last year.
https://github.com/freebsd/freebsd-ports/tree/36cc90cb698e00ffdb8f81a64d2d5f8cf34ead45/graphics/mapnik

I suspect it would be a similar build process for OpenBSD.

@landryb
Copy link

landryb commented Jul 10, 2024

mapnik is in openbsd ports since a while.. https://github.com/openbsd/ports/tree/master/graphics/mapnik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants