Thread: Installation troubles on Redhat V 8.0

Installation troubles on Redhat V 8.0

From
"Wayne Unruh"
Date:
I am having trouble installing PostgreSQL-7.4.5 on Redhat V 8.0.

I extracted the files with tar into the directory /usr/local/pgsql

When I run the configure script with no command line options I get the
following errors:

configure: error: readline library 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.

From what I understand, I do not want to run the script with the option of
--without-readline.
What file is this section of the script looking for and where is it supposed
to be located?  If I do not have the file can I download if from somewhere?

Thanks the the help in advance.

Wayne Unruh

_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


Re: Installation troubles on Redhat V 8.0

From
Tom Lane
Date:
"Wayne Unruh" <waynepunruh@hotmail.com> writes:
> configure: error: readline library 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.

> What file is this section of the script looking for and where is it supposed
> to be located?  If I do not have the file can I download if from somewhere?

Had you read config.log as suggested, you could have found that out.
But the short answer is you need both the readline and readline-devel
RPMs installed.

            regards, tom lane

Re: Installation troubles on Redhat V 8.0

From
Kaloyan Iliev Iliev
Date:
Hi,
Very soon I have the same problem on Mandrake 10.0.
If you search the novice list you will find the answers I get.
Also I solve the problem by searching for the library -
libreadline4-devel-4.3-7.mdk. I suppose the 'mdk' ending is specifik for
Mandrake but this is some kind of a package. Look for something similar
on your distribution.
You can avoid this problem by telling configure not to use readline but
then psql behave terrible.

Regards
    Kaloyan Iliev

Wayne Unruh wrote:

> I am having trouble installing PostgreSQL-7.4.5 on Redhat V 8.0.
>
> I extracted the files with tar into the directory /usr/local/pgsql
>
> When I run the configure script with no command line options I get the
> following errors:
>
> configure: error: readline library 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.
>
>> From what I understand, I do not want to run the script with the
>> option of
>
> --without-readline.
> What file is this section of the script looking for and where is it
> supposed to be located?  If I do not have the file can I download if
> from somewhere?
>
> Thanks the the help in advance.
>
> Wayne Unruh
>
> _________________________________________________________________
> Don’t just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faqs/FAQ.html
>
>