[GENERAL] Fwd: Problem installing Postgresql on MDK10.0

2004-11-16 Thread Alejandro D. Burne
Sorry, but no reply on [EMAIL PROTECTED]

-- Forwarded message --
From: Alejandro D. Burne <[EMAIL PROTECTED]>
Date: Mon, 15 Nov 2004 15:00:58 +0100
Subject: Problem installing Postgresql on MDK10.0
To: [EMAIL PROTECTED]


I'll be trying to install postgres 8.0b1/b4; when I make the config a
message appear:

"configure: error: readline library not found"

$ rpm -qa | grep readline
libreadline4-4.3-7mdk
libreadline4-devel-4.3-7mdk

Then I try;

$ ./configure --with-libraries=/lib --with-includes=/usr/include/readline
(where the libs are)

I read a message from Tom Lane talking about termcap, it's installed too.

The same problem occurs with zlib.

I fix it skipping both libs with

./configure --without-readline --without-zlib

but...

Alejandro

---(end of broadcast)---
TIP 8: explain analyze is your friend


Re: [GENERAL] Fwd: Problem installing Postgresql on MDK10.0

2004-11-16 Thread Tom Lane
"Alejandro D. Burne" <[EMAIL PROTECTED]> writes:
> I'll be trying to install postgres 8.0b1/b4; when I make the config a
> message appear:

> "configure: error: readline library not found"

> $ rpm -qa | grep readline
> libreadline4-4.3-7mdk
> libreadline4-devel-4.3-7mdk

Try looking at the config.log output in the part where it's trying to
find readline (should be near the end); the link error messages may be
enlightening.  If not, try "ldd" on the readline library file to see
what its dependencies are --- the best theory I have is that you are
missing some library it requires.  (It ain't necessarily termcap.)
Of course if you are this would indicate a packaging mistake for
libreadline, because it should have had an RPM dependency on whatever
it needs.

regards, tom lane

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [GENERAL] Fwd: Problem installing Postgresql on MDK10.0

2004-11-16 Thread Bernd Helmle
--On Dienstag, November 16, 2004 17:39:12 +0100 "Alejandro D. Burne" 
<[EMAIL PROTECTED]> wrote:

Sorry, but no reply on [EMAIL PROTECTED]
-- Forwarded message --
From: Alejandro D. Burne <[EMAIL PROTECTED]>
Date: Mon, 15 Nov 2004 15:00:58 +0100
Subject: Problem installing Postgresql on MDK10.0
To: [EMAIL PROTECTED]
I'll be trying to install postgres 8.0b1/b4; when I make the config a
message appear:
running MDK 10.0, but no problem here (and never had).
"configure: error: readline library not found"
$ rpm -qa | grep readline
libreadline4-4.3-7mdk
libreadline4-devel-4.3-7mdk
Then I try;
$ ./configure --with-libraries=/lib --with-includes=/usr/include/readline
(where the libs are)
Try running "ldconfig" and look if /lib contains valid links to 
libreadline.so.4(.3). Also try ldconfig -p to examine the linker cache 
then. /lib looks like this on my MDK 10.0 installation then:

libreadline.so -> libreadline.so.4.3
libreadline.so.4 -> libreadline.so.4.3
libreadline.so.4.1 -> ../lib/libreadline.so.4
libreadline.so.4.2 -> ../lib/libreadline.so.4
libreadline.so.4.3
[...]

--
 Bernd
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [GENERAL] Fwd: Problem installing Postgresql on MDK10.0

2004-11-17 Thread Ben Trewern
I think you have to install ncurses.  On Mdk 10 its libncurses5-devel I 
think.

Try that and see what happens.
Regards,
Ben

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


Re: [GENERAL] Fwd: Problem installing Postgresql on MDK10.0

2004-11-17 Thread Kaloyan Iliev Iliev
Hi,
I have the same problem and I solved it. This question then was asked 
and I answer it. Try looking at the google and you will find it.
In general - Open the package manager and searche for keyword "redline". 
The neccessary library will apper and you just will have to install it.

Regards,
  Kaloyan
Alejandro D. Burne wrote:
Sorry, but no reply on [EMAIL PROTECTED]
-- Forwarded message --
From: Alejandro D. Burne <[EMAIL PROTECTED]>
Date: Mon, 15 Nov 2004 15:00:58 +0100
Subject: Problem installing Postgresql on MDK10.0
To: [EMAIL PROTECTED]
I'll be trying to install postgres 8.0b1/b4; when I make the config a
message appear:
"configure: error: readline library not found"
$ rpm -qa | grep readline
libreadline4-4.3-7mdk
libreadline4-devel-4.3-7mdk
Then I try;
$ ./configure --with-libraries=/lib --with-includes=/usr/include/readline
(where the libs are)
I read a message from Tom Lane talking about termcap, it's installed too.
The same problem occurs with zlib.
I fix it skipping both libs with
./configure --without-readline --without-zlib
but...
Alejandro
---(end of broadcast)---
TIP 8: explain analyze is your friend
 

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [GENERAL] Fwd: Problem installing Postgresql on MDK10.0

2004-11-17 Thread Alejandro D. Burne
Thanks Ben, libncures5 was installed but libncurses5-devel don't.
Problem solved! I must find zlib deps now ;+)


On Wed, 17 Nov 2004 09:20:00 +, Ben Trewern <[EMAIL PROTECTED]> wrote:
> I think you have to install ncurses.  On Mdk 10 its libncurses5-devel I
> think.
> 
> Try that and see what happens.
> 
> Regards,
> 
> Ben
> 
> ---(end of broadcast)---
> TIP 5: Have you checked our extensive FAQ?
> 
>http://www.postgresql.org/docs/faqs/FAQ.html
>

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match