LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-10-2005, 01:25 PM   #1
benson444
LQ Newbie
 
Registered: Oct 2005
Location: UK
Distribution: Ubuntu 6.06 i386
Posts: 3

Rep: Reputation: 0
gnubg on suse 10


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.
 
Old 10-10-2005, 05:13 PM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
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.
 
Old 10-11-2005, 05:39 AM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
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

Quote:
Using Konqueror go to this address
ftp://ftp.mirrorservice.org/sites/ft...pub/suse/i386/
ftp://packman.iu-bremen.de/suse/
ftp://ftp.uni-erlangen.de/pub/Linux/.../pub/suse/i386
http://ftpgwdg.de/pub/linux/misc/suser-guru/rpm
right click on the 9.3 directory and select actions>Add directory as yast
source.

Do the same with the directory "yast-source" at this url
ftp://ftp.mirrorservice.org/sites/ft...update_for_9.3
and this for Gnome
ftp://ftp.mirrorservice.org/sites/ft...update_for_9.3

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.
 
Old 10-11-2005, 01:34 PM   #4
benson444
LQ Newbie
 
Registered: Oct 2005
Location: UK
Distribution: Ubuntu 6.06 i386
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 10-11-2005, 06:44 PM   #5
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

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

regards

John
 
Old 10-12-2005, 07:13 AM   #6
benson444
LQ Newbie
 
Registered: Oct 2005
Location: UK
Distribution: Ubuntu 6.06 i386
Posts: 3

Original Poster
Rep: Reputation: 0
It works! Thank you.
 
Old 10-12-2005, 04:12 PM   #7
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
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!

regards

John
 
  


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
gnubg backgammon install trouble neilcpp Linux - Software 0 09-14-2005 11:43 AM
SuSE: Dlink Access Point: How to let SuSE 9.1 box fetch the webpages for wlan request hansschmucker Linux - Wireless Networking 3 01-06-2005 12:02 PM
gnubg - executing the game? bigjohn Linux - Games 3 12-07-2004 07:58 AM
SUSE Security Announcement - Linux Kernel (SuSE-SA:2004:009) ima Linux - Security 0 04-19-2004 08:35 AM
Installing gnubg mac_phil Linux - Software 0 12-17-2003 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:46 PM.

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