I meant to say "OR apply the patch manually to a clean cmake source tree."<br><br><div><span class="gmail_quote">On 2/20/07, <b class="gmail_sendername">George McConnell</b><br></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for the reply.<br><br>I am running into the same error when I build from source RPM (rpmbuild -bb cmake.spec) and apply the patch manually to a clean cmake source tree.<br><br>I can't install the binary rpm directly as it has dependencies on updated packages that I cannot install.
<br><br>Any other ideas?<br><br><div><span class="gmail_quote">On 2/20/07, <b class="gmail_sendername">Andreas Schneider</b> <br></span><div><span class="e" id="q_110e0b71f6b94619_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>> I cannot get get cmake-2.4.6 to compile on a 64-bit SUSE Enterprise<br>> Server. I suspect this is an ncurses issue, but I can't find a resolution.<br>><br>> I have the ncurses development package installed.
<br>><br><br>There is a cmake 2.4.6 package for SLE 10 on the build service<br><br><a href="http://software.opensuse.org/download/devel:/tools:/building/SLE_10/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://software.opensuse.org/download/devel:/tools:/building/SLE_10/
</a><br><br>If you still want to compile it yourself, check the source rpm for the<br>patches.<br><br> -- andreas<br><br>> node:/tmp/cmake- 2.4.6 # rpm -qa | grep ncurse<br>> ncurses-devel-5.4-61.4<br>> ncurses-5.4-61.4
<br>> yast2-ncurses-2.9.26-0.5<br>><br>> My build exits during the link of ccmake (~97%)<br>><br>> Linking CXX executable ../bin/ccmake<br>> /tmp/cmake-2.4.6<br>> /Source/libCMakeLib.a(cmCacheManager.o
)(.gnu.linkonce.t._ZNSt23_<br>> Rb_tree_const_iteratorISt4pairI<br>> KN5cmsys6StringEN14cmCacheManager10CacheEntryEEEp<br>> pEv+0x19): In function<br>> `std::_Rb_tree_const_iterator<std::pair<cmsys::String con
<br>> st, cmCacheManager::CacheEntry> >::operator++()':<br>> : undefined reference to<br>> `std::_Rb_tree_increment(std::_Rb_tree_node_base const*<br>> )'<br>><br>> .............SNIP.....................
<br>><br>> /tmp/cmake-<br>> 2.4.6/Source/kwsys/libcmsys.a(SystemTools.o)(.gnu.linkonce.t._ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE9_M_insertEPSt18_Rb_tree_node_baseSA_RKS2_+0x92):<br>
> In function `std::_Rb_tree<std::basic_string<char,
<br>> std::char_traits<char>, std::allocator<char> >,<br>> std::pair<std::basic_string<char, std::char_traits<char>,<br>> std::allocator<char> > const, std::basic_string<char,
<br>> std::char_traits<char>, std::allocator<char> > >,<br>> std::_Select1st<std::pair<std::basic_string<char,<br>> std::char_traits<char>, std::allocator<char> > const,
<br>
> std::basic_string<char, std::char_traits<char>, std::allocator<char> > ><br>>>, std::less<std::basic_string<char, std::char_traits<char>,<br>> std::allocator<char> > >,
<br>> std::allocator<std::pair<std::basic_string<char, std::char_traits<char>,<br>> std::allocator<char> > const, std::basic_string<char,<br>> std::char_traits<char>, std::allocator<char> > > >
<br>>>::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*,<br>> std::pair<std::basic_string<char, std::char_traits<char>,<br>> std::allocator<char> > const, std::basic_string<char,
<br>> std::char_traits<char>, std::allocator<char> > > const&)':<br>> : undefined reference to `std::_Rb_tree_insert_and_rebalance(bool,<br>> std::_Rb_tree_node_base*, std::_Rb_tree_node_base*,
<br>> std::_Rb_tree_node_base&)'<br>> /tmp/cmake-2.4.6/Source/kwsys/libcmsys.a(SystemTools.o)(.gnu.linkonce.t._ZNSt17_Rb_tree_iteratorISt4pairIKSsSsEEmmEv+0x19):<br>> In function `std::_Rb_tree_iterator<std::pair<std::basic_string<char,
<br>> std::char_traits<char>, std::allocator<char> > const,<br>> std::basic_string<char, std::char_traits<char>, std::allocator<char> > ><br>>>::operator--()':<br>> : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
<br>> collect2: ld returned 1 exit status<br>> make[2]: *** [bin/ccmake] Error 1<br>> make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2<br>> make: *** [all] Error 2<br>><br>> There is a large amount of errors like the one above. I chose to post
<br>> the first and last error before the compile exits. I can attach the rest<br>> if that will be helpful.<br>><br>> Can anyone assist me?<br>><br>> Thanks,<br>> George<br>><br>><br><br><br></blockquote>
</span></div></div><br>
</blockquote></div><br>