[asterisk-dev] Asterisk won't compile with 64 bit termcap ?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Jun 8 04:47:59 CDT 2008


On Sun, Jun 08, 2008 at 12:07:49PM +0300, Vasil Kolev wrote:
> В 21:25 +0200 на 07.06.2008 (сб), Benny Amorsen написа:
> > RE Kushner List Account <lists at darl.com> writes:
> > 
> > > If you have the linux secret decoder ring.  Do users really know that 
> > > ncurses-devel contains termcap?
> > 
> > ncurses-devel is distribution-specific. Asterisk can't guess what
> > distributions name their packages.
> > 
> > 
> 
> Small suggestion - just say 'this header file is missing', most peoble
> should be able to use the distro-specific tool to see in which package
> that one is.
> (I once had to go through config.log to see what was missing, not that
> I'm not used to it, but I could live without it :) )

What header?

Recall that the error was:

configure:31616: result: no                                                     
configure:31993: checking for tgetent in -ltermcap                              
configure:32028: gcc -o conftest -g -O2   conftest.c -ltermcap    >&5           
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld:
cannot find -ltermcap                                                              
collect2: ld returned 1 exit status


That specific error is not a "missing header", technically.

But yes, we can run a short "OS detection" somewhere at the beginning at
the configure script to attempt to give smarter error messages.

But hasn't this been done before?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list