[Radiance-general] Installation problems

loscotec at libero.it loscotec at libero.it
Tue Jan 15 05:51:37 PST 2008


I don't know what is happening.. could someone help me?

Some time ago, I installed radiance on my pc at home . after troubling a little 'couse of inexperience, I managed doing it, don't remember what did I do to solve it, but as I did not write down anything it should have been novice's things!

Now I'm trying to install it in my laboratory at university.. still in ubuntu.. but something again is not working

so, from the right directory (/home/administrator/Scrivania/ray) I'm launching "sudo ./makeall install" and the result is an huge anount of errors.. beginning with :

Current rmake command is:
#!/bin/sh
exec make "SPECIAL=" \
        "OPT=-O2" \
        "MACH=-Dlinux -D_FILE_OFFSET_BITS=64 -Dfseeko=fseek -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO" \
        ARCH=IBMPC "COMPAT=erf.o" \
        INSTDIR=/usr/local/bin \
        LIBDIR=/usr/local/lib/ray \
        ESUFFIX= \
        CC=gcc "$@" -f Rmakefile
Do you want to change it? 
Making programs...
~/Scrivania/ray/src/common ~/Scrivania/ray/src 
In directory common...
gcc -Dlinux -D_FILE_OFFSET_BITS=64 -Dfseeko=fseek -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -O2   -c -o cone.o cone.c
In file included from standard.h:10,
                 from cone.c:10:
rtio.h:9:20: error: stdio.h: Nessun file o directory
rtio.h:10:24: error: sys/types.h: Nessun file o directory
rtio.h:11:20: error: fcntl.h: Nessun file o directory
rtio.h:12:21: error: string.h: Nessun file o directory
In file included from standard.h:10,
                 from cone.c:10:
rtio.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fdate’
rtio.h:25: error: expected declaration specifiers or ‘...’ before ‘FILE’
rtio.h:27: error: expected ‘)’ before ‘*’ token


and ending after an huge  number of lines with : 
histo.c:148: error: ‘stderr’ undeclared (first use in this function)
histo.c:157: warning: incompatible implicit declaration of built-in function ‘exit’
histo.c:159: warning: incompatible implicit declaration of built-in function ‘fprintf’
make: *** [histo.o] Error 1
make: Target `install' not remade because of errors.
~/Scrivania/ray/src 
There were some errors.


Any idea on how to solve this problem  ?


thank you in advance !!! 

Lucio Boscolo 

.. Caminante no hay camino, solo se hace camino al andar .. 




More information about the Radiance-general mailing list