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 04-18-2004, 07:11 PM   #1
rundjuling
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2
Posts: 30

Rep: Reputation: 15
Gtk+ and Pango problems


Hi,

I'm trying to install Gtk+ 2.4 and now I've encountered a problem I have no idea how to solve. I have installed Pango 1.4.0, as Gtk+ demands, but then later in the configuration process, I get this error:

configure: error: Pango 1.2.0 and Xft backend is required for x11 target

I don't understand this. First it demands to Pango 1.4 to be installed and now for Pango 1.2 with Xft backend?

Can anyone help me out here? I'd appreciate it.
 
Old 04-19-2004, 01:56 PM   #2
rundjuling
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2
Posts: 30

Original Poster
Rep: Reputation: 15
I'm still stuck with this. Would be nice if anyone has any tips.
 
Old 05-03-2004, 10:58 AM   #3
drivefast
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
i'm stuck in the exact same place. My hunch is that we are not using pkgconfig at this stage (and it's not finding pango).

but if you get past this, then, you get another error b/c it want's pango 1.4.0

i'm still trying to figure this one out.
 
Old 05-17-2004, 09:18 AM   #4
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 21 (Cinnamon)
Posts: 234

Rep: Reputation: 20
I am stuck too. Here are the tips I've found that seem useful thus far...but unfortunately I haven't been near the box I am trying to fix this on, so let me know what you have figured out.

1)http://mail.gnome.org/archives/gtk-l.../msg00216.html
2)http://www.linuxquestions.org/questi...ight=pango+1.4
3)http://mail.gnome.org/archives/gtk-l.../msg00152.html
4)Need to install XFree86-devel-*.i586

My hunch is it is a combo of #1 and #3 in particular, but just guessing.
 
Old 05-17-2004, 09:32 AM   #5
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 21 (Cinnamon)
Posts: 234

Rep: Reputation: 20
Looks promising too...

http://www.linuxquestions.org/questi...ight=pango+1.4
 
Old 05-17-2004, 09:40 AM   #6
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 21 (Cinnamon)
Posts: 234

Rep: Reputation: 20
Best yet...

http://www.linuxquestions.org/questi...ight=pango+1.4
 
Old 05-17-2004, 12:40 PM   #7
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 21 (Cinnamon)
Posts: 234

Rep: Reputation: 20
Now having a problem installing freetype2..

make all-recursive
make[3]: Entering directory `/home/tom/Desktop/download/gtk+-2.4.1/gdk'
Making all in x11
make[4]: Entering directory `/home/tom/Desktop/download/gtk+-2.4.1/gdk/x11'
if /bin/sh ../../libtool --mode=compile 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/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -g -O2 -Wall -MT gdkasync.lo -MD -MP -MF ".deps/gdkasync.Tpo" \
-c -o gdkasync.lo `test -f 'gdkasync.c' || echo './'`gdkasync.c; \
then mv -f ".deps/gdkasync.Tpo" ".deps/gdkasync.Plo"; \
else rm -f ".deps/gdkasync.Tpo"; exit 1; \
fi
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/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -g -O2 -Wall -MT gdkasync.lo -MD -MP -MF .deps/gdkasync.Tpo -c gdkasync.c -fPIC -DPIC -o .libs/gdkasync.o
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
from ../../gdk/x11/gdkdrawable-x11.h:35,
from ../../gdk/x11/gdkwindow-x11.h:30,
from gdkprivate-x11.h:36,
from gdkx.h:78,
from gdkasync.c:49:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
make[4]: *** [gdkasync.lo] Error 1
make[4]: Leaving directory `/home/tom/Desktop/download/gtk+-2.4.1/gdk/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tom/Desktop/download/gtk+-2.4.1/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tom/Desktop/download/gtk+-2.4.1/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom/Desktop/download/gtk+-2.4.1'
make: *** [all] Error 2
 
Old 05-17-2004, 01:10 PM   #8
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 21 (Cinnamon)
Posts: 234

Rep: Reputation: 20
I think this is the solution, though I haven't tried it yet...

http://www.linuxquestions.org/questi...ight=ftbuild.h
 
Old 05-17-2004, 01:15 PM   #9
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 21 (Cinnamon)
Posts: 234

Rep: Reputation: 20
This looks interesting as well...

http://www.linuxquestions.org/questi...ight=ftbuild.h
 
  


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
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM
Problems with Gtk and Pango elvalith Linux - Software 7 08-04-2005 05:12 AM
GTK install: Pango Problems Daddywags Linux - Software 9 04-27-2005 08:57 AM
gtk+ doesn't see pango. Louis_Carole Slackware 3 02-20-2005 04:21 PM
GTK+2.5.0 and Pango 1.4.1 linkage problems.... SyBEX Linux - Software 10 10-29-2004 01:09 PM

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

All times are GMT -5. The time now is 03:39 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