postgres & pgsql インストール(Fedora core 5)
構築環境
- Fedora core 5 (coLinux)
- perl 5.8.8
- postgresql 8.1.9-1.fc5
- pgsql_perl5-1.9.0 (Pg)
手順
postgresインストール
# yum -y install postgresql postgresql-devel postgresql-server
pgsqlインストール
# wget http://search.cpan.org/CPAN/authors/id/M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz
# tar zxvf pgsql_perl5-1.9.0.tar.gz
# cd pgsql_perl5-1.9.0
〜インストール前に以下を設定〜
# POSTGRES_INCLUDE=/usr/lib/pgsql/include
# POSTGRES_LIB=/usr/lib/pgsql/lib
# export POSTGRES_INCLUDE
# export POSTGRES_LIB
# perl Makefile.PL
# make
# make test
〜以下のエラーが出ても無視でOK〜
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
Can't call method "errorMessage" on an undefined value at test.pl line 99.
make: *** [test_dynamic] Error 255
# make install