You are not logged in.

#1 2023-07-15 07:09:59

jronald
Member
Registered: 2022-05-09
Posts: 105

[SOLVED] find_package failed to find mapnik

mapnik supports cmake officially: https://github.com/mapnik/mapnik/blob/m … e.md#usage

Last edited by jronald (2023-07-15 13:30:55)

Offline

#2 2023-07-15 12:08:46

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,031

Re: [SOLVED] find_package failed to find mapnik

When application A uses cmake to detect/use application B it needs specially crafted files for B.  Usually those files are found in /usr/lib/cmake/folder-for-application-B and have an extension of .cmake .

The mapnik repo package from repos doesn't include such files so can can't be found through cmake .
Worse : cmake is the only program that can create/manage those files, but repo mapnik is build with scons  .

There are several possible solutions for this, but without knowing more about your usecase I could only make a wild guess which are applicable.

Please explain what you want to achieve.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2023-07-15 13:30:39

jronald
Member
Registered: 2022-05-09
Posts: 105

Re: [SOLVED] find_package failed to find mapnik

Lone_Wolf wrote:

There are several possible solutions for this, but without knowing more about your usecase I could only make a wild guess which are applicable.
Please explain what you want to achieve.

I'm just going to study mapnik,
Got that it was built with scons, I have no question now.
To reserve the possibility of using the optional features, I'll built one instead of installing it by pacman.

Thanks

Last edited by jronald (2023-07-15 16:54:44)

Offline

Board footer

Powered by FluxBB