[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Problems with installing GTK 1.2.7
On Sun, 7 May 2000, Jonathan wrote:
> checking for glib-config... /usr/local/bin/glib-config
> checking for GLIB - version >= 1.2.7... yes
> checking for X... no
> configure: error:
> *** X libraries or include files not found. Check 'config.log' for
> *** more details.
This basically is telling you everything you need to know: you don't have
X-Windows development stuff installed on your machine. These are some .h
files that the compiler can use to link your code to the X-Windows
libraries on your machine - otherwise, it doesn't know what functions are
available.
> And config.log says this (sorry if I've included too many lines here - better
> too many than too few):
Too many yes, but not a problem ;))
> configure:4532: checking for X
> configure:4599: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:4595: X11/Intrinsic.h: No such file or directory
Configure works like this: it checks for the presence of certain (needed)
software / libraries by compiling small test programs. If the compile, or
program, fails to work as expected, your machine fails the test. Since you
don't have X development installed on your machine, the compiler couldn't
find one of the necessary headers, thus you failed the test.
> Me, being a beginner to Linux, am pissed off and don't know what to do next.
> Anyone any ideas?
Yep. Go to your installation software (YaST?) or your favourite package
manager, and install the X development RPM from your OS CD. There may be
more than one.
Remember, once you've done that, you may need to delete the config.cache
in the source directory, otherwise the configure script may not register
the change.
Cheers,
Alex.
P.S. What's a beginner to Linux doing compiling bleeding-edge software?
That's asking for trouble, that is ;)
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.