[pgsql-jp: 34838] PLJavaの8.0.1 へのインストール

koyama mlus @ hintmark.com
2005年 2月 8日 (火) 21:16:53 JST


k7-koyama ともうします。


PostgreSQL8.0.1 を Linux上で利用しています。(ソースから入れました)

PLJava をインストールしたいのですが、Makeファイルを見るとちょっと
インストール方法が異なっているので、質問させてください。

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

# Top level Makefile for PLJava
#
# To compile a PLJava for PostgreSQL 8.0 the makefile system will utilize
# the PostgreSQL pgxs system. The only prerequisite for such a compile is
# that a PostgreSQL 8.0 is installed on the system and that the PATH is set
# so that the binaries of this installed can be executed.
#
# In order to compile with a PostgreSQL 7.4, a full source distribution
# of PostgreSQL is needed. The configure script must have been run in that
# distribution and the PLJava make must be started as:
#
# make PGSQLDIR=<absolute path to PostgreSQL source>
#
# The following options are recognized (aside from normal options like
# CFLAGS etc.)
#
#   PGSQLDIR=<pgsql root>  For old style (not pgxs based) compilation
#   USE_GCJ=1              Builds a shared object file containing both
#                          C and Java code. Requires GCJ 3.4 or later.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

説明には、8.0 の場合、Postgres自体のソースコードはいらないと読めます。
単に、make all だけでよいのでしょうか?

Postgres7.4以前は、Apache.org の ant も必要だったような気がしますが、
PL/Java 1.0.1 では、build.xml ファイルもみつかりません。

インストールのREADME自体がないので、インストールの方法が
今ひとつわかりません。

すでにインストールしてご利用の方がいらっしゃいましたら、
ご教授いただければ幸いです。

よろしくお願いいたします。

















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