Mark Kirkwood said: > Christopher Kings-Lynne wrote: >>> To the GP, adding -lncurses (or rather the static equivalent) to your >>> link line should solve it. But if you include any other libraries >>> like ssl or kerberos be prepared to add a lot more. >> >> >> With -lncurses or -lcurses I still can't get this to work. I add it >> to the ${CC} line, right? >> > > This is what I used (current 8.2 sources FreeBSD 6.0): > > > *** Makefile.orig Thu Mar 23 14:37:37 2006 > --- Makefile Thu Mar 23 14:40:46 2006 > *************** > *** 27,32 **** > --- 27,34 ---- > > FLEXFLAGS = -Cfe > > + CFLAGS += -static > + LIBS += -lcurses > > all: submake-libpq submake-libpgport submake-backend psql >
That might work on FBSD but it doesn't work everywhere - when I tried it on Linux I got nasty link errors. cheers andrew ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match