错误信息:
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.
如何修复?
答案1
WARNING: Net::DBus::GLib is missing --> Ubuntu One support will be disabled!
这是通过在终端中运行来专门修复的sudo apt-get install libnet-dbus-glib-perl
WARNING: Image::ExifTool is missing --> writing Exif information will be disabled!
这是通过运行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
进而
sudo apt-get install shutter
答案2
看起来好像缺少一些软件包,这些是 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
然后重试。