Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm totally new to linux (one day after suse 10 install) and am having trouble installing gnubg (backgammon prog). It's listed in the software package groups but i get warnings of dependency conflicts. "Unresolved conflicts - gnubg requires libgdkglext-x11-1.0.so.0" and also libgdtglext-x11-1.0.so.0. I've searched the web some, but nothing yet.
All the important things work: broadband, mp3 player, camera and all my hardware (except for my mouse-wheel which highlights text and launches links...) and i'm well happy with it so far. If i could get gnubg working i'd be happy to ditch windows xp.
I'm not sure if those are the same packages that "played up" when I had SuSE 9.3 installed. I was directed by an aquaintence toward something else that satisfied the unresolved dependency - I can't find out right now, as my LUG mail archive server seems to be down/frozen/slow.
If you can give me a day or two, I'll be able to find out if my problem is there or whether my friend emailed me directly or not.
regards
John
p.s. Oh and things like that were why I move to using gentoo. I'd been lead to believe that that sort of issue wouldn't appear with SuSE, well they did and it annoyed the hell out of me.
Ok, I seem to recall that to get the dependency problem sorted under SuSE 9.3 for the gnubg, I had to make sure that I had some software mirrors/repostitories listed, as I understand that some list more than others (though how true that might be, I couldn't say).
So below is the text of a reply I got from a friend about putting in those repositories
each time you will be asked for the root password then after a while you get
an OK dialogue box pop up.
Now open YaST2 >software >Install and Remove Software
change Filter from search to Package Groups
At the bottom of the left pane highlight zzz-all
In the top bar Package >All in this list > Update if newer version available
Click Accept
Ok, the ones in the quote are for 9.3, but there should (theoretically) be the directories for #10 at these ftp servers as well.
Then, I had to sort the dependency problem using advice from a different person, quoted below.
Quote:
> Find out exactly what package a library comes from?
>
> I like to play backgammon. GNUBG is rather good. Their site even has a
> SuSEised rpm, but it was produced with SEL (SuSE Enterprise Linux). So
> if I install "it" via the YAST tool, I'm getting hit with a dependency
> problem (which I thought that YAST was supposed to sort out). The
> library is libgtkglext.so.??? (there was 1 or 2 other bits that
> followed the .so bit that I can't recall).
On their website, they include RPM's which appear to be that package - I
would suggest you download the gtkglext rpm file from their website: http://www.acepoint.de/GnuBG/suse/
And in the release notes below:
1. gtkglext-1.0.4-1.i586.rpm (necessary for 3d support)
2. ftgl-2.0.11-1.i586.rpm (necessary for 3d support)
3. gnubg-0.14-5.i586.rpm (gnubg binary 3d support included)
4. gnubg-no-3d-0.14-5.i586.rpm (gnubg binary without 3d support)
5. gnubg-databases-0.14-5.i586.rpm (the databases)
6. gnubg-sounds-0.14-5.i586.rpm (sound files)
7. gnubg-0.14-5.src.rpm (the source rpm package)
There are even instructions on how to build from the source RPM yourself, so that you can package your own copy.
> I've tried searching at rpmfinder (or was it called rpmseek?? don't
> remember), but this doesn't highlight which package the lib comes
> from. If I can find that, I should be able to install it (erm, I
> think!). I seem to have gtk, versions 1 and 2 installed, but not the
> whole of gnome (my last install efforts seem to have worked out OK,
> but I didn't see any point in installing gnome as I just can't get on
> with it).
Yep - thats what I do if I want to find a library. Actually, I do a
wider search than that, and just type the library into google - if it is
anyway, google finds it across the board, which is nice
Now from memory, I already had installed the gnubg binary with the 3d support (bullet point 3), as well as the one for the databases and sounds. It was the two RPM's at the top of the list (points 1 and 2) that I didn't have installed.
I seem to remember that I also had to make sure that my user account name had to be put in the games group (though I might be wrong as I've been meddling with various distros over the last few months and you might already have your user listed in the games group).
Hopefully that will get you up and running with the gnubg.
regards
John
p.s. I can't say if actions from both the quotes are necessary - the second one definitely is - but the first quote, I seem to recall was involved in the solving of getting the gnubg working under 9.3 - in any case, if you do follow the instructions in both, it should (I suspect) not only help in getting the gnubg working for you, but also give you up to date software availability listing in YaST.
Thanks man. Got all the files I need, clicked on them and installed them with yast. All except the src.rpm file. When I made a link on my desktop and clicked it the splash screen came up and disappeared but the program did not start.
So... I learnt a bit about source files, tar.gz, extract, configure and make.
./configure was ok but make gave me this error:
cd . && /bin/sh /usr/src/packages/SOURCES/gnubg-0.15/missing --run aclocal-1.6 -I m4
/usr/src/packages/SOURCES/gnubg-0.15/missing: line 46: aclocal-1.6: command not found
WARNING: `aclocal-1.6' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the `README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `aclocal-1.6' program.
make: *** [aclocal.m4] Error 1
Then, after a search, I installed automake and autoconf but still get the same error.
Do I need to configure and install the source file if I've installed the other files in yast? Also, yast shows a lock next to gnubg, gnubg-database and gnubg-sounds. Is it actually installed already but not working for some other reason?
No I don't believe that you do need the src.rpm - you will have already installed the binary one.
If it's locked, I'm thinking that it might be something like you'll need to check which group you have your user account in. I think that you might want to open a terminal window, do the "su" (no quotes of course), put in the root password and when the prompt shows as a # prompt, just type in gnubg and see if it starts from command line (which it should do - as far as I can recall) or maybe if you can log in graphically as root and start it there.
Or possibly it's a permissions thing, I've got it so that owner can read & write, groups can read as can others.
Sorry if that's a bit of a crappy explaination - theres so much I don't know about linux - I just often manage to work stuff like this out, by reading forums and trying things on a hit or miss basis.
Originally posted by benson444 It works! Thank you.
Da Nada my friend.
Anything for a fellow backgammon player. Chess is for cerebal wusses!, whereas BG is part brains and part luck of the dice - even a computer generated dice!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.