[pgsql-jp: 32437] V7.4.1でインストール中のmakeでエラー
uty @ fo-isd.dnp.co.jp
uty @ fo-isd.dnp.co.jp
2004年 3月 9日 (火) 16:45:04 JST
お世話になります。uchiです。
現在、Red Hat Enterprise Linux ES release 3
に対して、PostgreSQL 7.4.1をインストールでしおります。
しかし、makeでエラーが発生しておりまして、インストールできない状態に
なっております。
configureに関しましては、以下のように行い、
これは特に問題なく、終了しているようです。
./configure --with-java --with-perl --with-CXX --enable-multibyte=EUC_JP
ちなみに、makeを実行しているユーザー(postgres)の環境変数は以下の
とおりです。
export POSTGRES_HOME=/usr/local/pgsql
export PATH=$POSTGRES_HOME:$POSTGRES_HOME/bin:$PATH
export PGLIB=$POSTGRES_HOME/lib
export PGDATA=$POSTGRES_HOME/data
export MANPATH=$MANPATH:$POSTGRES_HOME/man
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$POSTGRES_HOME/lib
export JAVA_HOME=/usr/java/j2sdk1.4.2
export ANT_HOME=/usr/local/ant/apache-ant-1.6.0
export PATH=$PATH:$ANT_HOME/bin
export PATH=$PATH:$JAVA_HOME/bin
makeを行うと、以下のエラーが吐き出されます。(長くてすいません)
−−−−ここから−−−−
/usr/bin/ant -buildfile ./build.xml all
Buildfile: ./build.xml
all:
prepare:
check_versions:
check_driver:
driver:
compile:
[javac] Compiling 77 source files to /home/postgres/src/postgresql-7.
4.1/src/interfaces/jdbc/build
[javac] /home/postgres/src/postgresql-7.4.1/src/interfaces/jdbc/org/
postgresql/jdbc3/Jdbc3Statement.java:28: error:
Invalid checked exception class `java.sql.SQLException' in `throws'
clause. The exception must be a subclass of an excep
tion thrown by `org.postgresql.jdbc1.AbstractJdbc1Statement.
createRefCursorResultSet(java.lang.String)' from class `org.
postgresql.jdbc1.AbstractJdbc1Statement'.
[javac] public PGRefCursorResultSet
createRefCursorResultSet (String cursorName) throws SQLException
[javac] ^
[javac] /home/postgres/src/postgresql-7.4.1/src/interfaces/jdbc/org/
postgresql/jdbc3/Jdbc3PreparedStatement.java:23:
error: Invalid checked exception class `java.sql.SQLException' in `
throws' clause. The exception must be a subclass of
an exception thrown by `org.postgresql.jdbc1.AbstractJdbc1Statement.
createRefCursorResultSet(java.lang.String)' from cla
ss `org.postgresql.jdbc1.AbstractJdbc1Statement'.
[javac] public PGRefCursorResultSet
createRefCursorResultSet (String cursorName) throws SQLException
[javac] ^
[javac] /home/postgres/src/postgresql-7.4.1/src/interfaces/jdbc/org/
postgresql/jdbc3/Jdbc3PoolingDataSource.java:29:
error: Method `org.postgresql.jdbc2.optional.PoolingDataSource.
getDataSource(java.lang.String)' was defined with return
type `org.postgresql.jdbc2.optional.PoolingDataSource' in class `org.
postgresql.jdbc2.optional.PoolingDataSource'.
[javac] static Jdbc3PoolingDataSource getDataSource(String
name)
[javac] ^
[javac] /home/postgres/src/postgresql-7.4.1/src/interfaces/jdbc/org/
postgresql/jdbc3/Jdbc3CallableStatement.java:23:
error: Invalid checked exception class `java.sql.SQLException' in `
throws' clause. The exception must be a subclass of
an exception thrown by `org.postgresql.jdbc1.AbstractJdbc1Statement.
createRefCursorResultSet(java.lang.String)' from cla
ss `org.postgresql.jdbc1.AbstractJdbc1Statement'.
[javac] public PGRefCursorResultSet
createRefCursorResultSet (String cursorName) throws SQLException
[javac] ^
[javac] 4 errors
BUILD FAILED
file:/home/postgres/src/postgresql-7.4.1/src/interfaces/jdbc/build.xml:
116: Compile failed; see the compiler error outpu
t for details.
Total time: 1 second
make[3]: *** [all] エラー 1
make[3]: 出ます ディレクトリ `/home/postgres/src/postgresql-7.4.1/src/
interfaces/jdbc'
make[2]: *** [all] エラー 2
make[2]: 出ます ディレクトリ `/home/postgres/src/postgresql-7.4.1/src/
interfaces'
make[1]: *** [all] エラー 2
make[1]: 出ます ディレクトリ `/home/postgres/src/postgresql-7.4.1/src'
make: *** [all] エラー 2
−−−−ここまで−−−−
どのような原因が考えられるのでしょうか?
#以前は、普通のRedHatにインストールした場合は問題なく
インストールできたのですが・・・
すいません、御授受願えたら幸いです。
pgsql-jp メーリングリストの案内