MantisBT - ParaView
View Issue Details
0009301ParaViewBugpublic2009-07-22 13:272010-11-22 21:50
Orion E. Poplawski 
David Partyka 
normalminoralways
closedno change required 
 
3.10 
0009301: Inconsistent use of CMAKE_INSTALL_PREFIX
Not all items use CMAKE_INSTALL_PREFIX. e.g.:

ParaView3/CMakeLists.txt: SET(PARAVIEW_VTK_DIR "${CMAKE_INSTALL_PREFIX}/${PV_INSTALL_LIB_DIR}")

ParaView3/Servers/Common/CMakeLists.txt: LIBRARY DESTINATION ${PV_INSTALL_LIB_DIR} COMPONENT Runtime

This makes it nearly impossible to install things properly under /usr/lib/paraview for rpm packaging with CMAKE_INSTALL_PREFIX set to /usr.
No tags attached.
patch paraview-3.6.1-cmake-install-prefix.patch (4,074) 2009-07-22 17:12
https://www.vtk.org/Bug/file/7380/paraview-3.6.1-cmake-install-prefix.patch
Issue History
2009-07-22 13:27Orion E. PoplawskiNew Issue
2009-07-22 17:12Orion E. PoplawskiFile Added: paraview-3.6.1-cmake-install-prefix.patch
2009-07-22 17:13Orion E. PoplawskiNote Added: 0016943
2009-08-27 15:51Orion E. PoplawskiNote Added: 0017228
2010-11-17 09:19David PartykaAssigned To => David Partyka
2010-11-17 09:19David PartykaStatusbacklog => tabled
2010-11-19 17:07David PartykaNote Added: 0023459
2010-11-19 17:07David PartykaStatustabled => @80@
2010-11-19 17:07David PartykaFixed in Version => 3.10
2010-11-19 17:07David PartykaResolutionopen => no change required
2010-11-22 21:50Alan ScottNote Added: 0023503
2010-11-22 21:50Alan ScottStatus@80@ => closed

Notes
(0016943)
Orion E. Poplawski   
2009-07-22 17:13   
I've attached a partial patch as an illustration. There are still other files...
(0017228)
Orion E. Poplawski   
2009-08-27 15:51   
Ah, this is user error - need to use relative path with defining PV_INSTALL_LIB_DIR. Sorry.
(0023459)
David Partyka   
2010-11-19 17:07   
You're exactly right. You want to use the relative path. Closing this.
(0023503)
Alan Scott   
2010-11-22 21:50   
User error, as per the bug reporter.