<html 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 name=Title content=""><meta name=Keywords content=""><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (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;}
@font-face
        {font-family:MingLiU;
        panose-1:2 2 5 9 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>Hey guys,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>I don’t know if it helps, but the way that I’ve been able to get around the issue is to:<br><br>1.) Make a directory in the ParaView build directory called ‘tempbin’<br>2.) Copy all binaries from the ParaView ‘bin’ directory into ‘tempbin’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>3.) Delete all files in ‘bin’<br>4.) Create symbolic links to all files in the ‘tempbin’ directory so that the ‘bin’ directory is full of symbolic links<br>5.) Re-do ‘make’   ( it’s just what I had to do in order to get it to work)<br>6.) do ‘make install’<br><br>Now all of the header files and things are moved to the correct locations and the make install process doesn’t result in binaries being removed from the ‘bin’ directory.  It’s a bit of a headscratcher, but I guess this fix results in that IF block that checks for symbolic links status not being executed in file: </span>VTK/Utilities/HashSource/cmake_install.cmake:46<br><br>Best regards,<br>Chris Neal<span style='font-size:11.0pt;font-family:Calibri'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-family:Calibri;color:black'>From: </span></b><span style='font-family:Calibri;color:black'>Christopher Neal <chrisneal@snumerics.com><br><b>Date: </b>Friday, August 5, 2016 at 1:25 PM<br><b>To: </b>Andy Bauer <andy.bauer@kitware.com>, Utkarsh Ayachit <utkarsh.ayachit@kitware.com><br><b>Cc: </b>Ben Boeckel <ben.boeckel@kitware.com>, "paraview@paraview.org" <paraview@paraview.org><br><b>Subject: </b>Re: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install'<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>For the case outlined in this email chain, it is the ParaView source. I’m currently using Paraview5.2.  I have also had the same trouble with: Catalyst-v5.1.0-Base-Enable-Python-Essentials, with the symbolic link ad-hoc solution working with this case as well.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'> </span><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-family:Calibri;color:black'>From: </span></b><span style='font-family:Calibri;color:black'>Andy Bauer <andy.bauer@kitware.com><br><b>Date: </b>Friday, August 5, 2016 at 1:19 PM<br><b>To: </b>Utkarsh Ayachit <utkarsh.ayachit@kitware.com><br><b>Cc: </b>Christopher Neal <chrisneal@snumerics.com>, Ben Boeckel <ben.boeckel@kitware.com>, "paraview@paraview.org" <paraview@paraview.org><br><b>Subject: </b>Re: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install'</span><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi Chris,<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Are you trying to build from a Catalyst edition or directly from the full ParaView source? I want to make sure that we're going in the proper direction when trying to fix this problem.<o:p></o:p></p></div><p class=MsoNormal>Thanks,<o:p></o:p></p></div><p class=MsoNormal>Andy<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p><div><p class=MsoNormal>On Fri, Aug 5, 2016 at 1:15 PM, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><p class=MsoNormal>Ben,<br><br>Can you take a look please?  Thanks.<br><br>On Fri, Aug 5, 2016 at 1:03 PM, Christopher Neal<br><<a href="mailto:chrisneal@snumerics.com">chrisneal@snumerics.com</a>> wrote:<br>> I tried it again with cmake 3.5.1 and I see the same error.<br>><br>> -- Up-to-date: /home/neal/software/ParaView5.2/build/lib/cmake/paraview-5.1/Modules/vtkUtilitiesHashSource.cmake<br>> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file):<br>>   file INSTALL cannot find<br>>   "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1".<br>> Call Stack (most recent call first):<br>>   VTK/cmake_install.cmake:148 (include)<br>>   cmake_install.cmake:117 (include)<br>><br>> I did find a way around the issue by creating a ‘tempbin’ directory and copying the binaries into that directory and then making a symbolic link from the ‘bin’ to the binaries in the ‘tempbin’.<span style='font-family:MingLiU'><br></span>><span style='font-family:MingLiU'><br></span>> The code that the make install is failing on(VTK/Utilities/HashSource/cmake_install.cmake:46 ) has the following part that is leading to the error:<br>><br>> if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "RuntimeLibraries")<br>>   if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND<br>>      NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1")<br>>     file(RPATH_CHECK<br>>          FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1"<br>>          RPATH "")<br>>   endif()<br>>   file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1")<br>>   if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND<br>>      NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1")<br>>     file(RPATH_CHANGE<br>>          FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1"<br>>          OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:"<br>>          NEW_RPATH "")<br>>     if(CMAKE_INSTALL_DO_STRIP)<br>>       execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1")<br>>     endif()<br>>   endif()<br>> endif()<br>><br>><br>> There’s a if statement that checks to see if the executable is symbolic, and if it is it skips the following operation, which I believe is the source of my issue:<span style='font-family:MingLiU'><br></span>><span style='font-family:MingLiU'><br></span>> file(RPATH_CHANGE<span style='font-family:MingLiU'><br></span>>          FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1"<br>>          OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:"<br>>          NEW_RPATH "")<br>><br>> -Chris<br>><br>><br>> On 8/5/16, 11:40 AM, "ParaView on behalf of Christopher Neal" <<a href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</a> on behalf of <a href="mailto:chrisneal@snumerics.com">chrisneal@snumerics.com</a>> wrote:<br>><br>>     Thank you Utkarsh,<br>><br>>     I will try cmake 3.5.1 to see if that has any effect on the issue that I’m having.<span style='font-family:MingLiU'><br></span>><span style='font-family:MingLiU'><br></span>>     Output from: cmake –version<span style='font-family:MingLiU'><br></span>>     cmake version 3.6.20160722-g8842a<span style='font-family:MingLiU'><br></span>><span style='font-family:MingLiU'><br></span>><span style='font-family:MingLiU'><br></span>>     Output from: lsb_relase –a<span style='font-family:MingLiU'><br></span>>     LSB Version:        n/a<span style='font-family:MingLiU'><br></span>>     Distributor ID:     openSUSE project<span style='font-family:MingLiU'><br></span>>     Description:        openSUSE 13.2 (Harlequin) (x86_64)<span style='font-family:MingLiU'><br></span>>     Release:    13.2<span style='font-family:MingLiU'><br></span>>     Codename:   Harlequin<br>><br>>     Thank you,<br>>     -Chris<br>><br>><br>>     On 8/4/16, 11:52 AM, "Utkarsh Ayachit" <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>><br>>         Sorry, no luck producing on Ubuntu 16.04 with CMake 3.5.1.<br>><br>>         On Thu, Aug 4, 2016 at 11:32 AM, Utkarsh Ayachit<br>>         <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>>         > That's odd. Trying to see if I can reproduce this with your command<br>>         > line. I'll report back once the build is done.<br>>         ><br>>         > On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal<br>>         > <<a href="mailto:chrisneal@snumerics.com">chrisneal@snumerics.com</a>> wrote:<br>>         >> Hi All,<br>>         >><br>>         >><br>>         >><br>>         >> I’m seeing something strange when I try to compile ParaView 5.1 from the<span style='font-family:MingLiU'><br></span>>         >> source. I execute the following commands to compile ParaView:<span style='font-family:MingLiU'><br></span>>         >><span style='font-family:MingLiU'><br></span>>         >><span style='font-family:MingLiU'><br></span>>         >><span style='font-family:MingLiU'><br></span>>         >> git clone <a href="https://github.com/Kitware/ParaView.git" target="_blank">https://github.com/Kitware/ParaView.git</a><br>>         >><br>>         >> *Go into cloned ParaView directory*<br>>         >><br>>         >> git submodule init<br>>         >><br>>         >> git submodule update<br>>         >><br>>         >> mkdir ParaView_build  *not inside the ParaView source directory, somewhere<br>>         >> else*<br>>         >><br>>         >> cd ParaView_build<br>>         >><br>>         >><br>>         >><br>>         >> cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES<br>>         >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF<br>>         >> -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON<br>>         >> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON<br>>         >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON<br>>         >> -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON<br>>         >> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE<br>>         >> -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF<br>>         >> -DVTK_USE_CXX11_FEATURES:BOOL=ON<br>>         >> -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build<br>>         >> /home/neal/software/ParaView<br>>         >><br>>         >><br>>         >><br>>         >> (note the last 2 items are paths to the build directory and the source,<br>>         >> respectively)<br>>         >><br>>         >><br>>         >><br>>         >> make<br>>         >><br>>         >> make install<br>>         >><br>>         >><br>>         >><br>>         >> Everything up to ‘make’ looks to work just fine. Now, there is a file called<span style='font-family:MingLiU'><br></span>>         >> ‘vtkHashSource-pv5.1’ that is located in the /bin directory of the ParaView<span style='font-family:MingLiU'><br></span>>         >> build. When I type ‘make install’, I get the following error:<span style='font-family:MingLiU'><br></span>>         >><span style='font-family:MingLiU'><br></span>>         >><span style='font-family:MingLiU'><br></span>>         >><span style='font-family:MingLiU'><br></span>>         >> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file):<br>>         >><br>>         >>   file INSTALL cannot find<br>>         >><br>>         >><br>>         >> "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/bin/vtkHashSource-pv5.1".<br>>         >><br>>         >> Call Stack (most recent call first):<br>>         >><br>>         >>   VTK/cmake_install.cmake:420 (include)<br>>         >><br>>         >>   cmake_install.cmake:117 (include)<br>>         >><br>>         >><br>>         >><br>>         >> Makefile:94: recipe for target 'install' failed<br>>         >><br>>         >> make: *** [install] Error 1<br>>         >><br>>         >><br>>         >><br>>         >><br>>         >><br>>         >> I looked and it has moved or deleted the ‘vtkHashSource-pv5.1’ file that was<span style='font-family:MingLiU'><br></span>>         >> originally in the ParaView/bin directory! I’m sure of it because I copied<span style='font-family:MingLiU'><br></span>>         >> the file to a temp directory and it disappears every time I put it in the<br>>         >> ParaView/bin and type ‘make install’.<span style='font-family:MingLiU'><br></span>>         >><span style='font-family:MingLiU'><br></span>>         >> Has anyone had this problem?<span style='font-family:MingLiU'><br></span>>         >><span style='font-family:MingLiU'><br></span>>         >> Thank you,<span style='font-family:MingLiU'><br></span>>         >><span style='font-family:MingLiU'><br></span>>         >> Chris Neal<span style='font-family:MingLiU'><br></span>>         >><span style='font-family:MingLiU'><br></span>>         >><br>>         >> _______________________________________________<br>>         >> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>>         >><br>>         >> Visit other Kitware open-source projects at<br>>         >> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>>         >><br>>         >> Please keep messages on-topic and check the ParaView Wiki at:<br>>         >> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>>         >><br>>         >> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>>         >><br>>         >> Follow this link to subscribe/unsubscribe:<br>>         >> <a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>>         >><br>><br>><br>><br>>     _______________________________________________<br>>     Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>><br>>     Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>>     Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>><br>>     Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>><br>>     Follow this link to subscribe/unsubscribe:<br>>     <a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>><br>><br>><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><o:p></o:p></p></blockquote></div><p class=MsoNormal> <o:p></o:p></p></div></div></div></div></body></html>