Trouble compiling vte-0.11.10
Hi,
I am having trouble compiling vte-0.11.10. It keeps coming up with:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -g -O2 -I/usr/X11R6/include -I/usr/X11R6/include -g -O2 -MT vteglyph.lo -MD -MP -MF .deps/vteglyph.Tpo -c vteglyph.c -fPIC -DPIC -o .libs/vteglyph.o
vteglyph.c: In function `_vte_glyph_cache_set_font_description':
vteglyph.c:245: error: `FT_RENDER_MODE_MONO' undeclared (first use in this function)
vteglyph.c:245: error: (Each undeclared identifier is reported only once
vteglyph.c:245: error: for each function it appears in.)
vteglyph.c: In function `_vte_glyph_get_uncached':
vteglyph.c:528: error: `FT_PIXEL_MODE_MONO' undeclared (first use in this function)
vteglyph.c:541: error: `FT_PIXEL_MODE_GRAY2' undeclared (first use in this function)
vteglyph.c:548: error: `FT_PIXEL_MODE_GRAY4' undeclared (first use in this function)
vteglyph.c:555: error: `FT_PIXEL_MODE_LCD' undeclared (first use in this function)
vteglyph.c:556: error: `FT_PIXEL_MODE_LCD_V' undeclared (first use in this function)
vteglyph.c:564: error: `FT_PIXEL_MODE_GRAY' undeclared (first use in this function)
make[2]: *** [vteglyph.lo] Error 1
I tried vte-0.11.9 but it came up with the same error. However vte-0.10.29 did compile. The only problem is that for gnome-2.4.1 I need to have 0.11.x. Any help at all would be greatly appreciated.
Thanks in advance.
Also, I'm using gcc-3.3.2 (if that has any bearing at all to the problem?) but I also tried 2.95.3 and it came up with the same problem but with a "vteglyph.c:536: warning: unreachable code at beginning of switch statement" thats related to some difference in the gcc versions (something to do with predeclaring or something like that, I cant remember exactly) and doesnt really apply to the above problem.
|