Re: [GENERAL] problem compiling under suse 5.1 - Mailing list pgsql-general

From Karl Eichwalder
Subject Re: [GENERAL] problem compiling under suse 5.1
Date
Msg-id shhg24i50x.fsf@Frechet.suse.de
Whole thread Raw
In response to problem compiling under suse 5.1  ("Christian Steindl" <e9425178@student.tuwien.ac.at>)
List pgsql-general
"Christian Steindl" <e9425178@student.tuwien.ac.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)


pgsql-general by date:

Previous
From: serg@dual.solvo.spb.su
Date:
Subject: ...
Next
From: Christoph Lorenz
Date:
Subject: Again: [GENERAL] Extending SQL with a C function