<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"><<a href="mailto:Axel.Thimm@atrpms.net">Axel.Thimm@atrpms.net</a>></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>
> What cmake are you using?<br>
> (Output of 'cmake --version' / 'which cmake'...)<br>
<br>
</div><a href="http://2.6.1." target="_blank">2.6.1.</a><br>
<div><div></div><div class="Wj3C7c"><br>
> On Tue, Aug 26, 2008 at 1:14 PM, Axel Thimm <<a href="mailto:Axel.Thimm@atrpms.net">Axel.Thimm@atrpms.net</a>> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > I'm packaging vtk for Fedora/RHEL. The upcoming Fedora 10 fails on<br>
> > vtk's build with:<br>
> ><br>
> > terminate called after throwing an instance of 'std::bad_alloc'<br>
> > what(): std::bad_alloc<br>
> > /var/tmp/rpm-tmp.QfJ2sI: line 66: 27301 Aborted cmake .<br>
> > -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON<br>
> > -DBUILD_EXAMPLES:BOOL=ON -DBUILD_TESTING:BOOL=ON<br>
> > -DCMAKE_INSTALL_PREFIX:PATH=/builddir/VTK/tmpinstall<br>
> > -DVTK_INSTALL_BIN_DIR:PATH=/usr/bin<br>
> > -DVTK_INSTALL_INCLUDE_DIR:PATH=/usr/include/vtk<br>
> > -DVTK_INSTALL_LIB_DIR:PATH=/usr/lib64<br>
> > -DVTK_DATA_ROOT:PATH=/usr/share/vtkdata-5.0.4<br>
> > -DTK_INTERNAL_PATH:PATH=/usr/include/tk-private/generic<br>
> > -DVTK_OPENGL_HAS_OSMESA:BOOL=ON -DVTK_WRAP_PYTHON:BOOL=ON<br>
> > -DVTK_WRAP_JAVA:BOOL=ON -DJAVA_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include<br>
> > -DJAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/java/include/linux<br>
> > -DJAVA_AWT_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include<br>
> > -DVTK_WRAP_TCL:BOOL=ON -DVTK_USE_GL2PS:BOOL=ON -DVTK_USE_GUISUPPORT:BOOL=ON<br>
> > -DVTK_USE_PARALLEL:BOOL=ON -DVTK_USE_SYSTEM_EXPAT=ON<br>
> > -DVTK_USE_SYSTEM_FREETYPE=ON -DVTK_USE_SYSTEM_JPEG=ON<br>
> > -DVTK_USE_SYSTEM_PNG=ON -DVTK_USE_SYSTEM_TIFF=ON -DVTK_USE_SYSTEM_ZLIB=ON<br>
> > -DVTK_USE_QVTK=ON -DVTK_INSTALL_QT_DIR=/usr/lib64/qt-3.3/plugins/designer<br>
> ><br>
> > The build steps are the same ones as used on F8/F9/RHEL4/RHEL5, I<br>
> > guess the difference will be in newer gcc/glibc. Any idea on how to<br>
> > fix this? Thanks!<br>
> ><br>
</div></div><div class="Ih2E3d">> > _______________________________________________<br>
> > This is the private VTK discussion list.<br>
> > Please keep messages on-topic. Check the FAQ at:<br>
> > <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>
> ><br>
<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>
<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>