SliTaz SliTaz Forum

You are not logged in.

#1 2018-10-16 00:09:36

R8
Member
Registered: 2015-08-20
Posts: 143

Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hi,

When I try to start Frozen Bubble, I see this error message in a terminal:

Can't locate Locale/gettext.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.14.1/x86_64-linux /usr/lib/perl5/site_perl/5.14.1 /usr/lib/perl5/5.14.1/x86_64-linux /usr/lib/perl5/5.14.1 /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/site_perl .) at /usr/bin/frozen-bubble line 52.

BEGIN failed--compilation aborted at /usr/bin/frozen-bubble line 52.

Could you help me to solve this problem?

This is a problem that I had not in the past (now I reinstalled SliTaz).

Offline

#2 2018-10-16 06:40:15

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hi, to solve try

tazpkg -gi perl-locale-gettext

Offline

#3 2018-10-17 00:14:06

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hi gibor,

Thanks for your help.

1/I tried tazpkg -gi perl-locale-gettext => It tells me that the package is all installed.

2/I tried tazpkg -gi perl-locale-gettext --forced ==> problem not resolved.

3/remove and reinstall the package ==> problem not resolved.

Offline

#4 2018-10-17 04:17:33

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Where you got the game?

I have tried to compile from source, and seem work well. But my version of slitaz is different as standard...

If you want try my rebuild and good luck;)

https://yadi.sk/d/ddKyB_5QON9GNA

dependency: libsdl-pango libsdl-perl perl-locale-gettext

Offline

#5 2018-10-17 06:14:02

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

@R8

Frozen-bubble works on my Slitaz-5.0 32bit full install.

The output from your error indicates you are using slitaz-next 64bit.

/usr/lib/perl5/site_perl/5.14.1/x86_64-linux

Slitaz-next is only for advanced users that can provide their own support.

Offline

#6 2018-10-17 08:05:54

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hello gibor & mojo,

Thank you for your answers.

I got the game from the package manager.

I tried the rebuild of gibor, but I have the same problem.

I don't think that there is a problem with the package frozen-bubble, but with a dependency.

I always thought that my SliTaz is a rolling version 32bits. I just choosed Web/rolling-version during the installation. I don't think that I use the 'next 64bits'. How can I verify that?

I think that the problem is that the package perl-locale-gettext is configured for a 64bits version. But I just installed this package from the package manager on my 32bits system.

Offline

#7 2018-10-17 10:41:16

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Yes you have right! From repos (5 and cooking) perl is 5.14.1 compiled for x86_64.

My distro use a previous version (avaible on repos 4) and it is perl 5.12.3 compiled for 32bit...

the bug for bubble not is perl-locale-gettext, but the perl version.

Offline

#8 2018-10-17 15:57:48

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Bellard updated perl-5.12.3 to perl-5.14.1 so he could build fusioninventory-agent and didn't rebuild all the other packages linked to perl-5.12.3 including perl-locale-gettext that frozen-bubble depends on.

http://hg.slitaz.org/wok/rev/7423cf91a25b

I have my system locked down preventing updates so I still have perl-5.12.3 installed which explains why I didn't get the error from perl-locale-gettext and frozen-bubble runs.

@gibor

Rebuild perl in 32 bits:

http://hg.slitaz.org/wok/diff/cd2def637347/perl/receipt

The updated perl-5.14.1 in slitaz/packages/5.0 and slitaz/packages/cooking is now 32-bits:

tux@slitaz:~/Downloads$ file perl-core-5.14.1/fs/usr/bin/perl5.14.1

perl-core-5.14.1/fs/usr/bin/perl5.14.1: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.30, stripped

@R8

You can wait for bellard to rebuild perl-locale-gettext against perl-5.14.1 or try on your computer.

Offline

#9 2018-10-18 18:46:06

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hello,

Today I made available updates (with the package manager):

2018-10-18 20:11:50 - Installed - perl (5.14.1) - 5921337df43dbdb6d7b3594928804f84

2018-10-18 20:11:52 - Installed - perl-locale-gettext (1.05) - 9529f18059b5ebc17a1473b769ca8f50

2018-10-18 20:11:58 - Installed - sysfsutils (2.1.0) - 5069aafc368e3aa9b919e1157d9e4b00

2018-10-18 20:12:04 - Reconfigured - ipxe (944)

2018-10-18 20:12:04 - Reconfigured - memtest (944)

2018-10-18 20:12:05 - Installed - syslinux (4.06) - 49c67c6d5c82fef5dec47a4c645f4f76

2018-10-18 20:12:09 - Installed - syslinux-extra (4.06) - 15f60e395c2867dce0702dc70e2b25ab

I don't know if this is a specific update to fix my problem.

But after the updates + restart, I have still the problem. It is another error message:

Can't locate SDL.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.14.1/x86_64-linux /usr/lib/perl5/site_perl/5.14.1 /usr/lib/perl5/5.14.1/x86_64-linux /usr/lib/perl5/5.14.1 /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/site_perl .) at /usr/bin/frozen-bubble line 58.

BEGIN failed--compilation aborted at /usr/bin/frozen-bubble line 58.

Offline

#10 2018-10-19 22:19:26

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

@R8

Frozen-bubble:

Downgrade to perl-5.12.3

https://www.mediafire.com/file/ynfeosa926qdddd/perl-5.12.3.tazpkg

[c]tazpkg install perl-5.12.3.tazpkg --forced[/c]

Install this older build of perl-locale-gettext-1.05

https://www.mediafire.com/file/e43bqd5zw9z9i1f/perl-locale-gettext-1.05.tazpkg

[c]tazpkg install perl-locale-gettext-1.05.tazpkg --forced[/c]

If it works block those pkgs from update:

[c]tazpkg block perl[/c]

[c]tazpkg block perl-locale-gettext[/c]

[c]tazpkg list blocked[/c]

Offline

#11 2018-10-20 00:09:17

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hello mojo,

I tried your solution ==> It works! I had the possibility to start the game wink Thank you!

But after that, I was asking myself if it was not better to "clean" this. So, I made following actions:

1. remove 3 packages with package manager: frozen-bubble, perl and perl-locale-gettext

2. install frozen-bubble with package manager (it also automatically installs the 2 dependencies: perl and perl-locale-gettext)

3. with package manager: remove perl and perl-locale-gettext

4. follow your procedure.

And... it doesn't work. After that, I tried a lot of things (downgrade, installs, removes,...) but it doesn't work. I don't really understand why it was working and that I can not reproduce the bug+solution.

Offline

#12 2018-10-20 18:25:47

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hello R8,

Open as root in leafpad or less

[c]leafpad /var/lib/tazpkg/installed.md5[/c]

Package md5sum are appended as they are installed to installed.md5

Check the bottom of your installed.md5 to verify your installed packages have identical md5sum to mine:

[c]3dd096e4d8a35ca691e968869eceb021  frozen-bubble-2.2.0.tazpkg[/c]

[c]4eb17d8b4d7505d388ba01786b9678ea  libsdl-pango-0.1.2.tazpkg[/c]

[c]6cab4bdec44e1f6a719a4d1843730667  libsdl-perl-2.2.6.tazpkg[/c]

[c]415f897da9cc12f1e68be456f98ce2fb  libsdl-gfx-2.0.23.tazpkg[/c]

[c]ddd1c5b2f3e67ea015ac5691997dacde  libsdl-net-1.2.7.tazpkg[/c]

[c]5c9cc66b65af400511d237e77c3f8523  libsmpeg-399.tazpkg[/c]

[c]aa7a4a9ad6514a0f5a2c303d16ecb0e4  perl-5.12.3.tazpkg[/c]

[c]8bfc12931258d61a3738644d882c0f88  perl-locale-gettext-1.05.tazpkg[/c]

[c]eb6ad50e659b6d83ee0d1b759c99c3dd  libsdl-1.2.14.tazpkg[/c]

[c]f64e9af1b4d65db7764eb35fc3395fc5  libsdl-image-1.2.10.tazpkg[/c]

[c]1d3a1b3bb10f2fada6856c46947e8a63  libsdl-mixer-1.2.11.tazpkg[/c]

[c]ca5ad7e8f2857e1dc454ad7374f2f934  libsdl-ttf-2.0.10.tazpkg[/c]

Reply which packages don't match and I can repack the ones on my computer.

If the installed packages have identical md5sum number you will need to try to start frozen-bubble in terminal and post any error messages.

Offline

#13 2018-10-21 07:55:54

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hello mojo,

All my packages have identical md5sum to yours!

The error message (in a terminal) is:

Can't locate SDL.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.3/i686-linux /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/5.12.3/i686-linux /usr/lib/perl5/5.12.3 .) at /usr/bin/frozen-bubble line 58.

BEGIN failed--compilation aborted at /usr/bin/frozen-bubble line 58.

I don't understand very good this error message: is the problem that the file SDL.pm is missing?

Thanks again for your help...

Offline

#14 2018-10-21 16:37:47

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hello R8

tux@slitaz:~$ tazpkg search-pkgname SDL.pm

Search result for package "SDL.pm"

================================================================================

libsdl-perl

================================================================================

1 package

[c]tazpkg -gi libsdl-perl --forced[/c]

Always provide the error messages when a program will not run.

Offline

#15 2018-10-21 18:19:40

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hello mojo,

Yes! It works! Thank you!

Last question I hope... In a previous message, you told me:

If it works block those pkgs from update:

tazpkg block perl

tazpkg block perl-locale-gettext

tazpkg list blocked

I suppose that I continue to do this? Or is that no more necessary?

Offline

#16 2018-10-21 18:44:58

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Leave perl and perl-locale-gettext blocked. If either one or both are updated from the slitaz repo it will break frozen-bubble. Then you would have to downgrade using the versions I posted on mediafire.

Play the game until one of the other packages it depends that is not blocked is updated causing it to break. Then post again to this thread the error messages and I'll figure out what needs to be done to get it working again.

Offline

#17 2018-10-21 19:18:47

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Allright, thank you wink

Offline

#18 2018-10-28 16:39:09

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hello,

A lot of updates are available on the Package manager. See attachment (e.g. frozen-bubble, libsdl-perl,...).

Should I block some updates ?

[attachment=46812,2738]

Offline

#19 2018-10-28 17:19:13

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Block frozen-bubble and libsdl-perl from updating.

I rebuilt libsdl-perl against perl-5.14.1 in order for frozen-bubble rebuild to generate pm modules.

Problem is rebuilt frozen-bubble installs files to x86_64-linux path when it should be i486-linux path.

http://cook.slitaz.org/index.cgi?pkg=frozen-bubble

Files found in blib/arch: installing files in blib/lib into architecture dependent library tree

Installing ${install}/usr/lib/perl5/5.14.1/x86_64-linux/auto/fb_c_stuff/fb_c_stuff.bs

Installing ${install}/usr/lib/perl5/5.14.1/x86_64-linux/auto/fb_c_stuff/fb_c_stuff.so

Installing ${install}/usr/lib/perl5/5.14.1/x86_64-linux/fb_net.pm

Installing ${install}/usr/lib/perl5/5.14.1/x86_64-linux/fb_stuff.pm

Installing ${install}/usr/lib/perl5/5.14.1/x86_64-linux/fb_c_stuff.pm

Installing ${install}/usr/lib/perl5/5.14.1/x86_64-linux/fb_net_discover.pm

Installing ${install}/usr/lib/perl5/5.14.1/x86_64-linux/FBLE.pm

Installing ${install}/usr/lib/perl5/5.14.1/x86_64-linux/fbsyms.pm

Installing ${install}/usr/lib/perl5/5.14.1/x86_64-linux/fb_config.pm

Frozen-bubble can't find the files and fails to start.

Offline

#20 2018-10-28 22:28:32

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hi mojo,

OK, I blocked the 2 packages and I mode the other updates. Frozen Bubble is still OK, that's the most important for me... and for my daughter wink

Now, 4 packages are blocked to let met play this game.

Thank you for your help and good luck if you're trying to find a "real" solution.

Offline

#21 2018-11-17 00:50:40

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Hello,

There is something that I don't understand.

I have 2 laptops.

All my messages - and problems/solutions for Frozen Bublle - in this topic concern my 1st laptop: Asus Eee PC 900 with SliTaz rolling 32bits. On this laptop, I blocked 4 packages to be able to play Frozen Bubble.

I have a second laptop with MS-Win 10. On this 2nd laptop, I just made - in Win 10 with Virtual Box - a new install of SliTaz rolling 32bits and all the updates. And I installed the package Frozen Bubble from the package manager. I thought that the game wouldn't run (because the new packages of Perl are not compatible with the game and that I have to block it on my 1ste laptop)... but it's OK, I can open and play Frozen Bubble.

So, why? Any idea? Can I now deblock the 4 packages on my 1st laptop?

wink

Offline

#22 2018-11-17 09:46:39

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

> So, why? Any idea? Can I now deblock the 4 packages on my 1st laptop?

Yes, the dependencies have been rebuilt.

Offline

#23 2018-11-17 22:22:38

R8
Member
Registered: 2015-08-20
Posts: 143

Re: Frozen Bubble - Slitaz-5.0 32 bit - Perl

Thank you Bellard!

I deblocked the concerned packages, updated them and... It's OK wink

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]