Обсуждение: installation of readline 4.2

Поиск
Список
Период
Сортировка

installation of readline 4.2

От
"Alex Cheung Tin Ka"
Дата:
Dear All,
    After installing the readline library 4.2 on my solaris box, I want to reconfigure the postgresql v4.2.3.  I have tried to configure like following:
    ./configure --enable-readline
 
    But seems always appeared no readline function installed later.
 
    Is there anyone have ever encounter such situation before? Please give me some advices.
 
Regards,
Alex
 
 

Re: installation of readline 4.2

От
Tom Lane
Дата:
"Alex Cheung Tin Ka" <tkcheung@vtc.edu.hk> writes:
>     After installing the readline library 4.2 on my solaris box, I want to =
> reconfigure the postgresql v4.2.3.

I assume you mean 7.2.3 ...

> I have tried to configure like following:
>     ./configure --enable-readline

There is no --enable-readline in 7.2.3 (consult configure --help for the
definitive list of options recognized by any particular configure
script).

I suspect that you failed to follow through on rebuilding and
reinstalling Postgres after reconfiguring.  Try
    ./configure
    -- make *sure* configure output shows that it found readline,
    -- both library and header files
    make clean
    make all
    make install

            regards, tom lane

Re: installation of readline 4.2

От
"Alex Cheung Tin Ka"
Дата:
----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Alex Cheung Tin Ka" <tkcheung@vtc.edu.hk>
Cc: "PostgreSQL" <pgsql-general@postgresql.org>
Sent: Thursday, January 02, 2003 12:36 PM
Subject: Re: [GENERAL] installation of readline 4.2


> "Alex Cheung Tin Ka" <tkcheung@vtc.edu.hk> writes:
> >     After installing the readline library 4.2 on my solaris box, I want
to =
> > reconfigure the postgresql v4.2.3.
>
> I assume you mean 7.2.3 ...
>
> > I have tried to configure like following:
> >     ./configure --enable-readline
>
> There is no --enable-readline in 7.2.3 (consult configure --help for the
> definitive list of options recognized by any particular configure
> script).
>
> I suspect that you failed to follow through on rebuilding and
> reinstalling Postgres after reconfiguring.  Try
> ./configure
> -- make *sure* configure output shows that it found readline,
> -- both library and header files
> make clean
> make all
> make install
>
> regards, tom lane

Dear All,
    When I configuring the prosgresql again. the following appears:

    ...
    checking for readline... (cached) no
    ...
    checking for readline/readline.h... (cached) yes
    checking for readline/history.h... (cached) yes
    ...

    What happened?

Regards,
Alex


Re: installation of readline 4.2

От
Tom Lane
Дата:
"Alex Cheung Tin Ka" <tkcheung@vtc.edu.hk> writes:
>     When I configuring the prosgresql again. the following appears:
>     ...
>     checking for readline... (cached) no

Cached?  Maybe you need to remove config.cache before rerunning
configure.

            regards, tom lane