[Radiance-general] NRL radiance-5.0.a.6-Darwin.dmg trad/tcl incomplete installation
Terrance McMinn
t.mcminn at iinet.net.au
Tue Oct 20 07:32:38 PDT 2015
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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20151020/73cda6e8/attachment.html>
More information about the Radiance-general
mailing list