build postgresql problem

From: arokyzxc <arokyzxc(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: build postgresql problem
Date: 2012-02-03 04:52:10
Message-ID: 1328244730627-5452708.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I am new to postgresql, and was trying to install postgresql on redhat
server. since I am not root user, and can not run rpm command, the only way
to install it is by building postgresql from source code. after i download
source code, i did configure command,but it gave me following error message
:

checking for library containing readline... no
configure: error: readline library not found

so i went to online again, find the readline source code, which locates
http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html.

after i build readline, i used following command to do configure

./configure --with-libs=/home/user/build/readline/lib/libreadline.so
--prefix=/home/user/build/postgresql/

but it still can't find the readline lib.

what's wrong with it? is there anything i missed? thanks

--
View this message in context: http://postgresql.1045698.n5.nabble.com/build-postgresql-problem-tp5452708p5452708.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.

Browse pgsql-admin by date

  From Date Subject
Next Message Guillaume Lelarge 2012-02-03 07:10:32 Re: Getting master host info from a slave
Previous Message Tom Lane 2012-02-02 16:45:38 Re: ssl3 errors in replication.