You are not logged in.

#1 2017-09-18 03:04:21

digifuzzy
Member
Registered: 2013-12-11
Posts: 12

frozen-bubble execution fails

Installed frozen-bubble successfully but program fails to execute. When done from the command line, program reports:

Can't locate SDL_perl.pm in @INC (you may need to install the SDL_perl module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/lib/perl5/vendor_perl/SDL.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/SDL.pm line 42.
Compilation failed in require at /usr/bin/vendor_perl/frozen-bubble line 59.
BEGIN failed--compilation aborted at /usr/bin/vendor_perl/frozen-bubble line 59.

From Frozen Bubble - troubleshooting page, "...either you didn't install sdlperl, or you installed it at the wrong location."

I checked the perl changes recently announced. No discrepancies were found.

I went on to verify/re-do Perl installation.

# pacman -Scc
# pacman -Qqs 'perl-*' | sudo pacman -S -
# pacman -S frozen-bubble

The error persists. I can only presume that there is either a problem with the frozen-bubble package or I still have a problem with my Perl installation.
Suggestions?

Offline

#2 2017-09-18 04:40:02

digifuzzy
Member
Registered: 2013-12-11
Posts: 12

Re: frozen-bubble execution fails

When in doubt...try manual method.
I followed the steps given in the PKGBUILD file.
- grabbed make depends
- download source tar.bz2
- expand source
- cd into folder
- perl Build.PL

I got a similar error message as originally posted.
This page suggested setting an environment variable PERL5LIB. This variable was empty to begin with (as was PERLLIB). I set PERL5LIB to path to the location of vendor_perl for the current version:

export PERL5LIB=/usr/lib/perl5/5.26/vendor_perl/

Manual build was then successful and I could actually execute the game.
Is my perl mis-configured?

Offline

#3 2017-09-18 10:22:47

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: frozen-bubble execution fails

I can only presume that there is either a problem with the frozen-bubble package or I still have a problem with my Perl installation.

Is my perl mis-configured?

Looks like the problem is that the frozen-bubble code doesn't understand the new paths.

Try running "perl -V:vendorarch" just before the perl build command .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2017-09-18 10:39:32

digifuzzy
Member
Registered: 2013-12-11
Posts: 12

Re: frozen-bubble execution fails

Lone_Wolf wrote:

Try running "perl -V:vendorarch" just before the perl build command .

$ perl -V:vendorarch
vendorarch='/usr/lib/perl5/vendor_perl';

Offline

#5 2017-09-18 10:50:53

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: frozen-bubble execution fails

output of that on my system :

$ perl -V:vendorarch
vendorarch='/usr/lib/perl5/5.26/vendor_perl';
$

That suggests i was wrong and you do have something misconfigured.
I know very littlle about perl, hopefully others can help you further.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB