Thanks all for the responses. Based on your suggestion, I could able to
configure it .  The way I fixed it was, I configured the uuid, readline and
flex into the same path, then ran the configure command for postgres

./configure --prefix=/opt/postgres/9.0.4 --with-perl --with-libxml
--with-openssl  --with-readline --with-ossp-uuid
--with-includes=/opt/postgres/software/include
LDFLAGS=-L/opt/postgres/software/lib


every thing went well from there , gmake and gmake install


Regards



On Tue, Jun 14, 2011 at 9:48 AM, Adrian Klaver <adrian.kla...@gmail.com>wrote:

> On Tuesday, June 14, 2011 5:51:59 am akp geek wrote:
> > Thanks all for the responses.
> >
> >
> >
> > $./configure --prefix=/opt/postgres/9.0.4 --with-readline --with-perl
> > --with-libxml --with-openssl --with-ossp-uuid
> > LDFLAGS=-L/opt/postgres/gis/lib
> > --with-includes=/opt/postgres/software/include/readline/
> >
> > *I bypassed the uuid error.  Now getting this  .. I have installed
> > readline. I have this under /opt/postgres/software/lib, include ,share *
>
> Did you install readline-dev also?
>
> >
> > *checking readline/readline.h usability... no*
> > *checking readline/readline.h presence... no*
> > *checking for readline/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.*
> >
> >
>
> --
> Adrian Klaver
> adrian.kla...@gmail.com
>

Reply via email to