[pgsql-jp: 26234] Mashikiさん、大場さん、高田さん、メールありがとうございます。

dolphine @ axel.ocn.ne.jp dolphine @ axel.ocn.ne.jp
2002年 6月 2日 (日) 03:37:31 JST


 お世話になっている上杉です。
 現在、telnetの件 勉強中です。時間がないので核心部分だけは、LINUX機から
WINDOUWS機にメールを送りそれを載せます。

[postgres @ localhost postgresql-7.0.3]$ pwd
/usr/local/src/postgresql-7.0.3
[postgres @ localhost postgresql-7.0.3]$ /bin/ls -l src/bin/psql/psql
/bin/ls: src/bin/psql/psql: そのようなファイルやディレクトリはありません

となり
[postgres @ localhost postgresql-7.0.3]$ cd src/bin/psql
[postgres @ localhost psql]$ /usr/bin/make

--------------------------------------------------------------------------
tab-complete.c:536: warning: assignment makes pointer from integer without a cast
tab-complete.c:542: warning: assignment makes pointer from integer without a cast
tab-complete.c:546: warning: assignment makes pointer from integer without a cast
tab-complete.c:555: warning: assignment makes pointer from integer without a cast
tab-complete.c:561: warning: assignment makes pointer from integer without a cast
tab-complete.c:567: warning: assignment makes pointer from integer without a cast
tab-complete.c:574: warning: assignment makes pointer from integer without a cast
tab-complete.c:577: warning: assignment makes pointer from integer without a cast
tab-complete.c:585: warning: assignment makes pointer from integer without a cast
tab-complete.c:589: warning: assignment makes pointer from integer without a cast
tab-complete.c:591: warning: assignment makes pointer from integer without a cast
tab-complete.c:596: warning: assignment makes pointer from integer without a cast
tab-complete.c:601: warning: assignment makes pointer from integer without a cast
tab-complete.c:603: warning: assignment makes pointer from integer without a cast
tab-complete.c:605: warning: assignment makes pointer from integer without a cast
tab-complete.c:612: warning: assignment makes pointer from integer without a cast
tab-complete.c:623: `filename_completion_function' undeclared (first use in this
function)
tab-complete.c:623: (Each undeclared identifier is reported only once
tab-complete.c:623: for each function it appears in.)
tab-complete.c:623: warning: assignment makes pointer from integer without a cast
tab-complete.c:648: warning: assignment makes pointer from integer without a cast
tab-complete.c:662: warning: assignment makes pointer from integer without a cast
make: *** [tab-complete.o] エラー 1
--------------------------------------------------------------------------
エラーになりました。

それと .bashrc  の正確な写し
--------------------------------------------
# .bashrc

# User specific aliases and functions

export PATH=$PATH:$HOME/bin:/usr/local/pgsql/bin

export MANPATH=$MANPATH:/usr/local/pgsql/man

export POSTGRES_HOME=/usr/local/pgsql

export PGLIB=$POSTGRES_HOME/lib

export PGDATA=$POSTGRES_HOME/data

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PGLIB

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
--------------------------------------------------

あの色々言って申し訳ないのでけれど ftp のサイトで ver7.2 と7.1 も
試しに インストールしてみたのですが

createdb test
----------------
psql:FATAL 1: Verwion number in file '/usr/local/pgsql/data/PG_VERSION' should
be 7.0
,not 7.2
.
createdb: database creation failed
-------------------------------------------------------

 7.0でコンパイルをかけなければいけないとのメッセージがでました。
でももう一度、7.2 でコンパイルしてみます。これも psql ができていなかった事も
原因にあるのでしょうか?






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