Installation problems

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 ..

Hi Lucio,

It looks like the server does not have the c development libraries installed since you are getting compile errors relating to fundamental things like stdio.h. You should run the package manager and check if the c libraries are installed.

-Jack

[email protected] wrote:

···

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 ..

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Thank you very much for the fast reply Jack! That's probable.. but..

How to know which libraries to look for and install ?

Lucio

.Hi Lucio,
.
.It looks like the server does not have the c development libraries
.installed since you are getting compile errors relating to fundamental
.things like stdio.h. You should run the package manager and check if the
.c libraries are installed.
.
.-Jack
.

···

[email protected] wrote:
.> 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 ..
.>
.>
.> _______________________________________________
.> Radiance-general mailing list
.> [email protected]
.> http://www.radiance-online.org/mailman/listinfo/radiance-general
.>
.>
.
.--
.# Jack de Valpine
.# president
.#
.# visarc incorporated
.# http://www.visarc.com
.#
.# channeling technology for superior design and construction
.
.
._______________________________________________
.Radiance-general mailing list
[email protected]
.http://www.radiance-online.org/mailman/listinfo/radiance-general
.

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

Installing some random libraries, looks like something has changed, but still errors:

the firs error lines are now:

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 rtio.h:9,
                 from standard.h:10,
                 from cone.c:10:
/usr/include/stdio.h:686: error: conflicting types for ‘fseek’
/usr/include/stdio.h:654: error: previous declaration of ‘fseek’ was here
make: *** [cone.o] Error 1

before were :

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

What's happening now ?

Lucio

.Hi Lucio,
.
.It looks like the server does not have the c development libraries
.installed since you are getting compile errors relating to fundamental
.things like stdio.h. You should run the package manager and check if the
.c libraries are installed.
.
.-Jack
.

···

[email protected] wrote:
.> 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 ..
.>
.>
.> _______________________________________________
.> Radiance-general mailing list
.> [email protected]
.> http://www.radiance-online.org/mailman/listinfo/radiance-general
.>
.>
.
.--
.# Jack de Valpine
.# president
.#
.# visarc incorporated
.# http://www.visarc.com
.#
.# channeling technology for superior design and construction
.
.
._______________________________________________
.Radiance-general mailing list
[email protected]
.http://www.radiance-online.org/mailman/listinfo/radiance-general
.

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

Hi Lucio,

If the machine is not yours to do with as you please, I would suggest contacting your system administrator.

Under ubuntu you can use the package manager. You can search for libc6 and libc6-dev to see if they are installed. Alternatively you could just download compiled binaries and see if they work.

Alternatively, you can check for compiled binaries at

     www.radiance-online.org

additionally it looks like there is a radiance package available for the latest Ubuntu (I assume via the recent efforts to include radiance in Debian by Bernd Zeimetz) at:

    http://packages.ubuntu.com/hardy/graphics/radiance

-Jack

[email protected] wrote:

···

Thank you very much for the fast reply Jack! That's probable.. but..

How to know which libraries to look for and install ?

Lucio

.Hi Lucio,
.
.It looks like the server does not have the c development libraries .installed since you are getting compile errors relating to fundamental .things like stdio.h. You should run the package manager and check if the .c libraries are installed.
.
.-Jack
.
[email protected] wrote:
.> 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 .. .>
.>
.> _______________________________________________
.> Radiance-general mailing list
.> [email protected]
.> http://www.radiance-online.org/mailman/listinfo/radiance-general
.>
.> .
.-- .# Jack de Valpine
.# president
.#
.# visarc incorporated
.# http://www.visarc.com
.#
.# channeling technology for superior design and construction
.
._______________________________________________
.Radiance-general mailing list
[email protected]
.http://www.radiance-online.org/mailman/listinfo/radiance-general
.

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

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Did you make an "makeall clean" after installing the libs?

Lars.

Dear RADIANCE-specialists,

after downloading the source codes (rad4R0all.tar.gz) from the original
LBNL-website we unpacked the files und ran the install script by the command
./makeall install. But something must have gone wrong, because after the
installation we are missing some important moduls (e.g. pfilt, ximage,
ta_tiff, etc.), see attached output of the install-script.

Can us anyone tell what´s going wrong during installation ?

Regards,
Gunter

makeall_install_20100615T1358.out (75 KB)

···

--
Dr. Gunter Pültz

Müller-BBM GmbH
Robert-Koch-Straße 11
82152 Planegg
Telefon +49(89)85602-336
Telefax +49(89)85602-111
E-Mail [email protected]
http://www.MuellerBBM.de

HRB München 86143
Geschäftsführer: Bernd Grözinger, Dr. Edwin Schorer, Norbert Suritsch

Hi Gunter,

The usual reason that the binaries from the src/px directory fail to install is because the TIFF library isn't building properly. Unfortunately, there are many reasons why this might happen, and debugging it is beyond my abilities. You'll just have to remove ra_tiff and normtiff from the PROGS= list in src/px/Rmakefile and rerun "rmake install" there.

Cheers,
-Greg

···

From: "Pueltz, Gunter" <[email protected]>
Date: June 16, 2010 12:08:22 AM PDT

Dear RADIANCE-specialists,

after downloading the source codes (rad4R0all.tar.gz) from the original
LBNL-website we unpacked the files und ran the install script by the command
./makeall install. But something must have gone wrong, because after the
installation we are missing some important moduls (e.g. pfilt, ximage,
ta_tiff, etc.), see attached output of the install-script.

Can us anyone tell what´s going wrong during installation ?

Regards,
Gunter

--
Dr. Gunter Pültz