On 12/15/2013 05:38 PM, Bhaskar, K.S wrote: > Yes, thanks to all, and especially Andreas Tille, Amul Shah, Luis IbaƱez and > Brad King.
Thanks to all as well. I've just tested installation on my Debian x86_64 system and have discovered that zhelp does not work: $ sudo aptitude install fis-gtm-6.0-003 $ export gtm_dist=/usr/lib/fis-gtm/V6.0-003_x86_64 $ export gtmroutines="$gtm_dist/libgtmutil.so $gtm_dist" $ $gtm_dist/mumps -dir GTM>zhelp Error in GT.M help utility I remember encountering this while helping out with the build and packaging process originally. At the time the permissions of gtmsecshr, gtmsecshrdir, and gtmsecshrdir/gtmsecshr were not being set correctly in the package. I've just verified that they are now correct: $ ls -ltrd $gtm_dist/gtmsecshr -rwsr-xr-x 2 root root 10384 Nov 25 04:50 /usr/lib/fis-gtm/V6.0-003_x86_64/gtmsecshr $ ls -ltrd $gtm_dist/gtmsecshrdir dr-x------ 2 root root 4096 Dec 19 15:51 /usr/lib/fis-gtm/V6.0-003_x86_64/gtmsecshrdir/ $ sudo ls -ltrd $gtm_dist/gtmsecshrdir/gtmsecshr -r-s------ 2 root root 383168 Nov 25 04:50 /usr/lib/fis-gtm/V6.0-003_x86_64/gtmsecshrdir/gtmsecshr The error leaves behind a "gtmhelp.dmp" file with some information. In particular the $ZSTATUS line shows an error: $ZSTATUS="150374122,gtmhelp+7^GTMHELP,%GTM-E-ZGBLDIRACC, Cannot access global directory /usr/lib/fis-gtm/V6.0-003_x86_64/gtmhelp.gld. Retaining .../$gtmgbldir.gld.,%SYSTEM-E-ENO2, No such file or directory" It appears that the help global directory files like gtmhelp.gld are not installed: $ ls $gtm_dist/*.gld ls: cannot access /usr/lib/fis-gtm/V6.0-003_x86_64/*.gld: No such file or directory I downloaded the package source and built with CMake by hand. The build tree does contain the global directory files and using zhelp works with gtm_dist pointing at the build tree. It does not work after "make install" with gtm_dist pointing at the install tree. The patch below installs the .gld files and makes zhelp work from the install tree. Do these files need to be installed from the build tree or should something else be creating them later? Thanks, -Brad $ git diff |cat diff --git a/CMakeLists.txt b/CMakeLists.txt index b200284..ee9f7b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -759,6 +759,7 @@ Halt") ) list(APPEND files_to_place ${help}help.dat) install(FILES ${GTM_BINARY_DIR}/${help}help.dat DESTINATION ${GTM_INSTALL_DIR}) + install(FILES ${GTM_BINARY_DIR}/${help}help.gld DESTINATION ${GTM_INSTALL_DIR}) endforeach() #----------------------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52b4995c.1040...@kitware.com