[pgsql-jp: 25595] Perlモジュールが入らない?

Toshihiro Takahata tandt @ imex-japan.com
2002年 4月 15日 (月) 04:53:07 JST


 ほとんどROMしている高畑です。

 普段rpmに頼ってインストールしているのですが、たまにはソースからインス
トしようと思い立ち、最新版で
http://www.itboost.co.jp/inst/index.php
 上記サイトを参考にしてインストールし始めました。

 本体のインストールは
./configure --enable-multibyte=EUC_JP;make;make install
 これでうまく行ったのですが、どうもPerlモジュールがうまくインストール出
来ません。

 ユーザーrootにて
# perl Makefile.PL
Writing Makefile for Pg
# make
make -C ../../../src/interfaces/libpq all
make[1]: Entering directory `/usr/local/src/postgresql-7.2.1/src/interfaces/libp
q'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/postgresql-7.2.1/src/interfaces/libpq
'
make -f Makefile all VPATH=
make[1]: Entering directory `/usr/local/src/postgresql-7.2.1/src/interfaces/perl
5'
make[1]: *** No rule to make target `/Pg.pm', needed by `pm_to_blib'.  Stop.
make[1]: Leaving directory `/usr/local/src/postgresql-7.2.1/src/interfaces/perl5
'
make: *** [all] Error 2

 上記の様なエラーが出て、うまくインスト出来ません。
 試しにmake cleanをしてからmakeすると、makeは完了しました。
 postgresユーザーでのmake testも正常に行ってるようですが…
 make installでエラーが出てしまいます。
# make install
make -C ../../../src/interfaces/libpq all
make[1]: Entering directory `/usr/local/src/postgresql-7.2.1/src/interfaces/libp
q'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/postgresql-7.2.1/src/interfaces/libpq
'
make -f Makefile all VPATH=
make[1]: Entering directory `/usr/local/src/postgresql-7.2.1/src/interfaces/perl
5'
make[1]: Leaving directory `/usr/local/src/postgresql-7.2.1/src/interfaces/perl5
'
make[1]: Entering directory `/usr/local/src/postgresql-7.2.1/src/interfaces/perl
5'
mkdir : No such file or directory at /usr/lib/perl5/5.6.0/ExtUtils/Install.pm li
ne 58
make[1]: *** [pure_site_install] Error 255
make[1]: Leaving directory `/usr/local/src/postgresql-7.2.1/src/interfaces/perl5
'
make: *** [install] Error 2

 何か問題があるのでしょうか…
 環境は、RedHat7.0.1J、Postgres7.2.1です。perlはrpmで5.6.0が入っていま
す。

==================================

 高畑 年宏 (Toshihiro Takahata)
 tandt @ imex-japan.com

==================================





pgsql-jp メーリングリストの案内