LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2003, 08:45 AM   #1
emu_123
Member
 
Registered: Oct 2003
Location: Australia
Distribution: LFS unstable and Mandrake 10.1
Posts: 54

Rep: Reputation: 15
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.
 
Old 12-07-2003, 01:41 AM   #2
emu_123
Member
 
Registered: Oct 2003
Location: Australia
Distribution: LFS unstable and Mandrake 10.1
Posts: 54

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble compiling w/c++ eroica Linux - Software 4 03-09-2005 03:17 PM
Unable to compile vte-0.11.10 powerloony Linux - Software 2 01-25-2005 05:56 AM
Trouble compiling anything banZera Slackware 4 04-07-2004 11:19 AM
Trouble with compiling gamehack Debian 3 01-11-2004 09:35 AM
vte-0.11.10-1.i386.rpm conflicts its older version and gnome-terminal sybatter Linux - Software 0 12-06-2003 08:47 PM


All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration