Dear users,
I know this question is not directly linked to using Radiance/ESP-r but more in installing and making the programmes work as standalone and in coupling. Therefore I hope this is the right forum to post such a question
I am using Ubuntu v. 8.10.
I have downloaded and installed Radiance and ESP-r. Both programmes seems to work but there might be missing some libaries to Ubuntu. In order to make the coupling between ESP-r and Radiance, Gendaylit needs to be installed. I have done so by changing the makefile in the Gendaylit package to:
CCOPTS= -g
#CCOPTS= -Ae -g # HPUX
CC=gcc
#CC=cc
and issued the command 'make'. I have copied the file 'Gendaylit' to '/opt/radiance/bin' and 'coeff_perez.dat', 'defangle.dat' and 'perezlum.cal' to '/opt/radiance/lib'
To test the Gendaylit file one can issue 'make skyview'. I have done so both as root and as PHA and I get the following errors:
oconv -f sky.rad outside.rad > sky.oct
/bin/sh: oconv: not found
make: *** [skyview] Error 127
or
oconv -f sky.rad outside.rad > sky.oct
/bin/sh: cannot create sky.oct: Permission denied
make: *** [skyview] Error 2
I must also say that I have added the following to both '.profile'-files in '/home/pha' and in '/root'
#Set PATH for ESP-r and Radiance
RAYPATH= .:/lib:/opt/radiance/lib:/opt/radiance/bin
PATH=$PATH:/opt/esru/bin:/opt/esru/esp-r/bin:/opt/radiance/lib:/opt/radiance/bin
export PATH RAYPATH
unset USERNAME
I suspect that there is something wrong with '/bin/sh' which is listed in Ubuntu 8.10 as symlink 'sh -> dash' and 'sh.distrib -> bash'.
I am afried to make any changes to the linux destribution because I am not that familiar with linux.
Can anybody spot a solution to my problem?
Any help is appresiated.
Best regards
Per Haugaard
路路路
______________________
Per Haugaard,
Griffenfeldsgade 33, 2.tv
2200 K酶benhavn N
Denmark
mobil: +45 26 39 06 40
E-mail: perhaugaard@yahoo.dk
聽聽聽聽聽聽Tr忙nger du til at se det store billede? Kelkoo giver dig gode tilbud p氓 LCD TV! Se her http://dk.yahoo.com/r/pat/lcd