Version.c corrupt?

Hi,

I cannot compile, and it seams that in the Version.c file everything but the variable content is gone...?

Today's head ( March 8th 2006).

CU Lars.

I cannot compile, and it seams that in the Version.c file everything but
the variable content is gone...?

I am still having the same problem with today's head when trying to
compile on Solaris with gcc. The file rt/Version.c contains only the
value, not the variable. char VersionID[]=" is simply missing. I am
editing the file by hand now, but this is a bug in Solaris builds.

CU Lars.

Hi Lars,

I don't have access to a Solaris system, so without any further hints, I haven't much hope of fixing the problem...

-G

···

From: "Lars O. Grobe" <[email protected]>
Date: April 15, 2007 2:41:34 PM PDT

I cannot compile, and it seams that in the Version.c file everything but
the variable content is gone...?

I am still having the same problem with today's head when trying to
compile on Solaris with gcc. The file rt/Version.c contains only the
value, not the variable. char VersionID[]=" is simply missing. I am
editing the file by hand now, but this is a bug in Solaris builds.

CU Lars.

On 15/04/07, 22:41:34, Lars "O." Grobe <[email protected]> wrote regarding Re:
[Radiance-dev] Version.c corrupt?:

I am still having the same problem with today's head when trying to
compile on Solaris with gcc. The file rt/Version.c contains only the
value, not the variable. char VersionID[]=" is simply missing. I am
editing the file by hand now, but this is a bug in Solaris builds.

$ cat src/rt/Version.c
/*
* This file was created automatically during make.
*/

char VersionID[]="RADIANCE 3.8 lastmod Monday April 16 09:26:50 BST 2007
by james on gyor";

$ uname -a
SunOS gyor 5.8 Generic_117350-38 sun4u sparc SUNW,Ultra-60

"today's head", whatever that really means, is the same as "yesterday's"
going by the file time stamps.

James.

Hm, that is really strange. I use the "makeall install" script, and add an CC=gcc to the Makefile. That is all I modified. Do you use GCC or Sun C? I am aware that just changing the compiler may break certain things. Maybe I have to workout in detail the settings required for compiling radiance on Solaris by GCC? Seams that the Version.c problem is the result of something else, will have a closer look at this tonight.

CU Lars.

On 16/04/07, 12:08:22, Lars "O." Grobe <[email protected]> wrote regarding Re:
[Radiance-dev] Version.c corrupt?:

Hm, that is really strange. I use the "makeall install" script, and add
an CC=gcc to the Makefile. That is all I modified. Do you use GCC or Sun
C?

Sun cc

$ cc -V
usage: cc [ options] files. Use 'cc -flags' for details

Maybe I have to workout in detail the settings required for compiling
radiance on Solaris by GCC? Seams that the Version.c problem is the
result of something else, will have a closer look at this tonight.

Version.c comes from simple scripting in the makefile and not the
compiler:

$ gzcat ${SRC}/radiance/radiance-HEAD.tgz | tar xf -
$ cd ray/src/rt
$ make -f Rmakefile Version.c
( cat VERSION ; date ; whoami ; hostname ) > Version.c
ed - Version.c < verscript.ed
$ cat Version.c
/*
* This file was created automatically during make.
*/

char VersionID[]="RADIANCE 3.8 lastmod Monday April 16 12:17:48 BST 2007
by james on gyor";

James.

···

cc: Sun C 5.8 Patch 121015-04 2007/01/10

Hi,

I just experienced again that strange problem with Version.c from latest
head. How is the content of this file actually generated? Mine contains
the string content after running makeall install, but not the c-code
around. I manually solved the problem by wrappin the string. Still I
wonder why this is needed. Happened on a Debian 6.0.5 system today.

Cheers, Lars.

Hi Lars,

In the legacy build system, Version.c is built by make using "verscript.ed" called by Rmakefile. I don't know how it's supposed to be built in the cmake system. Do you have a working copy of the "ed" editor on Debian?

Cheers,
-Greg

P.S. I am leaving this morning for a week of camping, where I won't be able to get to e-mail.

···

From: "Lars O. Grobe" <[email protected]>
Date: July 2, 2012 5:05:12 AM PDT

Hi,

I just experienced again that strange problem with Version.c from latest
head. How is the content of this file actually generated? Mine contains
the string content after running makeall install, but not the c-code
around. I manually solved the problem by wrappin the string. Still I
wonder why this is needed. Happened on a Debian 6.0.5 system today.

Cheers, Lars.

Hi Lars,

What is the issue you're having, exactly? AFAIK the CMake build system is
working fine at this point.

Rob Guglielmetti IESNA, LEED AP
Commercial Buildings Research Group
National Renewable Energy Laboratory
15013 Denver West Parkway MS:RSF202
Golden, CO 80401
303.275.4319
[email protected]

···

On 7/2/12 9:18 AM, "Gregory J. Ward" <[email protected]> wrote:

Hi Lars,

In the legacy build system, Version.c is built by make using
"verscript.ed" called by Rmakefile. I don't know how it's supposed to be
built in the cmake system. Do you have a working copy of the "ed" editor
on Debian?

Cheers,
-Greg

P.S. I am leaving this morning for a week of camping, where I won't be
able to get to e-mail.

From: "Lars O. Grobe" <[email protected]>
Date: July 2, 2012 5:05:12 AM PDT

Hi,

I just experienced again that strange problem with Version.c from latest
head. How is the content of this file actually generated? Mine contains
the string content after running makeall install, but not the c-code
around. I manually solved the problem by wrappin the string. Still I
wonder why this is needed. Happened on a Debian 6.0.5 system today.

Cheers, Lars.

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