I am building the 2018.04.2 release from source (I am doing this for an HPC cluster that is running RHEL7 as its OS, and we do not install software on all of the nodes, but rather in a centrally available mounted directory system—so we cannot install in the default locations).
I was able to run make and eventually succeeded in getting it to complete without an error. When I configured I set the install directory, so when I do make install, make does install to that directory. But during the make install I am running into the following error: ... Analyzed prerequisites of /N/soft/rhel7/mitk/MITK-2018.04.2_build/ep/lib/./../lib/../lib/libgdcmexpat.so.2.0 Analyzed prerequisites of /N/soft/rhel7/mitk/MITK-2018.04.2_build/ep/lib/./../lib/../lib/libgdcmzlib.so.2.6 Analyzed prerequisites of /gpfs/hps/soft/rhel7/mitk/2018.04.2/bin/mdra-0-13_MITK_FastSymmetricForcesDemons_MultiRes_default.so Analyzed prerequisites of /gpfs/hps/soft/rhel7/mitk/2018.04.2/bin/mdra-0-13_MITK_LevelSetMotion_MultiRes_default.so Analyzed prerequisites of /N/soft/rhel7/mitk/MITK-2018.04.2_build/ep/lib/./libMAPAlgorithmsITK-0.13.so.0.13 Analyzed prerequisites of /N/soft/rhel7/mitk/MITK-2018.04.2_build/ep/lib/./../lib/libMAPUtilities-0.13.so.0.13 Analyzed prerequisites of /gpfs/hps/soft/rhel7/mitk/2018.04.2/bin/mdra-0-13_MITK_MultiModal_affine_default.so Analyzed prerequisites of /gpfs/hps/soft/rhel7/mitk/2018.04.2/bin/mdra-0-13_MITK_MultiModal_rigid_default.so Analyzed prerequisites of /gpfs/hps/soft/rhel7/mitk/2018.04.2/bin/mdra-0-13_MITK_MultiModal_translation_default.so Analyzed prerequisites of /gpfs/hps/soft/rhel7/mitk/2018.04.2/bin/mdra-0-13_MITK_Rigid_ICP_default.so Analyzed prerequisites of /gpfs/hps/soft/rhel7/mitk/2018.04.2/bin/mdra-0-13_MITK_Rigid_closedform_points_default.so -- warning: cannot resolve item 'libofstd.so.13' possible problems: need more directories? need to use InstallRequiredSystemLibraries? run in install tree instead of build tree? -- warning: gp_resolved_file_type non-absolute file 'libofstd.so.13' returning type 'other' -- possibly incorrect -- warning: cannot resolve item 'libofstd.so.13' possible problems: need more directories? need to use InstallRequiredSystemLibraries? run in install tree instead of build tree? Analyzed prerequisites of /N/soft/rhel7/mitk/2018.04.2/bin/ofstd_tests -- warning: cannot resolve item 'libofstd.so.13' possible problems: need more directories? need to use InstallRequiredSystemLibraries? run in install tree instead of build tree? CMake Error at /N/soft/rhel7/mitk/MITK-2018.04.2/CMake/BundleUtilities.cmake:441 (file): file READ_ELF given FILE "libofstd.so.13" that does not exist. Call Stack (most recent call first): /N/soft/rhel7/mitk/MITK-2018.04.2/CMake/BundleUtilities.cmake:497 (get_item_rpaths) /N/soft/rhel7/mitk/MITK-2018.04.2/CMake/BundleUtilities.cmake:634 (set_bundle_key_values) /N/soft/rhel7/mitk/MITK-2018.04.2/CMake/BundleUtilities.cmake:912 (get_bundle_keys) MITK-build/Modules/DiffusionImaging/FiberTracking/cmdapps/Fiberfox/cmake_install.cmake:195 (fixup_bundle) MITK-build/Modules/DiffusionImaging/FiberTracking/cmake_install.cmake:42 (include) MITK-build/Modules/DiffusionImaging/cmake_install.cmake:43 (include) MITK-build/cmake_install.cmake:157 (include) cmake_install.cmake:93 (include) make: *** [install] Error 1 The library about which the complaint is made is there: $ ls -la ./ep/src/DCMTK-build/lib/libofstd.so* lrwxrwxrwx 1 hbrokaw hpc 14 Sep 19 16:24 ./ep/src/DCMTK-build/lib/libofstd.so -> libofstd.so.13 -rwxr-xr-x 2 hbrokaw hpc 323192 Sep 19 16:24 ./ep/src/DCMTK-build/lib/libofstd.so.13 -rwxr-xr-x 2 hbrokaw hpc 323192 Sep 19 16:24 ./ep/src/DCMTK-build/lib/libofstd.so.3.6.3 and $ ls -la ../2018.04.2/lib64/libofstd* lrwxrwxrwx 1 hbrokaw hpc 14 Sep 19 21:53 ../2018.04.2/lib64/libofstd.so -> libofstd.so.13 -rwxr-xr-x 2 hbrokaw hpc 323192 Sep 19 16:24 ../2018.04.2/lib64/libofstd.so.13 -rwxr-xr-x 2 hbrokaw hpc 323192 Sep 19 16:24 ../2018.04.2/lib64/libofstd.so.3.6.3 Originally, the libofstd.so.13 files were soft links to libofstd.so.3.6.3 in the same directory. I tried changing it to a hard link to see if that would change the error, but the error is the same. I would also note that there is a suprising amount of time taken (hours of time) after the following line is printed: Analyzed prerequisites of /gpfs/hps/soft/rhel7/mitk/2018.04.2/bin/mdra-0-13_MITK_FastSymmetricForcesDemons_MultiRes_default.so before the next line is printed: Analyzed prerequisites of /gpfs/hps/soft/rhel7/mitk/2018.04.2/bin/mdra-0-13_MITK_LevelSetMotion_MultiRes_default.so Any assistance would be appreciated. I am used to "make install" simply copying lots of files to the destination location (in this case the destination is ../2018.04.2 — the absolute path is: /gpfs/hps/soft/rhel7/mitk/2018.04.2) This "make install" seems to be doing some sort of testing and I believe it has not finished copying all of the files that need to be in the installation directory before it is having this error. Sincerely, Cicada Dennis
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users