PostgreSQLをperlから使えるように。

pwblogでDBD::PgというPostgreSQL用のperlモジュールが必要なのでインストールしよう。

%sudo fink install dbd-pg-pm588
Information about 7900 packages read in 1 seconds.
The following package will be installed or updated:
 dbd-pg-pm588
The following 7 additional packages will be installed:
 dbd-pg-unified-pm588 dbi-pm588 net-daemon-pm plrpc-pm
 postgresql82 postgresql82-dev postgresql82-shlibs
Do you want to continue? [Y/n] 

結論から言うと、postgresql82がインストールされてしまいました。すでにpostgresql83はインストールしてあったのですが、無駄になってしまったようです。2つもPostgreSQLサーバが動いていても仕方なので不必要になってしまったpostgresql83をアンインストールしようと思います。postgresql83-shlibsはapache2で使っているらしくアンインストールしませんでした。

%sudo fink remove postgresql83

さてさて、pwblogインストールに必要な残りのperlモジュールは

Please install required modules below
   ==>Mail::Audit
   ==>Mail::Audit::Attach
   ==>Mail::Sender 
then 
Try install.pl again.

あと3つ!