<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Sep 7, 2013, at 8:29 AM, Eli Bendersky <<a href="mailto:eliben@gmail.com">eliben@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">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>
<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>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.<br></div></div></div></div></blockquote>Ah, didn’t notice that commit. Thanks for the info.</div><div><br></div><div>Pete<br><blockquote type="cite" dir="auto"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br>Eli<br></div><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 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 class="h5"><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 class="h5">
<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></blockquote></div><br></div></div>
</blockquote></div><br></body></html>