NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg-config and old pixman version popping up breaks gtk and cairo
Hi,
I upgraded my laptop to 10.1 (the installation was messed up in the past
with tests, unstable versions... but seems mostly ok now) and I also
updated pkg using pkgin and binary packages.
Essentially, the only problem i reported was osabi NetBSD which i don't
have because I cannot force-install it.
using installed packages seems to work (X, window manager, terminals,
etc etc)
However, when I compile my own stuff (e.g. GNUstep or ArcticFox) I have
issues where headers are not found.
This works on other NetBSD systems, so the issue is not NetBSD support,
but this specific setup. Trying to understand what is wrong.
E.g. GNUstep fails with:
In file included from CairoSurface.m:25:
../../Headers/cairo/CairoSurface.h:28:10: fatal error: cairo.h: No such
file or directory
28 | #include <cairo.h>
| ^~~~~~~~~
compilation terminated.
gmake[5]: *** [/System/Library/Makefiles/rules.make:534:
obj/cairo.obj/CairoSurface.m.o] Error 1
gmake[5]: *** Waiting for unfinished jobs....
In file included from ../../Headers/fontconfig/FCFontInfo.h:32,
from ../../Headers/cairo/CairoFontInfo.h:31,
from CairoFontInfo.m:32:
../../Headers/fontconfig/FCFaceInfo.h:35:10: fatal error: ft2build.h: No
such file or directory
35 | #include <ft2build.h>
| ^~~~~~~~~~~~
compilation terminated.
yet my cairo package is installed:
cairo-1.18.2 Vector graphics library with cross-device output support
find /usr/pkg -name cairo.h
/usr/pkg/include/cairo/cairo.h
so it is even in a correct and prominent place.
-rw-r--r-- 1 root wheel 118325 Sep 1 15:09
/usr/pkg/include/cairo/cairo.h
permissions look fine too!
So I test pkg-config:
c$ pkg-config --cflags cairo
Package dependency requirement 'pixman-1 >= 0.40.0' could not be satisfied.
Package 'pixman-1' has version '0.38.4', required version is '>= 0.40.0'
ouch!
$ pkg_info | grep pixman
pixman-0.44.2 Library of low-level pixel manipulation routines
but I have 0.44 !! where is pixman-1 coming from??
It is coming from:
/usr/X11R7/include/pixman-1 ?
I'm confused now.
Riccardo
Home |
Main Index |
Thread Index |
Old Index