[Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install'
Christopher Neal
chrisneal at snumerics.com
Fri Aug 5 13:25:53 EDT 2016
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.
From: Andy Bauer <andy.bauer at kitware.com>
Date: Friday, August 5, 2016 at 1:19 PM
To: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
Cc: Christopher Neal <chrisneal at snumerics.com>, Ben Boeckel <ben.boeckel at kitware.com>, "paraview at paraview.org" <paraview at paraview.org>
Subject: Re: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install'
Hi Chris,
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.
Thanks,
Andy
On Fri, Aug 5, 2016 at 1:15 PM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com> wrote:
Ben,
Can you take a look please? Thanks.
On Fri, Aug 5, 2016 at 1:03 PM, Christopher Neal
<chrisneal at snumerics.com> wrote:
> I tried it again with cmake 3.5.1 and I see the same error.
>
> -- Up-to-date: /home/neal/software/ParaView5.2/build/lib/cmake/paraview-5.1/Modules/vtkUtilitiesHashSource.cmake
> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file):
> file INSTALL cannot find
> "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1".
> Call Stack (most recent call first):
> VTK/cmake_install.cmake:148 (include)
> cmake_install.cmake:117 (include)
>
> 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’.
>
> 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:
>
> if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "RuntimeLibraries")
> if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND
> NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1")
> file(RPATH_CHECK
> FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1"
> RPATH "")
> endif()
> file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1")
> if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND
> NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1")
> file(RPATH_CHANGE
> FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1"
> OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:"
> NEW_RPATH "")
> if(CMAKE_INSTALL_DO_STRIP)
> execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1")
> endif()
> endif()
> endif()
>
>
> 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:
>
> file(RPATH_CHANGE
> FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1"
> OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:"
> NEW_RPATH "")
>
> -Chris
>
>
> On 8/5/16, 11:40 AM, "ParaView on behalf of Christopher Neal" <paraview-bounces at paraview.org on behalf of chrisneal at snumerics.com> wrote:
>
> Thank you Utkarsh,
>
> I will try cmake 3.5.1 to see if that has any effect on the issue that I’m having.
>
> Output from: cmake –version
> cmake version 3.6.20160722-g8842a
>
>
> Output from: lsb_relase –a
> LSB Version: n/a
> Distributor ID: openSUSE project
> Description: openSUSE 13.2 (Harlequin) (x86_64)
> Release: 13.2
> Codename: Harlequin
>
> Thank you,
> -Chris
>
>
> On 8/4/16, 11:52 AM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com> wrote:
>
> Sorry, no luck producing on Ubuntu 16.04 with CMake 3.5.1.
>
> On Thu, Aug 4, 2016 at 11:32 AM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
> > That's odd. Trying to see if I can reproduce this with your command
> > line. I'll report back once the build is done.
> >
> > On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal
> > <chrisneal at snumerics.com> wrote:
> >> Hi All,
> >>
> >>
> >>
> >> I’m seeing something strange when I try to compile ParaView 5.1 from the
> >> source. I execute the following commands to compile ParaView:
> >>
> >>
> >>
> >> git clone https://github.com/Kitware/ParaView.git
> >>
> >> *Go into cloned ParaView directory*
> >>
> >> git submodule init
> >>
> >> git submodule update
> >>
> >> mkdir ParaView_build *not inside the ParaView source directory, somewhere
> >> else*
> >>
> >> cd ParaView_build
> >>
> >>
> >>
> >> cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES
> >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF
> >> -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON
> >> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON
> >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
> >> -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON
> >> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE
> >> -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF
> >> -DVTK_USE_CXX11_FEATURES:BOOL=ON
> >> -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build
> >> /home/neal/software/ParaView
> >>
> >>
> >>
> >> (note the last 2 items are paths to the build directory and the source,
> >> respectively)
> >>
> >>
> >>
> >> make
> >>
> >> make install
> >>
> >>
> >>
> >> Everything up to ‘make’ looks to work just fine. Now, there is a file called
> >> ‘vtkHashSource-pv5.1’ that is located in the /bin directory of the ParaView
> >> build. When I type ‘make install’, I get the following error:
> >>
> >>
> >>
> >> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file):
> >>
> >> file INSTALL cannot find
> >>
> >>
> >> "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/bin/vtkHashSource-pv5.1".
> >>
> >> Call Stack (most recent call first):
> >>
> >> VTK/cmake_install.cmake:420 (include)
> >>
> >> cmake_install.cmake:117 (include)
> >>
> >>
> >>
> >> Makefile:94: recipe for target 'install' failed
> >>
> >> make: *** [install] Error 1
> >>
> >>
> >>
> >>
> >>
> >> I looked and it has moved or deleted the ‘vtkHashSource-pv5.1’ file that was
> >> originally in the ParaView/bin directory! I’m sure of it because I copied
> >> the file to a temp directory and it disappears every time I put it in the
> >> ParaView/bin and type ‘make install’.
> >>
> >> Has anyone had this problem?
> >>
> >> Thank you,
> >>
> >> Chris Neal
> >>
> >>
> >> _______________________________________________
> >> Powered by www.kitware.com
> >>
> >> Visit other Kitware open-source projects at
> >> http://www.kitware.com/opensource/opensource.html
> >>
> >> Please keep messages on-topic and check the ParaView Wiki at:
> >> http://paraview.org/Wiki/ParaView
> >>
> >> Search the list archives at: http://markmail.org/search/?q=ParaView
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://public.kitware.com/mailman/listinfo/paraview
> >>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160805/6ac1ba61/attachment.html>
More information about the ParaView
mailing list