Re: Unresolved external: tgetent

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Unresolved external: tgetent
Дата
Msg-id 200412130313.iBD3Dgp05194@candle.pha.pa.us
обсуждение исходный текст
Ответ на Unresolved external: tgetent  (Christoph Haller <ch@rodos.fzk.de>)
Список pgsql-sql
Would you please test 8.0RC release on the ftp site.  It might already
be fixed.

---------------------------------------------------------------------------

Christoph Haller wrote:
> I doubt this is the right list, but it's the only one I'm subscribed to,
> 
> so please, if one of the core members is reading this, forward it to the
> right one.
> 
> I have successfully compiled and installed 7.4.5 yesterday.
> After doing 'make' I saw the line "Ready to install".
> template1=# select version();
>                                   version
> --------------------------------------------------------
>  PostgreSQL 7.4.5 on hppa2.0w-hp-hpux11.00, compiled by GCC gcc (GCC)
> 3.3.1
> (1 row)
> 
> But when I started psql it immediately core dumped with
> libreadline.sl.5 Unresolved external: tgetent
> 
> I did a search on the mailing list archives and got 63 hits on
> 'tgetent',
> dating from 1997 to 2004, all having the same problem,
> the missing '-ltermcap' in LIBS in src/Makefile.global.
> 
> After distclean and doing configure LIBS="-ltermcap" ...
> and make again it finally worked.
> 
> In http://archives.postgresql.org/pgsql-bugs/2001-09/msg00023.php
> Peter Eisentraut writes
> > LIBS = -lz -lresolv -lcompat -lm -lutil -ltermcap -lreadline
> 
> That's a good fix.
> 
> The current CVS tip also works around this problem.
> 
> But the 7.4.5 src/Makefile.global still has this:
> LIBS = -lz -lreadline -lPW -lgen -lBSD -ldld -lnsl -lm
> 
> So it appears this fix must have been lost anywhere.
> 
> Regards, Christoph
> 
> 
> 
> 
> ---------------------------(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
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: parse error at or near "(" -- Huh???
Следующее
От: Kenneth Gonsalves
Дата:
Сообщение: Re: parse error at or near "(" -- Huh???