New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems configuring/building v3.0.23 on Lubuntu 20.04 #4164
Comments
agree^, i'll look into "cherry-picking" #3892 into Have you tried setting FREETYPE_INCLUDE and FREETYPE_LIBS as an alternative to |
@tstewart-writer Have you tried pulling dependencies via ./bootstrap.sh
./configure && make |
I set I also pulled the dependencies with
The clang-10 package is installed. From the contributing documentation, my understanding is that bootstrap is meant to set up a standardized configuration for development and testing purposes. This might be better suited to another issue, but I'd like to understand the regular installation process because I want to update the documentation, probably starting with the installation docs. |
I installed all of the dependencies, including the optional dependencies, that are listed in the v3.0.23 install guide. Following the source install instructions on the downloads page I ran:
However, there were a few problems.
freetype-config
.This is the output of the
./configure
command:I've been able to resolve a few of these problems, but I am not sure if my solutions are the best way to go about it.
Missing
freetype-config
:''freetype-config'' is depreciated and ''pkg-config'' should be used instead. A fix for this is available and was merged with master in #3892, but
SConstruct
in v3.0.23 doesn't include them. Adding those checks resolves thefreetype-config
dependency.Missing Proj library:
Issue #4117 provides a solution, use ./configure CUSTOM_DEFINES="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1"
But that still leaves the missing data directories, and I am not sure what to do about that. It finds GDAL and ICU, but it can't find those directories. I searched the issues and found #3865, which suggests that configure use
icu-config
but that was removed from libicu-dev.Do I need to set ICU_DATA and GDAL_DATA manually? I'm new to Mapnik and these libraries, and I don't know how to do that.
Is there a better solution to the
freetype-config
dependency that doesn't involve editing theSConstruct
file?The text was updated successfully, but these errors were encountered: