LinuxQuestions.org
Visit Jeremy's Blog.
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 01-11-2005, 05:59 AM   #1
maciekish
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
Cool gtk+ compilation problem


Hi!
Im trying to compile gtk+-2.6.1 to run gaim-vv.
Configuration completes without errors and compilation runs. After a few minutes of compilation i get an error, about pango (i think). I have Pango 1.8.0 and this is the error when compiling gtk+:
Code:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/X11R6/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/X11R6/include -g -O2-Wall -MT gdkpango-x11.lo -MD -MP -MF .deps/gdkpango-x11.Tpo -c gdkpango-x11.c-fPIC -DPIC -o .libs/gdkpango-x11.o
gdkpango-x11.c:28:35: pango/pangoxft-render.h: No such file or directory
gdkpango-x11.c:46: error: parse error before "PangoXftRenderer"
gdkpango-x11.c:46: warning: no semicolon at end of struct or union
gdkpango-x11.c:52: error: parse error before '}' token
gdkpango-x11.c:56: error: parse error before "PangoXftRendererClass"
gdkpango-x11.c:56: warning: no semicolon at end of struct or union
gdkpango-x11.c: In function `_gdk_x11_renderer_get_type':
gdkpango-x11.c:59: error: invalid application of `sizeof' to an incomplete type
gdkpango-x11.c:59: error: invalid application of `sizeof' to an incomplete type
gdkpango-x11.c:59: error: `PANGO_TYPE_XFT_RENDERER' undeclared (first use in this function)
gdkpango-x11.c:59: error: (Each undeclared identifier is reported only once
gdkpango-x11.c:59: error: for each function it appears in.)
gdkpango-x11.c: At top level:
gdkpango-x11.c:68: error: parse error before '*' token
gdkpango-x11.c: In function `gdk_x11_renderer_composite_trapezoids':
gdkpango-x11.c:77: error: `xftrenderer' undeclared (first use in this function)
gdkpango-x11.c:79: error: dereferencing pointer to incomplete type
gdkpango-x11.c:80: error: dereferencing pointer to incomplete type
gdkpango-x11.c:81: error: `trapezoids' undeclared (first use in this function)
gdkpango-x11.c:81: error: `n_trapezoids' undeclared (first use in this function)
gdkpango-x11.c: At top level:
gdkpango-x11.c:86: error: parse error before '*' token
gdkpango-x11.c: In function `gdk_x11_renderer_composite_glyphs':
gdkpango-x11.c:91: error: `xftrenderer' undeclared (first use in this function)
gdkpango-x11.c:93: error: dereferencing pointer to incomplete type
gdkpango-x11.c:94: error: dereferencing pointer to incomplete type
gdkpango-x11.c:95: error: `xft_font' undeclared (first use in this function)
gdkpango-x11.c:95: error: `glyphs' undeclared (first use in this function)
gdkpango-x11.c:95: error: `n_glyphs' undeclared (first use in this function)
gdkpango-x11.c: In function `_gdk_x11_renderer_class_init':
gdkpango-x11.c:106: error: `PangoXftRendererClass' undeclared (first use in this function)
gdkpango-x11.c:106: error: `xftrenderer_class' undeclared (first use in this function)
gdkpango-x11.c:106: warning: implicit declaration of function `PANGO_XFT_RENDERER_CLASS'
gdkpango-x11.c: In function `_gdk_x11_renderer_get':
gdkpango-x11.c:133: error: dereferencing pointer to incomplete type
gdkpango-x11.c:134: error: dereferencing pointer to incomplete type
make[4]: *** [gdkpango-x11.lo] Error 1
make[4]: Leaving directory `/root/src/gtk+-2.6.1/gdk/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/src/gtk+-2.6.1/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/src/gtk+-2.6.1/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/gtk+-2.6.1'
make: *** [all] Error 2
 
Old 01-11-2005, 06:24 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
pango was not compiled with the xft backend. You will have to recompile pango and when the ./configure finishes, make sure that it list xft as a back end.

If it does not list xft as a backend, it is not finding xft.pc in /usr/X11R6/lib/pkgconfig (check and make sure it is there) and you might have to manually add it to the pkg-config search path like follows:

export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:$PKG_CONFIG_PATH
 
Old 01-11-2005, 06:29 AM   #3
maciekish
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
thanks, it listed freetype X xft as backend so im recompiling it now and ill se what happens.
 
Old 01-11-2005, 07:03 AM   #4
maciekish
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
it worked, thank you very much!
 
  


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
C++ Compilation problem with G++ nelnel Programming 6 07-06-2005 09:58 PM
gtk+ 2.4.14 problem, how do I execute GTK? nautal Linux - Software 2 06-17-2005 06:09 PM
gtk program compilation error RohanShrivastav Programming 5 02-16-2005 07:12 AM
Compilation problem with gtk+-2.4.0 Kanaflloric Linux - Software 2 06-17-2004 10:43 PM
GTK-1.2 C compilation error GabeF Programming 2 05-12-2003 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:31 AM.

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
Open Source Consulting | Domain Registration