<div dir="ltr">Hi all,<div><br></div><div>I would like to kindly remind the Gentoo users that the <font face="courier new, monospace">tinfo</font> use should be enabled for package <font face="courier new, monospace">sys-libs/ncurses</font></div>

<div><font face="courier new, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">Regards.</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 7, 2013 at 11:29 PM, Eli Bendersky <span dir="ltr"><<a href="mailto:eliben@gmail.com" target="_blank">eliben@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Fri, Sep 6, 2013 at 9:35 PM, Pete Cooper <span dir="ltr"><<a href="mailto:peter_cooper@apple.com" target="_blank">peter_cooper@apple.com</a>></span> wrote:<br>



</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Eli<div><br></div><div>I don’t know a workaround which will keep support for coloured terminal output, but if you can live without it then passing these to configure should work.</div>



<div><br></div><div><div style="margin:0px;font-size:11px;font-family:Menlo">--enable-curses=no</div><div style="margin:0px;font-size:11px;font-family:Menlo">--enable-terminfo=no</div><div style="margin:0px;font-size:11px;font-family:Menlo">



<br></div></div></div></blockquote><div><br></div></div><div>Re-doing the configure & build in a new directory solved the problem for me. I think the problem had to do with the fact that my previous svn update on this machine was before Chandler's curses-related changes, and I then ran 'make update' which used the old configure script. I've updated the PR - maybe the OP had the same problem.<br>



<br></div><div>FWIW, Pete, the --enable-curses option to configure no longer exists. configure just ignores it. Chandler removed it in r188160.<span class="HOEnZb"><font color="#888888"><br><br>Eli<br></font></span></div>

<div class="im"><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word"><div><div style="margin:0px;font-size:11px;font-family:Menlo"></div><div style="margin:0px;font-size:11px;font-family:Menlo">Thanks,</div><div style="margin:0px;font-size:11px;font-family:Menlo">



Pete</div><div><div><div><div>On Sep 6, 2013, at 9:09 PM, Eli Bendersky <<a href="mailto:eliben@gmail.com" target="_blank">eliben@gmail.com</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div>

<div dir="ltr"><div><div>Hello,<br><br>I'm trying to build some code that relies on LLVM as a library (out-of-source). It uses llvm-config for the compilation & linkage flags. Some recent change breaks it, and with the newest trunk LLVM I get:<br>





<br>/home/eliben/llvm/build_llvm_svn_rw/Debug+Asserts/lib/libLLVMSupport.a(Process.o): In function `terminalHasColors':<br>/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:256: undefined reference to `setupterm'<br>





/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:274: undefined reference to `tigetnum'<br>/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:278: undefined reference to `set_curterm'<br>/home/eliben/llvm/llvm_svn_rw/lib/Support/Unix/Process.inc:279: undefined reference to `del_curterm'<br>





collect2: ld returned 1 exit status<br><br></div>This seems to be related to llvm-config not passing -ltinfo in its --ldflags. This bug also seems to be related: <a href="http://llvm.org/bugs/show_bug.cgi?id=16902" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=16902</a><br>





<br></div>Is there a workaround for this?<br><br>Eli<br><br></div></div></div>
_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>



<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></div></div></blockquote></div></div><br></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" color="#666666">Mingliang LIU (刘明亮 in Chinese)<br><br>PACMAN Group,  Dept. of Computer Science & Technology<br>

Tsinghua University, Beijing 100084, China<br>Email: <a href="mailto:liuml07@mails.tsinghua.edu.cn" target="_blank">liuml07@mails.tsinghua.edu.cn</a></font><div><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" color="#666666">Homepage: <a href="http://pacman.cs.tsinghua.edu.cn/~liuml07" style="line-height:19px;text-align:center" target="_blank">http://pacman.cs.tsinghua.edu.cn/~liuml07/</a></font></div>


</div>