perl + gtk2 アプリケーションで WebKit を使用する必要があります。CPAN でパッケージ Gtk2::WebKit を見つけましたが、動作させることができません。
cpan> install Gtk2::WebKit
次の出力が得られます。
Package webkit-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkit-1.0' found
at inc/Module/Install/PRIVATE/WebKit.pm line 24
*** can not find package webkit-1.0
*** check that it is properly installed and available in PKG_CONFIG_PATH
at inc/Module/Install/PRIVATE/WebKit.pm line 24
No 'Makefile' created'YAML' not installed, will not store persistent state
FLORA/Gtk2-WebKit-0.09.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
FLORA/Gtk2-WebKit-0.09.tar.gz : writemakefile NO -- No 'Makefile' created
cpan が webkit を見つけられなかったようですが、それを修正する方法がわかりません (初めて perl と cpan を使用しました)。
環境: perl 5.12.4、ubuntu 11.10