Click to See Complete Forum and Search --> : dependencies wtf
castlef
08-16-2001, 03:43 PM
i wanted to install a tiny game. It needed the mesa3d library so i dowloaded it. tried to install. the mesa3d library needed XFree86-OpenGL-core* and XFree86-OpenGL-libs* . so i got them. cant install them they need XFree86-libs-4.1 at least and i have 4.0. so i got XFree86-libs-4.1. tried to upgrade and it couldnt, failed dependencies,: XFree86-xfs* XFree86, and XFree86-devel*. so i got the 4.1 versions of all of them but cannot upgrade them because they all have intertwined dependencies. what should i do>?
evulish
08-16-2001, 03:49 PM
What distro are you using?
castlef
08-16-2001, 04:33 PM
mandrake 8.0
Malakin
08-16-2001, 05:11 PM
When using mandrake always look for the rpms on the cd's first. If you try to go any further you're probably going to screw up your installation of mandrake. Try uninstalling the copy of mesa you put on there "rpm filename.rpm -e" and then install mesa off the mandrake cd's. Any dependencies you run into installing something off the cd's you will find the needed files on the cd's.
castlef
08-16-2001, 07:16 PM
i need to install OpenGL. I have the package Mesa-common-3.4.1-4mdk which is an OpenGL 1.2 compatible 3d graphics library. glut and GLU parts. when i ./configure tux racer it says Cannot find GLU library. i have another game called "asteroids" . when i make it says GL/glut.h: No such file or directory. i would assume that this means that i do not have glut.
when i try to install glut , it says OpenGL is needed by glut. When i try to install OpenGL, i am trying to install version 4.1 which is why its wanting version 4.1 of XFree 86 i think.
I will try to find a version 4.0 of open GL , but if i wanted to upgrade my XFree86 how would I? when i try to upgrade to XFree86-4.1.0-8mdk.i586 from version 4.0 , i have to install XFree86-libs-4.1.0-8mdk.i586. that poses a problem because if i try to upgrade my existing libes 4.0 to XFree86-libs-4.1.0-8mdk.i586, it says libs 4.0 is needed by XFree86-4.0.3-7mdk . and alot more dependencies but what the hell?
Strike
08-16-2001, 07:29 PM
install them both at the same time by doing
rpm -Uvh XFree86-4.1.0-8mdk.i586 XFree86-libs-4.1.0-8mdk.i586
Or just keep a separate directory of "to be installed" RPMs and just do rpm -Uvh *
castlef
08-16-2001, 08:51 PM
cool it worked. thanks..... now on to installing OpenGL...
file /usr/X11R6/lib/libGL.s0.1.2 from install of XFree86-OpenGL-core-4.1.0-2 conflicts with file from package XFree86-libs-4.1.0-8mdk
file /usr/X11R6/lib/libOSMesa.so.3.3 from install of XFree86-OpenGL-libs-4.1.0-2 conflicts with file from package XFree86-libs-4.1.0-8mdk
file /usr/X11R6/bin/glxinfo from install of XFree86-OpenGL-libs-4.1.0-2 conflicts with file from package XFree86-4.1.0-8mdk
//***********************************
i tried removing the files /usr/X11R6/lib/libGL.so.1.2 and the other two and it did nothing. still get the conflicts. What should i do?
Malakin
08-16-2001, 09:37 PM
tux racer is on the mandrake cd's, you can even use the software manager to install stuff like that (link on desktop)
On the 2nd CD Mesa-common-devel-3.4.1-4mdk.i586.rpm provides the glut and glu development stuff like glut.h
Upgrading your xfree to 4.1 can be a lot of hassle especially for someone newish to Linux, I don't suggest doing it.
Mesa is an implementation of opengl.
With a full install of mandrake 8 all this stuff will be installed already including tux racer and a bunch of other games.
castlef
08-16-2001, 09:41 PM
that is the creepy thing . i feel as if i missed a whole crap load of stuff. is there supposed to be 4 cd's? i only got 3 in the box.
even the gimp was not installed. i had to install a couple of devel packages, and GTK, and glibc, and gimp in order to get it. to late- i already installed 4.1 .
castlef
08-16-2001, 09:53 PM
i installed the mesa devel package. when i try to install tux racer it says cannot find GL library. which i would guess means i dont have OpenGL .
castlef
08-16-2001, 10:04 PM
thats funny.... i found the GL library i think.
/usr/X11R6/include/GL
now on to a bigger problem...
file /usr/X11R6/lib/libGL.s0.1.2
file /usr/X11R6/lib/libOSMesa.so.3.3
file /usr/X11R6/bin/glxinfo
... i deleted those files. i need to put them back :) .
Malakin
08-16-2001, 10:10 PM
devel files are only needed when you are building a program from source. If you install everything from binary rpm's which is what I suggest people newish to Linux at least try to do then you never need the devel stuff.
For opengl support you need these two files:
Mesa-3.4.1-4mdk.i586.rpm
Mesa-common-3.4.1-4mdk.i586.rpm
If installed and working properly this will give you *software* opengl support.
For hardware based opengl support you need video drivers that support it and glx working.
If stuff like gimp and mesa weren't installed, you may want to consider reinstalling mandrake and slowly going over the install options to make sure you have everything installed, on the downloadable iso version I think it's around 2gigs worth of stuff, don't have a clue what the boxed retail version is like.
[ 16 August 2001: Message edited by: idealego ]
castlef
08-16-2001, 10:19 PM
rpm -ev *
error: package .... is not installed
rpm -Uvh *
package ..... is already installed
.... the only way i can think to replace those 3 files is just reinstall XFree 4.1 but it wont let me delete them. is this a bug? i remember noticing this a couple weeks ago. try to delete a package and it says package is not installed. try to insall the package and it says package is already installed. the same name(the whole time the package is installed) i need to do something with the rpm database right?
Malakin
08-16-2001, 11:01 PM
when you use -e just name the package without the version information.
example:
to delete xscreensaver-3.28-4mdk.i586.rpm you would type "rpm xscreensaver -e"
You can try the gui package manager if you run into problems with the command line version, kmenu->configuration->Packaging->Package Manager.
Although it's slow, the mandrake software manager is pretty cool.