`<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">This, i imagine, is it. From
config.log<br>
<br>
<blockquote><tt>configure:6233: checking for a curses library
containing mvchgat</tt><br>
<tt>configure:6255: gcc -o conftest -g -O2 conftest.c -lpcap
-lnsl -lm -lsocket -lcurses >&5</tt><br>
<tt>Undefined first referenced</tt><br>
<tt> symbol in file</tt><br>
<tt>mvchgat /var/tmp//cckgaO9B.o</tt><br>
<tt>ld: fatal: symbol referencing errors. No output written to
conftest</tt><br>
<tt>collect2: error: ld returned 1 exit status</tt><br>
<tt>configure:6258: $? = 1</tt><br>
<tt>configure: failed program was:</tt><br>
<tt>#line 6238 "configure"</tt><br>
<tt>#include "confdefs.h"</tt><br>
<br>
<tt>#include <curses.h></tt><br>
<br>
<tt>int</tt><br>
<tt>main ()</tt><br>
<tt>{</tt><br>
<br>
<tt> mvchgat(0, 0, 1, A_REVERSE, 0, NULL)</tt><br>
<br>
<tt> ;</tt><br>
<tt> return 0;</tt><br>
<tt>}</tt><br>
<tt>configure:6255: gcc -o conftest -g -O2 conftest.c -lpcap
-lnsl -lm -lsocket -lncurses >&5</tt><br>
<tt>ld: fatal: library -lncurses: not found</tt><br>
<tt>ld: fatal: file processing errors. No output written to
conftest</tt><br>
<tt>collect2: error: ld returned 1 exit status</tt><br>
<tt>configure:6258: $? = 1</tt><br>
<tt>configure: failed program was:</tt><br>
<tt>#line 6238 "configure"</tt><br>
<tt>#include "confdefs.h"</tt><br>
<br>
<tt>#include <curses.h></tt><br>
<br>
<tt>int</tt><br>
<tt>main ()</tt><br>
<tt>{</tt><br>
<br>
mvchgat(0, 0, 1, A_REVERSE, 0, NULL)<br>
<br>
;<br>
return 0;<br>
}<br>
configure:6278: result: none found<br>
configure:6280: error: Curses! Foiled again!<br>
(Can't find a curses library supporting mvchgat.)<br>
Consider installing ncurses.<br>
</blockquote>
<br>
No idea what to do about it, though.<br>
<br>
regards,<br>
<br>
- cal<br>
<br>
On 04/07/14 10:05, Dale Ghent wrote:<br>
</div>
<blockquote
cite="mid:F9439B26-E418-477F-BCAA-6896DCF25003@omniti.com"
type="cite">
<pre wrap="">
So what does your config.log say regarding the check for mvchgat() ? How is it failing the test? When running into issues such as this, config.log is the go-to place to start figuring out the why.
autoconf itself isn’t infallible in how it checks for things, after all.
/dale
On Jul 4, 2014, at 8:35 AM, Cal Sawyer <a class="moz-txt-link-rfc2396E" href="mailto:cal-s@blue-bolt.com"><cal-s@blue-bolt.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi
I'm trying to build iftop on r151010j because the available packages are rather stale.
basename file opt/omni/sbin/iftop <a class="moz-txt-link-abbreviated" href="mailto:pkg:/network/iftop@1.0.2-0.151006">pkg:/network/iftop@1.0.2-0.151006</a>
PUBLISHER TYPE STATUS URI
omnios origin online <a class="moz-txt-link-freetext" href="http://pkg.omniti.com/omnios/r151010/">http://pkg.omniti.com/omnios/r151010/</a>
ms.omniti.com origin online <a class="moz-txt-link-freetext" href="http://pkg.omniti.com/omniti-ms/">http://pkg.omniti.com/omniti-ms/</a>
Running into an issue with ncurses during the configure stage
checking for a curses library containing mvchgat... none found
configure: error: Curses! Foiled again!
(Can't find a curses library supporting mvchgat.)
Consider installing ncurses.
however ...
</pre>
<blockquote type="cite">
<pre wrap="">pkg list ncurses
</pre>
</blockquote>
<pre wrap="">NAME (PUBLISHER) VERSION IFO
library/ncurses 5.9-0.151010 i--
> grep mvchgat /usr/include/ncurses/ncurses.h
extern NCURSES_EXPORT(int) mvchgat (int, int, int, attr_t, short, const void *); /* generated */
#define mvchgat(y,x,n,a,c,o) mvwchgat(stdscr,y,x,n,a,c,o)
Looks like it's supported. Any ideas?
thanks
- cal
_______________________________________________
OmniOS-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a>
<a class="moz-txt-link-freetext" href="http://lists.omniti.com/mailman/listinfo/omnios-discuss">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>
`