LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-05-2005, 08:16 PM   #1
rjcarlson49
LQ Newbie
 
Registered: Aug 2005
Distribution: FC3
Posts: 6

Rep: Reputation: 0
Pango wants Xft - Can't find it


Quote:
Originally posted by __J
ok, first compile glib (with the --prefix=/usr), after it is successfully compiled and ready to install, go into Yast and remove the one that came with the system ( or use rpm -e <packagename> from the command line). before you run "make install" though, I suggest you go get checkinstall or another program to make an rpm for you. this will make administration of your new libs much easier ( upgrade and removal). to use checkinstall:

./configure --prefix=/usr
make
checkinstall ( instead of make install)

then install the rpm it makes.

everything else is pretty much straight forward, except for pango, MAKE SURE it list xft as a backend before compiling it ( it gives a summary at the end of configure). if not, you will need to adjust your PKG_CONFIG_PATH to accommodate this ( you don't need to install the xft package, you can use the one that came with X). post back if you need help with this.
The quote above is from a thread about 8 months ago. I have exactly the last problem stated. Pango does not see Xft. There is a libxft present (in /usr/lib, I think.) Nowhere on my system (FC3) is there an xft.pc. There is no /pkgconfig in X11R6/lib. I have searched my FC3 disks for packages. I installed one called x11-devel, no help. I have serached in vain for an xft package that looks right.

After much pain I discovered --prefix=/usr on my own. Why oh why does everything default to /usr/local and then not work?

Thanks, Bob
 
Old 08-05-2005, 08:44 PM   #2
rjcarlson49
LQ Newbie
 
Registered: Aug 2005
Distribution: FC3
Posts: 6

Original Poster
Rep: Reputation: 0
I have now tried installing xft (via make). It says I am missing xrender, more specifically, xrender.pc.

Then I try xrender. It says I am missing x11.pc. There is no x11.pc on the system. I have installed the x11-devel rpm that I found on my FC3 disks. I have also tried ">yum install x11-devel. "No match for argument x11-devel".

I suspect that the lack of some devel package of x11 is at the root of all of this. My X11 is installed in /usr/X11R6. In /usr/lib, there is a link X11 to /usr/X11R6/lib. I have seen things that make me believe there should be a link /usr/include/X11 to /usr/X11R6/include. There is almost nothing in /usr/X11R6/include. I am certain there are things that should be there.

Cheers, Bob
 
Old 08-05-2005, 09:31 PM   #3
rjcarlson49
LQ Newbie
 
Registered: Aug 2005
Distribution: FC3
Posts: 6

Original Poster
Rep: Reputation: 0
Got X11-devel - Pango still not seeing it

I must not have succeded when I thought I had installed the x11-devel package from the FC3 disks. When I did

>yum install xorg-x11-devel

I got the devel pkg, plus three dependencies underneath the devel package. "xorg-x11-devel" must be all lower case.

Now the includes and .pc files are clearly there. The .pc were installed in /usr/lib/pkgconfig (not /usr/X11R6/lib/pkgconfig.) However, Pango keeps saying ...

checking for X... no
configure: WARNING: X development libraries not found
checking for pkg-config... (cached) /usr/bin/pkg-config

The command I entered was

./configure -C -prefix=/usr -x-includes=/usr/include/X11 -x-libraries=/usr/lib/X11

I also tried other variations, including no x- options and using the actually directory names and not the link names. Same result every time.

Bob
 
Old 08-05-2005, 09:35 PM   #4
rjcarlson49
LQ Newbie
 
Registered: Aug 2005
Distribution: FC3
Posts: 6

Original Poster
Rep: Reputation: 0
Damn, I deleted the -C and ran

./configure -prefix=/usr -x-includes=/usr/include/X11 -x-libraries=/usr/lib/X11

and it now sees the x libs. The cache option is apparently not smart enough to outguess me.

Bob
 
Old 08-05-2005, 10:14 PM   #5
rjcarlson49
LQ Newbie
 
Registered: Aug 2005
Distribution: FC3
Posts: 6

Original Poster
Rep: Reputation: 0
OK

OK, I think I am over the hump here, before anyone actually replied.

When I ran

./configure -prefix=/usr -x-libraries=/usr/lib/X11 -x-includes=/usr/include/X11

The ./configure ran and printed the right things at the end. However, the make failed.
The make worked when I ran this first:

./configure -prefix=/usr

I have now built pango and gtk+-2.0 and am in the process of building wxWidgets.
All this so I can build and test out rapidSVN.

Cheers, Bob
 
Old 04-24-2007, 03:54 PM   #6
utopicdog
Member
 
Registered: Aug 2003
Location: france
Distribution: suse/fedora
Posts: 105

Rep: Reputation: 15
pango xft

if you install pango from a tarball, it will compile but if you haven't got a recent fonconfig it wont use xft.
 
Old 04-24-2007, 04:03 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Bob

Just so you are aware: Support for all versions of FC prior to FC5 has been dropped. Support for FC5 will be dropped as soon as Fedora 7 is released (May?).
 
  


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 12:57 PM
Problem building pango + xft rweeks1138 Linux - Software 2 05-20-2005 10:25 PM
trouble compiling pango-1.4.1, need Xft jedihawk Linux - Software 2 08-09-2004 01:01 AM
pango-1.0.5 can't find libX11.so.6, but it is on my system behmjose Linux - Newbie 3 02-21-2004 11:15 PM
Pango - Xft install problem the_ref Linux - Software 1 12-02-2003 06:10 PM


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