[Solved] Shutter installation failure (Perl problem?)

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Themis
Posts: 72
Joined: 27. Feb 2016, 22:17
Location: France

[Solved] Shutter installation failure (Perl problem?)

Post by Themis »

Hello,

I’ve tried to install Shutter, which I prefer to the default screenshot software. Since my distro has been freshly installed, I’ve first done sudo spi -u, then I’ve also done the updates the system wanted me to do. Finally, following the Start-Up Guide, I’ve also installed cmake, linuxdoc-tools, and the slackware/d and slackware/l package sets.

Here is the problem I’m facing while trying to install Shutter (I skip the “Goo-Canvas” things, to shorten the output a little bit).

Code: Select all

[~]$ sudo spi -i shutter
The following packages will be installed:
 perl-goo-canvas 
Fetching README...Done
Fetching perl-goo-canvas.SlackBuild...Done
Fetching perl-goo-canvas.info...Done
Fetching slack-desc...Done
Goo-Canvas-0.06/
Can't locate Pango.pm in @INC (you may need to install the Pango module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/lib64/perl5/vendor_perl/Gtk2.pm line 31.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Gtk2.pm line 31.
Compilation failed in require at (eval 10) line 1.
BEGIN failed--compilation aborted at (eval 10) line 1.

Checking if your kit is complete...
Looks good
Warning: Guessing NAME [Goo-Canvas] from current directory name.
Warning: NAME must be a package name
Can't locate object method "postamble_clean" via package "Glib::MakeHelper" (perhaps you forgot to load "Glib::MakeHelper"?) at Makefile.PL line 163.
fakeroot -- sh perl-goo-canvas.SlackBuild Failed
I’ve never encountered this kind of problem on Ubuntu, so this is pretty new to me. I see that there is something about Perl, but I don’t understand why there’s a compilation failure with it. I took it from the repos, so… Or should I follow the Start-Up Guide and try to compile it myself? (first time ever that I would do that)?

Thanks!
Last edited by Themis on 18. Oct 2017, 20:48, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Shutter installation failure (Perl problem?)

Post by gapan »

Probably a missing dependency. Try installing perl-pango first.
Image
Image
User avatar
Themis
Posts: 72
Joined: 27. Feb 2016, 22:17
Location: France

Re: Shutter installation failure (Perl problem?)

Post by Themis »

Yep, that solved the problem. Thank you very much. :)
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Shutter installation failure (Perl problem?)

Post by gapan »

Good. I'll add the dependency.
Image
Image
Post Reply