$ sudo /opt/local/bin/cpan
cpan> install Bundle::CPAN cpan> q
(データが取得できなかった場合の表示) Conld not fetch modules/03modlist.data.gz Going to write /root/.cpan/Metadata Warning: Cannot install Bundle::CPAN, don't know ehat it is. Try the command i /Bundle::CPAN/ to find objects with matching identifiers. cpan> (cpanを終了) cpan> q (設定ファイルを削除) $ sudo rm -rf ./.cpan $ cd /opt/local/lib/perl5/5.8.8/CPAN $ sudo rm -f ./Config.pm* (初期設定をやり直し) $ cd $ sudo /opt/local/bin/cpan
$ sudo /opt/local/bin/cpan (モジュールを順番にインストールします) cpan[7]> install Gtk2 cpan[8]> install Gtk2::GladeXML cpan[9]> install libwww-perl cpan[10]> q #
$ tar xzvf gnview-0.8.1.tar.gz $ cd gnview-0.8.0 $ sudo perl install.pl