Re: configure error... please help 9.0.4

From: akp geek <akpgeek(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Subject: Re: configure error... please help 9.0.4
Date: 2011-06-15 13:49:25
Message-ID: BANLkTinGjAp=dQiRkNVw1RrT5=OxjW5VKw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)gmail(dot)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(dot)klaver(at)gmail(dot)com
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message pedz 2011-06-15 14:07:41 Re: Out of tree build issue
Previous Message Grzegorz Jaśkiewicz 2011-06-15 13:49:13 Re: Cursors