source for xlib / libx11 library source?
Hello all.
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.
|
freedesktop.org :D
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 :(
oh yeah, this is Suse 9.2 |
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 build it and install it. |
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?
Thanks for the help so far. |
anyone else know whats going on?
|
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.
|
All times are GMT -5. The time now is 02:21 AM. |