[Radiance-general] NRL radiance-5.0.a.6-Darwin.dmg trad/tcl incomplete installation
Guglielmetti, Robert
Robert.Guglielmetti at nrel.gov
Tue Oct 20 08:14:26 PDT 2015
Cross-posting (and we should move the discussion to) dev...
Thanks Terrance! Looks like I have some more files to include in the CMake files, so our packages work correctly, thanks for the catches. As for item (1), it seems like the right move there is to have Greg change the shebang line to call "wish", and place the onus on the users to have a symlink for wish that points to whatever they have on their systems.
Let's sort it out on dev when we have time. Thanks again for the heads up.
- Rob
On 10/20/15, 8:32 AM, "Terrance McMinn" <t.mcminn at iinet.net.au<mailto:t.mcminn at iinet.net.au>> wrote:
Must report that "trad" does not run as installed by the radiance-5.0.a.6-Darwin.dmg OSX installer.
Issues:
1. $ -bash: /usr/local/radiance/bin/trad: /usr/local/bin/wish8.0: bad interpreter: No such file or directory
Fixed by sudo vi /usr/local/radiance/bin/trad and change the first line to "#!/usr/local/bin/wish8.5" as that is what is installed on my system.
2. Error in startup script: invalid command name "helplink"
while executing
"helplink .mess trad trad messages"
(file "/usr/local/radiance/bin/trad" line 104)
Fixed by:
a) downloading the source code (https://github.com/NREL/Radiance/releases)
b) create folder with " sudo mkdir /usr/local/radiance/lib/tcl"
c) copy files from the source tree to the new folder
cd /usr/local/radiance/lib/tcl
sudo cp ~/Desktop/Radiance-5.0.a.6/src/util/*.tcl .
sudo cp ~/Desktop/Radiance-5.0.a.6/src/util/*.hlp .
sudo cp ~/Desktop/Radiance-5.0.a.6/src/util/*.icon .
sudo cp ~/Desktop/Radiance-5.0.a.6/src/util/tcl* .
This put the following file in the new folder:
do_action.tcl do_results.tcl do_zone.tcl gethelp.tcl trad.hlp
do_file.tcl do_scene.tcl file.hlp help.hlp trad.icon
do_options.tcl do_views.tcl getfile.tcl tclIndex util.tcl
d) sudo vi /usr/local/radiance/bin/trad
change "/usr/local/radiance/bin/trad" to "set radlib /usr/local/radiance/lib/tcl"
--
Regards
Terrance McMinn
More information about the Radiance-general
mailing list