<div dir="ltr">Well... as I don't have a Fedora machine ready to rock, I can'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"><<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 Wed, Aug 27, 2008 at 01:18:50PM -0400, David Cole wrote:<br>
> 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>
> Could you try building CMake from CVS HEAD and see if the problem<br>
> persists? If so, could you try a Debug build of CMake and figure out<br>
> what is throwing the bad_alloc exception?<br>
<br>
</div>OK, I'll try, but I can't promise to do it in a timely manner. I won't<br>
be able to use Fedora's infrastructure as I will have to override the<br>
cmake package.<br>
<div><div></div><div class="Wj3C7c"><br>
> On Tue, Aug 26, 2008 at 1:37 PM, Axel Thimm <<a href="mailto:Axel.Thimm@atrpms.net">Axel.Thimm@atrpms.net</a>> wrote:<br>
><br>
> > 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>
> > <a href="http://2.6.1." target="_blank">2.6.1.</a><br>
> ><br>
> > > On Tue, Aug 26, 2008 at 1:14 PM, Axel Thimm <<a href="mailto:Axel.Thimm@atrpms.net">Axel.Thimm@atrpms.net</a>><br>
> > 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<br>
> > -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<br>
> > -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<br>
> > -DVTK_USE_SYSTEM_ZLIB=ON<br>
> > > > -DVTK_USE_QVTK=ON<br>
> > -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>
> > > > _______________________________________________<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:<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:<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>
--<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>