<div dir="ltr">Well... as I don&#39;t have a Fedora machine ready to rock, I can&#39;t promise to do anything about this in a timely manner either... Simpler steps to reproduce this problem would probably be helpful.<br><br>
Has anyone else out there seen anything like this building VTK with CMake <a href="http://2.6.1.">2.6.1.</a>..?<br><br><br><div class="gmail_quote">On Wed, Aug 27, 2008 at 4:22 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 Wed, Aug 27, 2008 at 01:18:50PM -0400, David Cole wrote:<br>
&gt; Is this a cmake built into Fedora or is it one you built yourself?<br>
<br>
</div>It is the one from Fedora.<br>
<div class="Ih2E3d"><br>
&gt; Could you try building CMake from CVS HEAD and see if the problem<br>
&gt; persists? If so, could you try a Debug build of CMake and figure out<br>
&gt; what is throwing the bad_alloc exception?<br>
<br>
</div>OK, I&#39;ll try, but I can&#39;t promise to do it in a timely manner. I won&#39;t<br>
be able to use Fedora&#39;s infrastructure as I will have to override the<br>
cmake package.<br>
<div><div></div><div class="Wj3C7c"><br>
&gt; On Tue, Aug 26, 2008 at 1:37 PM, Axel Thimm &lt;<a href="mailto:Axel.Thimm@atrpms.net">Axel.Thimm@atrpms.net</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Tue, Aug 26, 2008 at 01:16:26PM -0400, David Cole wrote:<br>
&gt; &gt; &gt; What cmake are you using?<br>
&gt; &gt; &gt; (Output of &#39;cmake --version&#39; / &#39;which cmake&#39;...)<br>
&gt; &gt;<br>
&gt; &gt; <a href="http://2.6.1." target="_blank">2.6.1.</a><br>
&gt; &gt;<br>
&gt; &gt; &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;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I&#39;m packaging vtk for Fedora/RHEL. The upcoming Fedora 10 fails on<br>
&gt; &gt; &gt; &gt; vtk&#39;s build with:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; terminate called after throwing an instance of &#39;std::bad_alloc&#39;<br>
&gt; &gt; &gt; &gt; &nbsp;what(): &nbsp;std::bad_alloc<br>
&gt; &gt; &gt; &gt; /var/tmp/rpm-tmp.QfJ2sI: line 66: 27301 Aborted &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmake .<br>
&gt; &gt; &gt; &gt; -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON<br>
&gt; &gt; &gt; &gt; -DBUILD_EXAMPLES:BOOL=ON -DBUILD_TESTING:BOOL=ON<br>
&gt; &gt; &gt; &gt; -DCMAKE_INSTALL_PREFIX:PATH=/builddir/VTK/tmpinstall<br>
&gt; &gt; &gt; &gt; -DVTK_INSTALL_BIN_DIR:PATH=/usr/bin<br>
&gt; &gt; &gt; &gt; -DVTK_INSTALL_INCLUDE_DIR:PATH=/usr/include/vtk<br>
&gt; &gt; &gt; &gt; -DVTK_INSTALL_LIB_DIR:PATH=/usr/lib64<br>
&gt; &gt; &gt; &gt; -DVTK_DATA_ROOT:PATH=/usr/share/vtkdata-5.0.4<br>
&gt; &gt; &gt; &gt; -DTK_INTERNAL_PATH:PATH=/usr/include/tk-private/generic<br>
&gt; &gt; &gt; &gt; -DVTK_OPENGL_HAS_OSMESA:BOOL=ON -DVTK_WRAP_PYTHON:BOOL=ON<br>
&gt; &gt; &gt; &gt; -DVTK_WRAP_JAVA:BOOL=ON<br>
&gt; &gt; -DJAVA_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include<br>
&gt; &gt; &gt; &gt; -DJAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/java/include/linux<br>
&gt; &gt; &gt; &gt; -DJAVA_AWT_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include<br>
&gt; &gt; &gt; &gt; -DVTK_WRAP_TCL:BOOL=ON -DVTK_USE_GL2PS:BOOL=ON<br>
&gt; &gt; -DVTK_USE_GUISUPPORT:BOOL=ON<br>
&gt; &gt; &gt; &gt; -DVTK_USE_PARALLEL:BOOL=ON -DVTK_USE_SYSTEM_EXPAT=ON<br>
&gt; &gt; &gt; &gt; -DVTK_USE_SYSTEM_FREETYPE=ON -DVTK_USE_SYSTEM_JPEG=ON<br>
&gt; &gt; &gt; &gt; -DVTK_USE_SYSTEM_PNG=ON -DVTK_USE_SYSTEM_TIFF=ON<br>
&gt; &gt; -DVTK_USE_SYSTEM_ZLIB=ON<br>
&gt; &gt; &gt; &gt; -DVTK_USE_QVTK=ON<br>
&gt; &gt; -DVTK_INSTALL_QT_DIR=/usr/lib64/qt-3.3/plugins/designer<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; The build steps are the same ones as used on F8/F9/RHEL4/RHEL5, I<br>
&gt; &gt; &gt; &gt; guess the difference will be in newer gcc/glibc. Any idea on how to<br>
&gt; &gt; &gt; &gt; fix this? Thanks!<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; This is the private VTK discussion list.<br>
&gt; &gt; &gt; &gt; Please keep messages on-topic. Check the FAQ at:<br>
&gt; &gt; &gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; &gt; &gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt; &gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; This is the private VTK discussion list.<br>
&gt; &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; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &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>
&gt; &gt;<br>
&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>
--<br>
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>