Re: [GENERAL] problem compiling under suse 5.1

From: Karl Eichwalder <ke(at)suse(dot)de>
To: "Christian Steindl" <e9425178(at)student(dot)tuwien(dot)ac(dot)at>
Cc: <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] problem compiling under suse 5.1
Date: 1998-06-02 08:25:50
Message-ID: shhg24i50x.fsf@Frechet.suse.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Christian Steindl" <e9425178(at)student(dot)tuwien(dot)ac(dot)at> writes:

| i use suse distribution of linux 2.0.32, but there comes these error
| when compiling psql does anyone know what to do? how can i
| deactivate the readline option according to Linux-FAQ 1.2)?

Don't do this -- readline is quite handy.

The following patch should do the trick (already mailed by me to the
pg patch list); after patching invoke autoconf to produce a new
configure script.

*** postgresql-6.3.2/src/configure.in~ Fri Apr 17 09:00:46 1998
--- postgresql-6.3.2/src/configure.in Mon May 11 17:37:34 1998
***************
*** 400,406 ****
fi

AC_CHECK_LIB(sfio, main)
! AC_CHECK_LIB(curses, main)
AC_CHECK_LIB(termcap, main)
AC_CHECK_LIB(history, main)
AC_CHECK_LIB(readline, main)
--- 400,409 ----
fi

AC_CHECK_LIB(sfio, main)
! for curses in ncurses curses ; do
! AC_CHECK_LIB(${curses}, main,
! [LIBS="-l${curses} $LIBS"; break])
! done
AC_CHECK_LIB(termcap, main)
AC_CHECK_LIB(history, main)
AC_CHECK_LIB(readline, main)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christoph Lorenz 1998-06-02 08:26:49 Again: [GENERAL] Extending SQL with a C function
Previous Message serg 1998-06-02 06:58:30