错误信息:
WARNING: Net::DBus::GLib is missing --> Ubuntu One support will be disabled!
WARNING: Image::ExifTool is missing --> writing Exif information will be disabled!
Can't locate Pod/Usage.pm in @INC (@INC contains: /usr/share/shutter/resources/modules /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/shutter/resources/modules/Shutter/App/Options.pm line 36.
BEGIN failed--compilation aborted at /usr/share/shutter/resources/modules/Shutter/App/Options.pm line 36.
Compilation failed in require at /usr/bin/shutter line 151.
Run Code Online (Sandbox Code Playgroud)
如何解决?
WARNING: Net::DBus::GLib is missing --> Ubuntu One support will be disabled!
Run Code Online (Sandbox Code Playgroud)
这是通过在终端中运行专门修复的 sudo apt-get install libnet-dbus-glib-perl
WARNING: Image::ExifTool is missing --> writing Exif information will be disabled!
Run Code Online (Sandbox Code Playgroud)
这是通过运行专门修复的 sudo apt-get install libimage-exiftool-perl
关于第 151 行的错误意味着您缺少 Shutter perl 模块(或者由于其他原因无法找到),而不仅仅是缺少必需的库。第 151 行需要 Options.pm,它在我的 12.10 系统(抱歉,我现在没有 12.04 安装方便)位于/usr/share/perl5/Shutter/App/Options.pm
您可能想尝试清除并重新安装 Shutter。在终端中:
sudo apt-get purge shutter
Run Code Online (Sandbox Code Playgroud)
进而
sudo apt-get install shutter
Run Code Online (Sandbox Code Playgroud)
看起来缺少一些软件包,这些是安装 Ubuntu 12.04 所需的软件包。
打开你的终端并输入
sudo apt-get install libcommon-sense-perl libextutils-depends-perl libextutils-pkgconfig-perl
libfile-which-perl libgnome2-canvas-perl libgnome2-gconf-perl libgnome2-perl
libgnome2-vfs-perl libgnome2-wnck-perl libgnomevfs2-extra libgoo-canvas-perl
libgoocanvas-common libgoocanvas3 libgtk2-imageview-perl libgtk2-unique-perl
libgtkimageview0 libhttp-server-simple-perl libjson-perl libjson-xs-perl
libnet-dbus-perl libpath-class-perl libproc-processtable-perl
libproc-simple-perl libsort-naturally-perl libtie-ixhash-perl
libwww-mechanize-perl libx11-protocol-perl libxml-namespacesupport-perl
libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl
libxml-simple-perl libxml-twig-perl libxml-xpath-perl perlmagick shutter
libunicode-map8-perl libunicode-string-perl xml-twig-tools imagemagick-doc
gnome-web-photo libnet-dropbox-api-perl libimage-exiftool-perl
libnet-dbus-glib-perl
Run Code Online (Sandbox Code Playgroud)
然后再试一次。