LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-16-2005, 11:31 PM   #1
Whatsisname
LQ Newbie
 
Registered: Feb 2005
Distribution: Suse 9.2
Posts: 22

Rep: Reputation: 15
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?
 
Old 02-17-2005, 04:05 AM   #2
Whatsisname
LQ Newbie
 
Registered: Feb 2005
Distribution: Suse 9.2
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
Old 02-17-2005, 05:34 AM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
freedesktop.org

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)

Last edited by __J; 02-17-2005 at 05:37 AM.
 
Old 02-17-2005, 09:45 AM   #4
Whatsisname
LQ Newbie
 
Registered: Feb 2005
Distribution: Suse 9.2
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 02-17-2005, 03:00 PM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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.
 
Old 02-17-2005, 06:05 PM   #6
Whatsisname
LQ Newbie
 
Registered: Feb 2005
Distribution: Suse 9.2
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
Old 02-18-2005, 11:43 AM   #7
Whatsisname
LQ Newbie
 
Registered: Feb 2005
Distribution: Suse 9.2
Posts: 22

Original Poster
Rep: Reputation: 15
anyone else know whats going on?
 
Old 02-18-2005, 03:23 PM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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.
 
  


Reply



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
pthread library Source RPM samirs Linux - Newbie 1 06-03-2005 01:58 PM
Library source in c and QT in c++ Will it work ?? johnnyde Programming 5 02-03-2005 01:54 PM
Source Function Library dadepfan Linux - General 2 08-22-2004 11:06 PM
Open source Digital Library jgnasser Linux - Software 0 03-16-2004 12:15 AM
Source for RPM library saravanan1979 Linux - Software 15 06-19-2002 06:56 AM

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

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