[solved] shutter won't work

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
zazlox
Posts: 39
Joined: 19. Jun 2012, 02:24
Location: Morocco

[solved] shutter won't work

Post by zazlox »

hello everybody

I hope you doing well and everything is just fine .

well i installed shutter on salix fluxbox live version . but it seems won't launch , i search on the web , i found on some topic the same error but no fix

here is some info :

Code: Select all

zazlox@zazlox:~$ cat /etc/slackware-version 
Slackware 13.1.0

Code: Select all

zazlox@zazlox:~$ whereis shutter
shutter: /usr/bin/shutter /usr/X11R6/bin/shutter /usr/bin/X11/shutter /usr/X11/bin/shutter /usr/local/shutter /usr/share/shutter /usr/man/man1/shutter.1.gz /usr/share/man/man1/shutter.1.gz /usr/X11/man/man1/shutter.1.gz

Code: Select all

zazlox@zazlox:~$ shutter
Can't locate Gnome2.pm in @INC (@INC contains: /usr/lib/perl5/5.10.1/i486-linux-thread-multi /usr/lib/perl5/5.10.1 /usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at /usr/bin/shutter line 32.
BEGIN failed--compilation aborted at /usr/bin/shutter line 32.
zazlox@zazlox:~$ 

Last edited by zazlox on 3. Aug 2012, 12:44, edited 1 time in total.
The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it.
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: shutter won't work

Post by Tim CowChip »

You are probably on your own, since Shutter is not offered in the repos and therefore not supported. It looks like a nice app though. From what I have read, it works best with Gnome. It is the new version of gscrot.

How did you build it?
ImageImage
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: shutter won't work

Post by gapan »

By the error you've got, I'm guessing you also need to install perl-gnome2. More info about how you installed shutter would have been helpful.
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: shutter won't work

Post by laprjns »

shutter is available via splat-src or sourcery. However there are a lot of dependencies that need to be installed. And as your doing that you'll find that there are a lot of dependencies of dependencies also. I gave up trying to get them all built and installed. The direct dependencies are as follows:
"perl-gtk2-imageview, perl-gnome2, perl-gnome2-wnck,
perl-gnome2-gconf, locale-gettext, perl-www-mechanize, perl-net-dbus,
perl-x11-protocol and perl-proc-processtable"sslap
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
zazlox
Posts: 39
Joined: 19. Jun 2012, 02:24
Location: Morocco

Re: shutter won't work

Post by zazlox »

hello everybody , first thaks a lot for your support and nice comments , that's really kind of you .

tim cowship , you use cmd

Code: Select all

slapt-src --search shutter
or

Code: Select all

slapt-src --show shutter
or this cmd to install it , if you have some luck because i'm still facing some problem to make it work

Code: Select all

slapt-src -i hutter
******************************************
gapan, i used the same classic way using slapt-src and tracking dependencies one by one to make it work. i did some progress but still no joy .

here is some info or error messages when trying to install some dependencies

concerning the package perl-gnome2 , i installed without any error

but this one : perl-gnome2-gconf , won't compile

Code: Select all

PERL_DL_NONLAZY=1 /usr/bin/perl5.10.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.GConf.t .. 1/11 Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) at t/00.GConf.t line 31.
# Looks like you planned 11 tests but ran 3.
# Looks like your test exited with 255 just after 3.
t/00.GConf.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 8/11 subtests 

Test Summary Report
-------------------
t/00.GConf.t (Wstat: 65280 Tests: 3 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 11 tests but ran 3.
Files=1, Tests=3,  1 wallclock secs ( 0.03 usr  0.01 sys +  0.05 cusr  0.01 csys =  0.10 CPU)
Result: FAIL
Failed 1/1 test programs. 0/3 subtests failed.
make: *** [test_dynamic] Error 255
fakeroot -- sh perl-gnome2-gconf.SlackBuild Failed


and i think it's the same package whose causing this error

Code: Select all

zazlox@zazlox:~$ shutter
Can't locate Gnome2/GConf.pm in @INC (@INC contains: /usr/lib/perl5/5.10.1/i486-linux-thread-multi /usr/lib/perl5/5.10.1 /usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at /usr/bin/shutter line 33.
BEGIN failed--compilation aborted at /usr/bin/shutter line 33.
zazlox@zazlox:~$ shutter
Can't locate Gnome2/GConf.pm in @INC (@INC contains: /usr/lib/perl5/5.10.1/i486-linux-thread-multi /usr/lib/perl5/5.10.1 /usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at /usr/bin/shutter line 33.
BEGIN failed--compilation aborted at /usr/bin/shutter line 33.
zazlox@zazlox:~$ 
************************************
laprjns

thanks friend for your help , i did the same method but some dependencies won't compile correctly still facing some errors , like :

Code: Select all

root[zazlox]# slapt-get -i perl-gtk2-imageview
Reading Package Lists...Done
No such package: perl-gtk2-imageview

Failed 15/18 test programs. 21/38 subtests failed.
make: *** [test_dynamic] Error 255
fakeroot -- sh perl-net-dbus.SlackBuild Failed
i reinstall shutter without any error

Code: Select all

Slackware package /usr/src/slapt-src/graphics/shutter/shutter-0.86.4-i486-1_SBo.txz created.

Reinstalling package shutter-0.86.4-i486-1_SBo...
| shutter (a feature-rich screenshot program)
| 
| Shutter is a feature-rich screenshot program. You can take a
| screenshot of a specific area, window, your whole screen, or even of a
| website - apply different effects to it, draw on it to highlight
| points, and then upload to an image hosting site, all within one
| window. Shutter is free, open-source, and licensed under GPL v3.
| 
| Homepage: http://shutter-project.org/
| 
but still no luck to make it work , really tracking all these dependencies , it's not an easy work , you need patient :D
The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: shutter won't work

Post by laprjns »

Shutter built and installed here also, but it doesn't run because of missing dependancies:

Code: Select all

rich[~]$ shutter 
Can't locate Gnome2.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/vendor_perl/5.12.3/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.3 /usr/lib/perl5/5.12.3/i486-linux-thread-multi /usr/lib/perl5/5.12.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at /usr/bin/shutter line 32.
BEGIN failed--compilation aborted at /usr/bin/shutter line 32.
Here's the long list of dependencies needed: http://shutter-project.org/downloads/dependencies/
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: shutter won't work

Post by gapan »

Honestly, is that worth it for just a screenshot tool?
Image
Image
User avatar
zazlox
Posts: 39
Joined: 19. Jun 2012, 02:24
Location: Morocco

Re: shutter won't work

Post by zazlox »

laprjns , thanks for the link

well i did some progress , just few errors but i make it work

the cmd to launch shutter the first time gave this message

Code: Select all

zazlox@zazlox:~$ shutter
WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!

WARNING: Net::DBus::GLib is missing --> Ubuntu One support will be disabled!

INFO: no command line parameters set...


INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/sp3dreflection/sp3dreflection

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/sp3drotate/sp3drotate

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/spbordereffects/spbordereffects

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/spnegate/spnegate

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/sppolaroid/sppolaroid

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/spresize/spresize

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/spsepia/spsepia

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/spshadow/spshadow

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/spwatermark/spwatermark

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/shell/spaddlogo/spaddlogo

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/shell/spgrayscale/spgrayscale

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/shell/spjigsaw1/spjigsaw1

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/shell/spjigsaw2/spjigsaw2

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/shell/spoffset/spoffset

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/shell/spraise/spraise

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/shell/spsoftedges/spsoftedges

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/shell/spsunk/spsunk

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/shell/sptornedpaper/sptornedpaper

INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/shell/sptrim/sptrim
but if i launch it a second i get just this

Code: Select all

WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!

INFO: no command line parameters set...

concerning the method i use , it's not something special , just tracking dependencies one by one , but i used also cpan to install some perl modumes , sbopkg and slapt-src .

so right now it seems working ,

http://img43.imageshack.us/img43/7392/s ... rnshot.jpg

*****************************************
gapan , i knew it's just a simple screenshot toll, but i like especialy on editing pics , writing on it , the effects of its plugin ,

thanks all for your help and support , :)
The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it.
User avatar
pcbsd64
Posts: 21
Joined: 20. Apr 2012, 01:57
Location: in a van down by the river

Re: [solved] shutter won't work

Post by pcbsd64 »

If you comment out line #184 in /usr/bin/shutter, so it doesn't require imagebanana, it will start easier.
User avatar
zazlox
Posts: 39
Joined: 19. Jun 2012, 02:24
Location: Morocco

Re: [solved] shutter won't work

Post by zazlox »

pcbsd64 wrote:If you comment out line #184 in /usr/bin/shutter, so it doesn't require imagebanana, it will start easier.
i didn't see any error or ouput about imagebanana , there is one about ubuntuone

so the trick you said will look like that

Code: Select all

#check optional components
#--------------------------------------
my $gnome_web_photo = TRUE;
my $nautilus_sendto = TRUE;
my $goocanvas       = TRUE;
my $ubuntuone       = FALSE;
&fct_init_depend;

Code: Select all

#upload classes
#require Shutter::Upload::ImageBanana;
require Shutter::Upload::ImageShack;
require Shutter::Upload::FTP;
if($ubuntuone){
	require Shutter::Upload::UbuntuOne;
}
The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it.
Post Reply