LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble compiling vte-0.11.10 (https://www.linuxquestions.org/questions/linux-software-2/trouble-compiling-vte-0-11-10-a-122612/)

emu_123 12-04-2003 07:45 AM

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.

emu_123 12-07-2003 12:41 AM

Fix it. :) It appears that somewhere along the line, the freetype2 headers were installed into /usr/include, instead of /usr/X11R6/include where a differant set of freetype2 headers were. All I did to fix it was to copy the freetype2 header from /usr/include to /usr/X11R6/include. When I get around to it, I will also recompile freetype2 and install it properly.


All times are GMT -5. The time now is 03:55 AM.