tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

error: hb.h: No such file or directory



Hello,
building OpenCPN in pkgsrc-2019Q3 fails with:
In file included from /usr/tmp/geography/opencpn/work/.buildlink/include/pango-1.0/pango/pango-font.h:25:0,
                 from /usr/tmp/geography/opencpn/work/.buildlink/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/tmp/geography/opencpn/work/.buildlink/include/pango-1.0/pango/pango.h:25,
                 from /usr/tmp/geography/opencpn/work/.buildlink/include/gtk-2.0/gdk/gdktypes.h:37,
                 from /usr/tmp/geography/opencpn/work/.buildlink/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/tmp/geography/opencpn/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/tmp/geography/opencpn/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/tmp/geography/opencpn/work/OpenCPN-5.0.0/plugins/grib_pi/src/GribOverlayFactory.cpp:42:
/usr/tmp/geography/opencpn/work/.buildlink/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory
 #include <hb.h>
          ^~~~~~

This file is in ./include/harfbuzz/hb.h in /usr/pkg and in the buildink
directory. In 2019Q2 pango-coverage.h doens't #include this file.

What's the best way to fix this ? Add -I/usr/pkg/include/harfbuzz to CFLAGS in
OpenCPN, or change fix pango to #include <harfbuzz/hb.h> instead ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index