PV_FORWARD_PATH_INSTALL not set properly if PV_INSTALL_BIN_DIR and PV_INSTALL_LIB_DIR set
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
For the Fedora MPI packages of paraview I need to install the binaries into /usr/lib{,64}/openmpi/bin and the libraries into /usr/lib{,64}/openmpi/lib/paraview which I do with:
-DPV_INSTALL_BIN_DIR:PATH=%{_lib}/openmpi/bin
-DPV_INSTALL_LIB_DIR:PATH=%{_lib}/openmpi/lib/paraview \
%{_lib} is set to lib/lib64 as needed.
This results in:
Error converting runtime path entry "/usr/lib64/openmpi/bin/../lib64/openmpi/lib/paraview" to real path: No such file or directory
when trying to run pvserver. It seems that there are too many assumptions about shared paths in CMake/ParaViewMacros.cmake when constructing PV_FORWARD_PATH_INSTALL and it does not seem possible to override it. In this case PV_FORWARD_PATH_INSTALL would need to be either ../lib/paraview or ../../../lib64/openmpi/lib/paraview.