<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h4
        {mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.Heading4Char
        {mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-family:"Times New Roman","serif";
        font-weight:bold;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><h4 style='margin-bottom:0in;margin-bottom:.0001pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>Hello – <o:p></o:p></span></h4><h4 style='margin-bottom:0in;margin-bottom:.0001pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>We recently installed vtk-5.10 on Ubuntu 12.04,  Anaconda 1.4.0 python, no problems.</span><o:p></o:p></h4><h4 style='margin-bottom:0in;margin-bottom:.0001pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>Now we have moved to the Debian 7 OS and are attempting to install the newest VTK 6.1.0, with Anaconda python 2.1.0</span><o:p></o:p></h4><h4 style='margin-bottom:0in;margin-bottom:.0001pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>Our procedures (below) were modified for the new environment. Some configuration parameters have changed in VTK also.</span><o:p></o:p></h4><h4 style='margin-bottom:0in;margin-bottom:.0001pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>At the end of the install, our python test fails:</span><o:p></o:p></h4><h4 style='background:white'><span style='font-family:"Arial","sans-serif";color:black'>python -c "from vtk import vtkVersion; print vtkVersion.GetVTKSourceVersion()"</span><o:p></o:p></h4><h4 style='background:white'><span style='font-family:"Arial","sans-serif";color:black'>Traceback (most recent call last):</span><o:p></o:p></h4><h4 style='background:white'><span style='font-family:"Arial","sans-serif";color:black'>  File "<string>", line 1, in <module></span><o:p></o:p></h4><h4 style='margin-bottom:0in;margin-bottom:.0001pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>ImportError: No module named vtk</span><o:p></o:p></h4><h4 style='margin-bottom:0in;margin-bottom:.0001pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>Is part of the problem with LD_LIBRARY_PATH? The previous VTK version 5.10 under Ubuntu 12.04 created a directory: /usr/local/lib/vtk-5.10<o:p></o:p></span></h4><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white'><span style='font-family:"Arial","sans-serif";color:#333333'>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/vtk-6.1   <<<< </span><span style='font-family:"Arial","sans-serif";color:red'>Don't know where this is created</span><o:p></o:p></p><h4 style='margin-bottom:0in;margin-bottom:.0001pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>Thanks so much for suggestions to fix.</span><o:p></o:p></h4><h4 style='margin-bottom:0in;margin-bottom:.0001pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>- KarlW</span><o:p></o:p></h4><h4 style='margin-bottom:0in;margin-bottom:.0001pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>Visualization Toolkit (VTK) 6.1.0</span><o:p></o:p></h4><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>Download the latest version of vtk source (VTK-6.1.0.tar.gz) and vtk-data (VTKData-6.1.0.tar.gz) from <a href="http://www.vtk.org/VTK/resources/software.html#latest" target="_blank">http://www.vtk.org/VTK/resources/software.html#latest</a></span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>Copy to /usr/local; untar/unzip    NOTE that the VTKData untars to /usr/local/VTK-6.1.0/.ExternalData</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>cd to VTK-6.1.0;             mkdir VTK_BUILD  cd VTK_BUILD</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>sudo apt-get install libglu1-mesa-dev</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>Add /usr/include to PATH, export OPENLGL_INCLUDE_DIR=/usr/include/GL</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>ccmake ..</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>(hit c)  to configure</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>BUILD_DOCUMENTATION *OFF (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>BUILD_EXAMPLES *OFF<br>BUILD_SHARED_LIBS *OFF <br>BUILD_TESTING *ON <br> <br>CMAKE_BUILD_TYPE *Debug <br>CMAKE_INSTALL_PREFIX */usr/local<br> </span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>EXECINFO_LIB *EXECINFO_LIB-NOTFOUND (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_EXTRA_COMPILER_WARNINGS *OFF </span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_Group_Imaging *OFF (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_Group_MPI *OFF (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_Group_Qt *OFF (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_Group_Rendering *ON (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_Group_Standalone *ON (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_Group_Tk *OFF (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'> VTK_Group_Views *OFF (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_Group_Web *OFF (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_SMP_IMPLEMENTATION_TYPE *Sequential (default)</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_USE_LARGE_JAVA *OFF (default)<br>VTK_WRAP_JAVA *OFF <br>VTK_WRAP_PYTHON *OFF <br><br>VTK_WRAP_TCL *OFF</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:black'>Then, run make to compile VTK</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>sudo make -j12  (this will use parallel compilation on a 12 - 16 core workstation) </span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>sudo make install</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>--------------------------</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>sudo apt-get install tk-dev</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>cd VTK_BUILD</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>ccmake ..</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>(hit c)  to configure</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>enable BUILD_SHARED_LIBS</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>CMAKE_INSTALL_PREFIX is default  /usr/local<o:p></o:p></span></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white'><span style='font-family:"Arial","sans-serif";color:#333333'>enable VTK_WRAP_PYTHON<o:p></o:p></span></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white'><span style='font-family:"Arial","sans-serif";color:#333333'>enter advanced configuration by pressing "t"</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>PYTHON_INCLUDE_DIR /usr/local/anaconda/include/python2.7</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white'><span style='font-family:"Arial","sans-serif";color:#333333'>PYTHON_LIBRARY /usr/local/anaconda/lib/libpython2.7.so PYTHON_EXECUTABLE /usr/local/anaconda/bin/python2.7</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white'><span style='font-family:"Arial","sans-serif";color:#333333'>VTK_DATA_STORE   /usr/local/VTK-6.1.0  </span><span style='font-family:"Arial","sans-serif";color:red'>?<o:p></o:p></span></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white'><span style='font-family:"Arial","sans-serif"'>VTK_INSTALL_PYTHON_MODULE_DIR<span style='color:red'>  /usr/local/lib/python./site-packages  ?</span></span><span style='color:red'><o:p></o:p></span></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>"c" to configure</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>"g" to generate</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>sudo make -j12  </span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>sudo make install</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>------------------------</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/vtk-6.1   <<<< </span><span style='font-family:"Arial","sans-serif";color:red'>Don't know where this is created</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#333333'>TEST: python -c "from vtk import vtkVersion; print vtkVersion.GetVTKSourceVersion()"</span><o:p></o:p></p><p style='margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:4.55pt;background:white;word-spacing:0px'><span style='font-family:"Arial","sans-serif";color:#C00000'>EXPECT  </span><span style='font-family:"Arial","sans-serif";color:#333333'>vtk version 6.1.0</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=FR> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p></div></body></html>