<div dir="ltr">Is this a cmake built into Fedora or is it one you built yourself? Could you try building CMake from CVS HEAD and see if the problem persists? If so, could you try a Debug build of CMake and figure out what is throwing the bad_alloc exception?<br>
<br><br><div class="gmail_quote">On Tue, Aug 26, 2008 at 1:37 PM, Axel Thimm <span dir="ltr">&lt;<a href="mailto:Axel.Thimm@atrpms.net">Axel.Thimm@atrpms.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Aug 26, 2008 at 01:16:26PM -0400, David Cole wrote:<br>
&gt; What cmake are you using?<br>
&gt; (Output of &#39;cmake --version&#39; / &#39;which cmake&#39;...)<br>
<br>
</div><a href="http://2.6.1." target="_blank">2.6.1.</a><br>
<div><div></div><div class="Wj3C7c"><br>
&gt; On Tue, Aug 26, 2008 at 1:14 PM, Axel Thimm &lt;<a href="mailto:Axel.Thimm@atrpms.net">Axel.Thimm@atrpms.net</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m packaging vtk for Fedora/RHEL. The upcoming Fedora 10 fails on<br>
&gt; &gt; vtk&#39;s build with:<br>
&gt; &gt;<br>
&gt; &gt; terminate called after throwing an instance of &#39;std::bad_alloc&#39;<br>
&gt; &gt; &nbsp;what(): &nbsp;std::bad_alloc<br>
&gt; &gt; /var/tmp/rpm-tmp.QfJ2sI: line 66: 27301 Aborted &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmake .<br>
&gt; &gt; -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON<br>
&gt; &gt; -DBUILD_EXAMPLES:BOOL=ON -DBUILD_TESTING:BOOL=ON<br>
&gt; &gt; -DCMAKE_INSTALL_PREFIX:PATH=/builddir/VTK/tmpinstall<br>
&gt; &gt; -DVTK_INSTALL_BIN_DIR:PATH=/usr/bin<br>
&gt; &gt; -DVTK_INSTALL_INCLUDE_DIR:PATH=/usr/include/vtk<br>
&gt; &gt; -DVTK_INSTALL_LIB_DIR:PATH=/usr/lib64<br>
&gt; &gt; -DVTK_DATA_ROOT:PATH=/usr/share/vtkdata-5.0.4<br>
&gt; &gt; -DTK_INTERNAL_PATH:PATH=/usr/include/tk-private/generic<br>
&gt; &gt; -DVTK_OPENGL_HAS_OSMESA:BOOL=ON -DVTK_WRAP_PYTHON:BOOL=ON<br>
&gt; &gt; -DVTK_WRAP_JAVA:BOOL=ON -DJAVA_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include<br>
&gt; &gt; -DJAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/java/include/linux<br>
&gt; &gt; -DJAVA_AWT_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include<br>
&gt; &gt; -DVTK_WRAP_TCL:BOOL=ON -DVTK_USE_GL2PS:BOOL=ON -DVTK_USE_GUISUPPORT:BOOL=ON<br>
&gt; &gt; -DVTK_USE_PARALLEL:BOOL=ON -DVTK_USE_SYSTEM_EXPAT=ON<br>
&gt; &gt; -DVTK_USE_SYSTEM_FREETYPE=ON -DVTK_USE_SYSTEM_JPEG=ON<br>
&gt; &gt; -DVTK_USE_SYSTEM_PNG=ON -DVTK_USE_SYSTEM_TIFF=ON -DVTK_USE_SYSTEM_ZLIB=ON<br>
&gt; &gt; -DVTK_USE_QVTK=ON -DVTK_INSTALL_QT_DIR=/usr/lib64/qt-3.3/plugins/designer<br>
&gt; &gt;<br>
&gt; &gt; The build steps are the same ones as used on F8/F9/RHEL4/RHEL5, I<br>
&gt; &gt; guess the difference will be in newer gcc/glibc. Any idea on how to<br>
&gt; &gt; fix this? Thanks!<br>
&gt; &gt;<br>
</div></div><div class="Ih2E3d">&gt; &gt; _______________________________________________<br>
&gt; &gt; This is the private VTK discussion list.<br>
&gt; &gt; Please keep messages on-topic. Check the FAQ at:<br>
&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
<br>
&gt; _______________________________________________<br>
&gt; This is the private VTK discussion list.<br>
&gt; Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
</div>--<br>
<div><div></div><div class="Wj3C7c">Axel.Thimm at ATrpms.net<br>
</div></div><br>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>