tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Picking the right freetype2?
Hi,
while trying to help Martin get librsvg going on aarch64 (I don't
have hardware (yet)), I'm stumbling over this configure error:
checking for cairo >= 1.15.12 cairo-png >= 1.15.12 freetype2 >= 20.0.14 gdk-pixbuf-2.0 >= 2.20 gio-2.0 >= 2.24.0 glib-2.0 >= 2.48.0 libxml-2.0 >= 2.9.0 pangocairo >= 1.38.0 pangoft2 >= 1.38.0 libcroco-0.6 >= 0.6.1... no
configure: error: Package requirements ( cairo >= 1.15.12 cairo-png >= 1.15.12 freetype2 >= 20.0.14 gdk-pixbuf-2.0 >= 2.20 gio-2.0 >= 2.24.0 glib-2.0 >= 2.48.0 libxml-2.0 >= 2.9.0 pangocairo >= 1.38.0 pangoft2 >= 1.38.0 libcroco-0.6 >= 0.6.1) were not met:
Package dependency requirement 'freetype2 >= 20.0.14' could not be satisfied.
Package 'freetype2' has version '18.0.13', required version is '>= 20.0.14'
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Now, graphics/librsvg/Makefile contains
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.10.0
.include "../../graphics/freetype2/buildlink3.mk"
(my version bump, was 2.8.0), and
/usr/pkg/lib/pkgconfig/freetype2.pc contains "Version: 23.0.17", while
/usr/X11R7/lib/pkgconfig/freetype2.pc contains "Version: 18.0.13", and
the latter is apparently picked up instead of the pkgsrc version,
leading to the above configure error.
What's the appropriate thing to do to deal with this?
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index