[Radiance-general] Upgrading to R4: "There were some errors."

Thomas Bleicher tbleicher at googlemail.com
Tue May 11 08:04:35 PDT 2010


Hi there.

One thing I could see in this shortened output:

rhd_x11.c:11:23: error: X11/Xlib.h: No such file or directory
rhd_x11.c:12:29: error: X11/cursorfont.h: No such file or directory
rhd_x11.c:13:24: error: X11/Xutil.h: No such file or directory

You don't have the X11 development package installed. Search for a
package like "X11-dev" or similar and install that.

On Tue, May 11, 2010 at 3:48 PM, Cramer Silkworth
<silkworth at transsolar.com> wrote:
> Hi All,
>
> I just attempted to upgrade my existing R3.9 installation on Ubuntu 9.10 to
> R4. I did:
> sudo ./makeall install clean per the readme file (actually the readme
> doesn't mention sudo but a couple steps in i realized i needed it).

You should probably do a
sudo ./makeall clean
sudo ./makeall install

After that you can add another "makeall clean" to remove files from
the process. Unfortunately the makefile doesn't have a 'build' target,
so you could restrict the sudo to just the installation step.

> Lots of
> scary things flashed by, and i caught various warnings going by.

Use the following to capture the output into a file:

sudo ./makeall install | tee build.log

That will copy all the output to "build.log" and you can inspect it
later in detail.

> It then
> stopped with "There were some errors." So I tried an rtrace job that I know
> runs on 3.9, and it still runs. But when I add the -n option (-n 2 or -n 4,
> for example), it crashes with a fatal error: command line error at -n. (It's
> a four core machine with 4gb ram)

Have you checked that you are actually running the new 4.0 version?

rtrace -version


Regards,
Thomas



More information about the Radiance-general mailing list