Help - Search - Members - Calendar
Full Version: Frozen Bubble not running [solved]
MandrivaUsers.org > General Help > Games
dude67
Hi all,
I've just got myself a set of new HW. It's a 6400 Core Duo Processor PC, with an NVIDIA Graphics chip 7600 GT in a graphics card (256 MB) made by MSI. The motherboard is also MSI. It has 2 x 1024 MB memory.

This new PC is running Madriva 2007.0 as is my older PC (still working fine). In the old PC (with an ATI X700 Pro graphics card) I can get Frozen Bubble running with no problems, but not with this new PC. I've used the same installation DVD with the both of them. This is what I get in shell command (ctrl-E) from trying to run Frozen Bubble:
CODE
Can't locate SDL.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux  /usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl .) at ./frozen-bubble line 56.
BEGIN failed--compilation aborted at ./frozen-bubble line 56.

It would seem that I'm missing some vital libraries, but I'm not really sure what to do... Anyone?

I've downloaded files from NVIDIA's site, so it should be OK. From running glxgears I get three nice gears w/ around 10500 to 18000 fps.
From this following, I believe I can see that 3D rendering is running (or am I wrong?).
CODE
$ glxinfo | grep direct
direct rendering: Yes

I've managed to play Mania Drive and Tuxracer , but e.g. Quake II and Frozen-Bubble would not play... What can I do; I would need Frozen-Bubble up & running ASAP as it's usually my wife that wants to play it! ohmy.gif
Thanks already in advance.
tyme
In MCC under the software installation try searching for an rpm named similar to perl-sdl, and ensure that it is installed. This is the package that SDL.pm should be included with.

If it is already installed, then we need to find out of SDL.pm exists, which we can do with locate:
CODE
$ locate SDL.pm

Note that you may need to run updatedb as root first to build the database that locate users.
dude67
OK, first I found out that perl-SDL-1.20.0-15mdv2007.0 is already installed. So it's not that.

Then this is what I did as root:
CODE
[root@localhost xxxxx]# locate SDL.pm
bash: locate: command not found
[root@localhost xxxxx]# updatedb
bash: updatedb: command not found
[root@localhost xxxxx]# updatedb
bash: updatedb: command not found
[root@localhost xxxxx]#

I have to admit, I was a bit lost for a minute, but then I dug a little deeper (= googled) and installed slocate in MCC.

This is what I got after slocate:
CODE
[root@localhost xxxxx]# locate SDL.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux/SDL.pm
[root@localhost xxxxx]#

OK. What does that tell us? That frozen bubble cannot find the SDL.pm, because it's not looking for it in the right places? If so, how can I tell it where it is?
tyme
The quick and dirty way would be to just symlink one of the directories it's looking in to the directory it's actually in:
CODE
# ln -s /usr/lib/perl5/site_perl/5.8.8/ /usr/lib/perl5/vendor_perl/5.8.8/i386-linux/
But be sure that /usr/lib/perl5/site_perl/5.8.8 (or whatever dir listed in @INC that you choose) does not already exist (I doubt it will).

The more "proper" way would be to add /usr/lib/perl5/vendor_perl/5.8.8/i386-linux/ to @INC, but I think that's a program-defined variable so you'd have to modify the program.
dude67
Well the /usr/lib/perl5/site_perl/5.8.8/ does not exist, but at least some of the directories do exist... I did the symlink as you suggested, but no help. It still doesn't work.

-- EDIT --

OK, it did change the line it froze on:

CODE
Can't locate SDL.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl .) at ./frozen-bubble line 51.
BEGIN failed--compilation aborted at ./frozen-bubble line 51.


Earlier it looked like this:
CODE
Can't locate SDL.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux  /usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl .) at ./frozen-bubble line 56.
BEGIN failed--compilation aborted at ./frozen-bubble line 56.
tyme
it seems the symlink didn't take. could go onto the command line, get into the site_perl directory and give us the output of:
CODE
ls -l
dude67
OK, will do, when I get home this evening.

What is the problem, if these folders do exist? The one that I mentioned (and the one I tried to symlink) does not exist, but many of the ones Frozen-bubble reported do exist.
dude67
QUOTE (tyme @ Feb 28 2007, 10:23 PM) *
it seems the symlink didn't take. could go onto the command line, get into the site_perl directory and give us the output of:
CODE
ls -l

If you meant the folder wher I found SDL.pm then it's this: /usr/lib/perl5/vendor_perl/5.8.8/i386-linux/

CODE
[root@localhost i386-linux]#  
total 137
lrwxrwxrwx 1 root root    31 Feb 28 22:00 5.8.8 -> /usr/lib/perl5/site_perl/5.8.8/
drwxr-xr-x 6 root root  1024 Feb 25 20:43 auto/
-rw-r--r-- 1 root root   161 May 11  2004 fb_c_stuff.pm
-rw-r--r-- 1 root root 85659 Oct 27 13:14 FBLE.pm
-rw-r--r-- 1 root root 16326 Nov 23 23:45 fb_net.pm
-rw-r--r-- 1 root root 12579 Nov 30 20:57 fb_stuff.pm
-rw-r--r-- 1 root root  1600 May 11  2004 fbsyms.pm
drwxr-xr-x 5 root root  1024 Feb 23 19:30 SDL/
-rw-r--r-- 1 root root    90 Apr  4  2002 SDL_perl.pm
-rw-r--r-- 1 root root 14004 Jan  3  2003 SDL.pm


The first line 5.8.8 -> /usr/lib/perl5/site_perl/5.8.8/ was blinking red, so there must be something wrong with it - right?
tyme
sorry for the delay.

yes, there's something wrong with it. my stupidity, is mainly what it was oops.gif

you want this command:
CODE
ln -s /usr/lib/perl5/vendor_perl/5.8.8/i386-linux/ /usr/lib/perl5/site_perl/5.8.8
I have this horrible tendency to switch things when I try to link them. You want the existing directory first, and then the location of the link to it. You can delete the 5.8.8 that's showed up in vendor_perl.
dude67
Thanks tyme, I'll check this tonight. I'll post findings here.
dude67
Sorry, but I didn't have time to test it. I'm not able to access that PC as I'm travelling, but I'll get back in a week. Post back then.
dude67
Back again.
I tried what you suggested and switched the lines in the symbolic link. No help
CODE
[root@localhost xxxxx]# ln -s /usr/lib/perl5/vendor_perl/5.8.8/i386-linux/ /usr/lib/perl5/site_perl/5.8.8
ln: creating symbolic link `/usr/lib/perl5/site_perl/5.8.8' to `/usr/lib/perl5/vendor_perl/5.8.8/i386-linux/': No such file or directory
[root@localhost xxxxxx]#

I also tried with the slash after 5.8.8/
CODE
[root@localhost xxxxx]# ln -s /usr/lib/perl5/vendor_perl/5.8.8/i386-linux/ /usr/lib/perl5/site_perl/5.8.8/
ln: target `/usr/lib/perl5/site_perl/5.8.8/' is not a directory: No such file or directory
[root@localhost xxxxx]#

I double-checked and the SDL.pm is still in the folder /usr/lib/perl5/vendor_perl/5.8.8/i386-linux/

I still get this when I try command: ./frozen-bubble
CODE
Can't locate SDL.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl .) at ./frozen-bubble line 56.
BEGIN failed--compilation aborted at ./frozen-bubble line 56.

When I try to run Frozen Bubble from the Games (application menu) it is just silent and nothing happens.

I also removed the earlier link - no help.

What am I missing here - anyone?
tyme
You did install this from the DVD's, right? And you've made sure to grab any relevant updates?
dude67
I updated from MCC using either the DVD or one of the easy-urpmi links I have. All the relevant updates - yes (at least what the MCC suggests).

I un-installed it all and now I'm downloading the files from Frozen-bubble.org. I'll post back when I've tried them.


Nothing... I DL'ed from the frozen-bubble.org site and it did come with some other packages (libs) I also installed. I tried - nothing. Then I upgraded/updated from MCC to the latest - nothing. Still the same problem...

I guess it was not meant that I'd play frozen bubble on my Mandriva with this particular HW set. It's not a big thing, but it kinda keeps bugging me - you know what I mean. wall.gif
tyme
I know what you mean, especially since it should work. It's very odd that a Mandriva-built (official) package would not be configured properly for the system it's meant to be run on. This may be a bug, and you may have better luck getting it resolved by putting it on qa.mandriva.com (assuming, of course, such a bug report does not already exist - you should search).

My suggestions really constituted a hack, but it's a hack commonly used (make the program think the files are where it's looking) - but there was no guarantee that it would work for you unsure.gif

sorry I can't be of more help...but I'll keep thinking on this and see if I come up with any other ideas.
Greg2
QUOTE (dude67 @ Mar 14 2007, 03:04 PM) *
I updated from MCC using either the DVD or one of the easy-urpmi links I have.

Is it possible you have mixed up 32 bit and 64 bit software using your DVD and easy-urpmi?
dude67
Hmmm... that may be, but I'd need to check. I'm not home at the moment, but how can I see, if I've done it correctly (Easy-Urpmi)?

If I've managed to screw up something there, should I try to install Mandriva again? The only thing is, that I have not been able to play the damn thing ever on this hw. Not even when I first set it up before I did any easy-uprmi.
Greg2
I believe your using an i586 DVD? So check to see if when you set up easy-urpmi that you also used i586 and not x86_64?

It looks like you may have installed a 64 bit (x86_64) perl or frozen bubble package?

If you have managed to do this, and have installed very many apps and libs... it would probably be best to reinstall your system. sad.gif
dude67
Well that may be the case... I just tried to install new NVidia drivers and this is what I got:
CODE
[root@localhost xxxxx]# sh NVIDIA-Linux-x86-1.0-9755-pkg1.run

ERROR: this .run file is intended for the
Linux-x86 platform, but you appear to be
running on Linux-x86_64.  Aborting installation.

I don't know where have I got this 64 bit information into my system, but I guess I must try to get it back showing 32 bit. This is one of the Easy-Urpmi addresses I've got:
CODE
ftp://ftp.clinet.fi/pub/mirrors/Mandrake-linux/official/2007.0/i586/media/contrib/updates

If I want to reinstall the system, would I be able to do that without losing everything I've already installed... At least the wireless interface was a real pain...
dude67
Well, I did install the system anew. Did a full re-installation, but no help. I get the same errors when trying to open Frozen Bubble from the /usr/games/ folder with Ctrl-E.

Then again I tried to install the latest NVIDIA drivers and could not install the 32 bit version. I finally installed the 64 bit version and managed to do so. So I don't know anymore which system I have... It did give me some error notification about the kernel, but it seems to be working fine. I can get the glxgears to run smoothly. unsure.gif

I had previously managed to install both Quake 4 and Doom 3 (also with the expansion pack). I just need to install them again... I must say that ID has done a good job with linux installation. 2thumbsup.gif

But I guess this is a little off topic for this gaming subforum and the subject.
dude67
Just today, I realized that I must be using the wrong system... At least when I changed the easy-urpmi versions to 64 bit versions and updated some packages (including the Frozen Bubble one) I managed to get Frozen Bubble running! Let's see, if I get any other problems with that, but for the moment it looks to work fine...

So the problem presented in this topic is solved. 2thumbsup.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.