Hi all,
Here is the background to my story, its been a long few days i can tell you...
I am trying to learn OpenGL for a project i am working on, and i have bought this book, "Linux 3D Graphics Programming". It comes with a CD with Debian 2.2 on it and some sample programs etc.
The things on the CD that the book tells me i need on my linux installation are:
glib-1.2.8
gtk+-1.2.8
libsigc++-1.0.1
gtkmm-1.2.1
rplay-3.2.0b5
yup, these are all pretty old versions cos the book came out in 2001. i tried installing these on my laptop installation of RedHat Enterprise Workstation, but they would have dependences or somethin stupid. And im guessing because these libraries weren't installed properly, the programs wouldnt compile
so i gave up on the laptop, and tried installing the Debian onto a clean machine, so i could do it all in the environment the author intended. well to cut a long story short, after all the hassle's of the debian installer interface, it wouldn't install for some unknown reason. So now i've installed a fresh copy of RHES (not newest version (V3 U5)). I downloaded all of the newest versions of the above packages. glib-2.8.6 installed without a problem. then when i go to install gtk+-2.8.9 it comes up with this error in the ./configure stage:
checking for BASE_DEPENDENCIES... Requested 'glib-2.0 >= 2.7.1' but version of GLib is 2.2.3
configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
now i dont really understand how libraries work in linux. Where they install, how they are recognised by other programs/installers... i just dont know. so since i have installed a newer version of glib than requested in the error, how come it has not recognised that?
so any help from anyone would be very much appreciated. I've been tearing my hair out over multiple problems with this. all i want is to be able to learn OpenGL and compile things without a problem. *sigh*
thanks in advance
