LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-02-2005, 10:06 PM   #1
EOHooligan
Member
 
Registered: Jan 2005
Location: California
Distribution: Slackware 10
Posts: 70

Rep: Reputation: 15
Trying to install gtk+-2.6.0


I installed pango-1.8.0 and xft-2.1.2-1.i386.rpm. Now, when I run the configure script, I get this message

Quote:
configure: error: Xft Pango backend is required for x11 target
I can't seem to find any info on this, so would someone know what the problem is?
 
Old 01-02-2005, 11:45 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
see if you have xft installed.
try xft-config --prefix in a console

when you compiled pango, it didn't find xft in your PKG_CONFIG_PATH (most distros set this for you) so when you compile pango you will have to point PKG_CONFIG_PATH to point to xft.pc (which is probably in /usr/X11R6/lib/pkgconfig) like this:

export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:$PKG_CONFIG_PATH

make sure when ./configure is done and it prints the summary it says it found xft

Last edited by __J; 01-03-2005 at 12:00 AM.
 
Old 01-05-2005, 08:08 AM   #3
EOHooligan
Member
 
Registered: Jan 2005
Location: California
Distribution: Slackware 10
Posts: 70

Original Poster
Rep: Reputation: 15
Sorry, but where can I find xft?
 
Old 01-12-2005, 05:57 PM   #4
scmcansh
LQ Newbie
 
Registered: Apr 2004
Location: Edmonton, Alberta.
Distribution: Fedora Core 3
Posts: 22

Rep: Reputation: 15
try locate xft.pc to see if XFT is indeed in /usr/X11R6/lib/pkgconfig

If it's not there try www.rpmfind.net
 
Old 01-27-2005, 04:16 AM   #5
dr4in
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
i fixed this error by installing freetype before compiling pango
 
Old 01-27-2005, 10:53 AM   #6
Lier
Member
 
Registered: Jan 2005
Location: Argentina
Distribution: SUSE 9.0, 9.2, 10.0, Slackware 10.2 and slamd64
Posts: 135

Rep: Reputation: 15
You can find XFT in: pdx.freedesktop.org/software/fontconfig/releases/

But to install it, you also need fontconfig. you can find the last release in: www.fontconfig.org
 
Old 01-27-2005, 11:43 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
sounds to me like you've just not installed the relevant -devel packages, pango-devel, xft-devel etc...
 
Old 01-27-2005, 04:06 PM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
xft comes with Xfree86/Xorg. if you do not have it then you do not have the required -devel packages for your system. You do not need to download and install additional packages to get it. If configure does not pick it up, then pkg-config is failing to find the xft.pc file and you need to adjust your PKG_CONFIG_PATH to point to it.
 
Old 02-12-2005, 10:51 AM   #9
Rozenn
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by scmcansh
try locate xft.pc to see if XFT is indeed in /usr/X11R6/lib/pkgconfig

If it's not there try www.rpmfind.net
What does one do if /usr/X11R6/lib/pkgconfig doesn't exist ? (the only directories /usr/X11R6/lib contains are called "modules", "tls", "X11" and "xscreensaver")
 
Old 02-12-2005, 11:11 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
there's no reason it needs to be there, you're free to provide an alternative location to the configure script if it's defaulting there. I don't think it actaully is at all, and you're just going by what other people are telling you.

basically... go find xft.pc. use "locate xft.pc" to dig it out, and that will eb the location to pass to configure, but it'll often find it itself anyway. if you can't find it.. then as above.. install the -devel package.
 
  


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
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 12:51 PM
Can I install GTK-1.x.x although GTK-2.x.x has already been install in Fedora3 ? Vincenttalk Linux - Software 4 04-13-2005 10:32 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
GTK, GTK+ and MPlayer won't install ? ivan@elfak Linux - Newbie 4 02-29-2004 07:19 PM
GTK won't install Hobbs Linux - Newbie 4 11-12-2003 04:12 PM

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

All times are GMT -5. The time now is 07:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration