LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-26-2003, 11:46 PM   #1
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
SDL and frozen-bubble


Installed all the SDL packages and the frozen-bubble package from here

http://webpages.charter.net/jay_scot...nux/slackages/

when I run frozen-bubble it gives me this error

Can't locate SDL.pm in @INC (@INC contains: /usr/lib/perl5/5.8.1/i486-linux /usr /lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i486-linux /usr/lib/perl5/site_p erl/5.8.1 /usr/lib/perl5/site_perl .) at /usr/bin/frozen-bubble line 51.
BEGIN failed--compilation aborted at /usr/bin/frozen-bubble line 51.

I have no idea what that means other than it can't find something it needs from SDL.
 
Old 11-27-2003, 01:46 AM   #2
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
I dumped the packages and went to install from source. SDL_mixer won't compile becauseit needs smpeg. smpeg won't compile give me this error

.libs/libsmpeg.so: undefined reference to `operator new[](unsigned)'
.libs/libsmpeg.so: undefined reference to `operator delete(void*)'
.libs/libsmpeg.so: undefined reference to `operator delete[](void*)'
.libs/libsmpeg.so: undefined reference to `operator new(unsigned)'
 
Old 11-27-2003, 02:20 AM   #3
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Try this:

make CC=g++ clean
make CC=g++ all

That should fix that error. In case you don't know yet, you also need SDL-image, SDL-perl, & SDL-ttf in addition to SDL-mixer and smpeg. SDL-ttf isn't listed on the frozen-bubble page but I got an error on NewFont something or other when running frozen bubble and that is what solved it. Also you need to compile the SDL-perl module after all these others, as it checks for the others and only works correctly with frozen bubble if it finds them, even though it will compile without them. Good luck.


Edit: BTW, I was able to get frozen bubble to work without installing smpeg, but I did use a package and got the same error as you did in the perl @INC. As it turned out, the package installed the perl modules in the wrong spot. All I did was move them after locating SDL.pm to fix it.

Last edited by DaHammer; 11-27-2003 at 02:30 AM.
 
Old 11-27-2003, 02:38 AM   #4
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
That did work, smpeg did compile. However, when I run ./confgiure for SDL_mixer it says that it can't find smpeg configure script.


Last edited by Glock Shooter; 11-27-2003 at 02:41 AM.
 
Old 11-27-2003, 02:52 AM   #5
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
I compiled it anyways and it worked. Thank you very much Mr DaHammer....I try to google and search and rarely have to post. I was sure stumped on this one. Thanks again.
 
Old 11-27-2003, 04:02 AM   #6
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
No problem, glad I could help. I faced the same thing a week or so ago, so it was fresh in my mind.. Had to see what all the hype was about with this game. Played it almost non-stop for 3 or 4 hours. Then I went to snooping around in the perl script, found a couple easy cheats and that took all the fun out of it..hehe
 
Old 11-27-2003, 09:24 AM   #7
chado
Member
 
Registered: Nov 2003
Location: Canada
Distribution: Servers: Gentoo/Centos
Posts: 45

Rep: Reputation: 15
What level did you get to? We got stuck at level 70...couldn't get past it...I swear it would give me the wrong colour no matter what...

Chado
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
frozen bubble acidjuice Slackware 7 03-02-2005 03:39 PM
frozen bubble Segmentation Fault (SDL Parachute Deployed) lrt2003 Linux - Games 7 04-18-2004 04:48 PM
SDL-perl for frozen bubble kelryu Linux - Newbie 2 02-18-2004 04:52 PM
Frozen Bubble Phorem Linux - Games 2 02-05-2004 12:30 PM
frozen-bubble can't locate SDL... teona Linux - Newbie 3 12-29-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:04 AM.

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