[pgsql-jp: 33277] Readline 後、PostgreSQL install by web

Yasuharu Ninomiya ninomii @ fml.nirs.go.jp
2004年 6月 16日 (水) 00:55:53 JST


仲村様

アドバイス有り難うございます。

ブラウザでftp://ftp.jp.postgresql.org/latestから
Postgresql-7.4.3.tar.gzをダウンロードし、
Cd /sw/src
Sudo sh
Mkdir postrgres
Cd postgres
mv /postgresql-7.4.3.tar.gz /sw/src/postgres
tar -xzvf postgresql-7.4.3.tar.gz
するとうまくいったようなので、

cd postgresql-7.4.3
./configure --with-includes=/sw/include/ --with-libraries=/sw/lib
Make
しました。

すると、以下のように、途中でreadline関係がnoとでてErrorが出ました。
readlineは最初にお聞きしたように、installされているはずです。
今度は何がおこっているのでしょうか?

何かお気づきのことがございましたら、お教えいただけると幸いです。

checking for netinet/tcp.h... yes
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking editline/readline.h usability... no
checking editline/readline.h presence... no
checking for editline/readline.h... no
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
configure: error: readline header not found
If you have readline already installed, see config.log for details on the
failure.  It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.
sh-2.05b# make
You need to run the 'configure' program first. See the file
'INSTALL' for installation instructions.
make: *** [all] Error 1
sh-2.05b# なにか押したら下の文字が出ました。
COPYRIGHT       Makefile        config.log      doc
GNUmakefile.in  README          configure       src
HISTORY         aclocal.m4      configure.in
INSTALL         config          contrib
sh-2.05b# 


二宮





------ Forwarded Message ------
From: NAKAMURA Takeshi <1yen @ sh.rim.or.jp>
Date: Tue, 15 Jun 2004 21:01:54 +0900
To: Yasuharu Ninomiya <ninomii @ fml.nirs.go.jp>
Subject: Re: [pgsql-jp: 33273] FW: FW2改訂:  Readline PostgreSQL

仲村です。

 どうも、proxy の問題では無かったようで。

On Tue, 15 Jun 2004 20:53:27 +0900,
 Yasuharu Ninomiya <ninomii @ fml.nirs.go.jp> wrote:

> sh-2.05b# curl -0
> ftp://ftp.ring.gr.jp/pub/misc/db/postgresql/latest/postgresql-7.3.4.tar.gz
> curl: (19) postgresql-7.3.4.tar.gz: No such file or directory.

 No such file or directory. ==> ファイルが無いと言っています。

> sh-2.05b# tar xvfz postgresql-7.3.4.tar.gz
> tar (child): postgresql-7.3.4.tar.gz: Cannot open: (null)

 null ってことはファイルのサイズが 0 なのではないでしょうか?

 ダウンロードはブラウザでもできますので、ブラウザでダウンロードして
サイズを確認した後に先に進んでは如何でしょう。


------ End of Forwarded Message ------




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