Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to build gtk2 because it's a dependency for something else (anjuta), and I've been wading through dependency hell getting it going. So far i've successfully built and installed pkg-config, glib, atk, pango, pangos dependencies so thats fontconfig, and i need to install xft (i think thats it) as well as xrender, all of the latest and greatest version as of now. In order to install xrender however, i need the x "backend" or as i'm guessing the x development libraries, aka xlib, or libx11 (or are those even it?). Anyone know where i can obtain a tarball of whichever is correct? Freedesktop.org is totally useless because it just has broken links, and I can't say I'm in a big hurry to build all of X.org because it's enormous, i'm not sure if I'll even get the libraries, and I don't want to biff my computer, especially because i've switched over to linux under a week ago. SuSE 9.2, the distro i used doesnt offer them in the software tool or YOU.
Can anyone help me find a source for this library?
additionally, while trying to build the "render" library (a dependency of xrender) it claims aclocal and automake are missing, despite them being there and the fact that they run if i type either at the command line. Anyone know anything to make the ./configure script detect them? This is driving me nuts.
but seriously, X comes as one big chunk ( actually no, thats a lie but when unzipped they form a big chunk) and the distro's split it up. you probably don't need to do half of what your doing, but anyway:
what distro?
do you have x11-devel installed?
X comes with xft so if you built pango right ( as according to the instructions that come with pango) it should already have a xft backend ( and freetype). if it doesn't, you might as well stop until you get pango to build with it ( you cannot build gtk without pango being built with xft support)
no, i don't seem to have x11-devel installed, nor any X related development library it seems. Pango has been successfully built (default options, is that enough?), however when I go to build GTK2.4.4 it says it needs pango 1.2.0 and xft backend required for X11 target. I built Pango 1.4.0, it should still be alright shouldnt it? Ug i'm sure if freedesktop.org didnt just have a bunch of broken links I would have figured this out by now
first, you need the x11-devel package installed. And as stated above, if pango was not built with the xft backend ( without the x11-devel package this will be the case) then there is no point in going any further with gtk ( it will not build on top of a pango built without xft support). So...
go find the x11-devel ( look for Xorg-devel or Xorg-x11-devel or something similar - look on your install cd's)
in a console do this before the configure of pango:
export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:$PKG_CONFIG_PATH
(check /usr/X11R6/lib/pkgconfig and make sure it has the xft.pc file in it)
reconfigure and make pango. when the ./configure is finished, MAKE SURE it list xft as a backend
ok, so I think I have the xorg libraries now http://www.novell.com/products/linux...x11-devel.html installed that guy. Now when I build xrender, a depency of Xft, the ./configure doesnt report errors, however when i make it reports a ton of compiler errors, stemming from a .h it can't find, such as X11/Xutil.h . Anyone know whats up with that?
check /usr/X11R6/include/X11 and see if Xutil.h is in there. If it's not, then something is wrong with your Xorg-x11-devel package. Also, check /usr/X11R6/lib/pkgconfig for xft.pc ( it should be in there). You shouldn't need to build xft as a version of it comes with X.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.