February 1st, 2013, 02:04 PM
Join Date: Jan 2013
Time spent in forums: 52 m 51 sec
Reputation Power: 0
Problem when building harfbuzz
I am trying to install harfbuzz (0.9.12) on RHEL 5.4.
Configure runs fine, but make generates the following errors:
make: Entering directory `/path/to/project/dir/cpn/gtk+/harfbuzz-0.9.12/util'
helper-cairo.hh:55: error: ISO C++ forbids declaration of ‚cairo_text_cluster_t‚ with no type
helper-cairo.hh:55: error: expected ‚;‚ before ‚*‚ token
helper-cairo.hh:57: error: ‚cairo_text_cluster_flags_t‚ does not name a type
helper-cairo.hh: In member function ‚void helper_cairo_line_t::finish()‚:
helper-cairo.hh:61: error: ‚cairo_glyph_free‚ was not declared in this scope
helper-cairo.hh:62: error: ‚clusters‚ was not declared in this scope
helper-cairo.hh:63: error: ‚cairo_text_cluster_free‚ was not declared in this scope
make: *** [hb-view.o] Error 1
make: Leaving directory `/path/to/project/dir/cpn/gtk+/harfbuzz-0.9.12/util'
make: *** [all-recursive] Error 1
make: Leaving directory `/path/to/project/dir/cpn/gtk+/harfbuzz-0.9.12'
make: *** [all] Error 2
I know that the first error message is typical for a circular reference to a header file, but I cannot find one when I start a search in hb-view.cc.