Hello Greg,

Yes, about ed, I was getting the following error:

gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64
-L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO   -c -o pmaptype.o pmaptype.c
( cat VERSION ; date ; whoami ; hostname ) > Version.c
ed - Version.c < verscript.ed
/bin/sh: ed: command not found
make: *** [Version.c] Error 127
gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64
-L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO   -c -o rpmain.o rpmain.c


So I installed ed and that error got replaced by a third instance of the
following:

*Version.c:1:10:* *error: *expected '*=*', '*,*', '*;*', '*asm*' or '
*__attribute__*' before numeric constant

 RADIANCE 5.0

*          ^*

*Version.c:4:1:* *error: *invalid suffix "f0749328ec2" on integer constant

 6f0749328ec2

* ^*

make: *** [Version.o] Error 1


I had stopped posting to github, but I saw the same error I was
encountering, and I saw that it had been closed 3 days ago, so I thought it
could be useful to post anyway.

Thanks,

Philip


On 5 April 2018 at 16:44, Gregory J. Ward <gregoryjw...@gmail.com> wrote:

> It seems like your Linux (and some others?) don't include the standard
> "ed" editor or any equivalent.  Can you install it?
>
> This script could probably be converted easily enough to 'sed' or Perl,
> but this is the first I've heard of the problem.
>
> Reporting errors on NREL's github is currently like telling your problems
> to a congressman, or a black hole.  We're looking to fix that, but no one
> gets notified of those posts at the moment.
>
> -Greg
>
> *From: *Philip Schwarz <philip.johann.schw...@googlemail.com>
>
> *Date: *April 5, 2018 8:35:45 AM PDT
>
>
> by the way, someone has run into this problem in the past:
> https://github.com/NREL/Radiance/issues/17
>
> Philip
>
> On 5 April 2018 at 16:34, Philip Schwarz <philip.johann.schwarz@
> googlemail.com> wrote:
>
>> Hello,
>>
>> when I run 'makeall install' against release 5.0 of Radiance (
>> https://github.com/NREL/Radiance/releases/tag/5.0),
>> file src/rt/Version.c is automatically generated, with the following
>> contents:
>>
>> RADIANCE 5.0
>>
>> Thu Apr  5 13:38:59 UTC 2018
>>
>> root
>>
>> 6f0749328ec2
>>
>>
>> Version.c does not compile. It causes the 3 very similar compilation
>> errors at the bottom of this email. The problem seems to be the dot in
>> '5.0'.
>>
>> Btw, there is a file called Verscrit.ed which seems to relate to the
>> content of Version.c, and which contains the following:
>>
>>
>> 1s/^/char VersionID[]="/
>>
>> 2s/^/ lastmod /
>>
>> 3s/^/ by /
>>
>> 4s/^/ on /
>>
>> 1,$j
>>
>> 1s/$/";/
>>
>> 1i
>>
>> /*
>>
>>  * This file was created automatically during make.
>>
>>  */
>>
>>
>> .
>>
>> w
>>
>> q
>>
>>
>> Is there something sort-term that I can do to prevent this from
>> happening?
>>
>> If not, is it the case that this is just a minor error that can be
>> ignored and doesn't prevent Radiance from being correctly installed and
>> ready for use?
>>
>> Thanks,
>>
>> Philip Schwarz
>>
>> === ERRORS ===========================================================
>>
>> gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64
>> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO   -c -o pmaptype.o
>> pmaptype.c
>>
>> gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64
>> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO   -c -o Version.o
>> Version.c
>>
>> *Version.c:1:10:* *error: *expected '*=*', '*,*', '*;*', '*asm*' or '
>> *__attribute__*' before numeric constant
>>
>>  RADIANCE 5.0
>>
>> *          ^*
>>
>> *Version.c:4:1:* *error: *invalid suffix "f0749328ec2" on integer
>> constant
>>
>>  6f0749328ec2
>>
>> * ^*
>>
>> make: *** [Version.o] Error 1
>>
>> gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64
>> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO   -c -o rpmain.o rpmain.c
>>
>>
>> =================================================================
>>
>>
>> gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64
>> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO
>> -DDEVPATH=\"/home/radiance/bin\"   -c -o viewbeams.o viewbeams.c
>>
>> cp ../rt/Version.c .
>>
>> gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64
>> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO
>> -DDEVPATH=\"/home/radiance/bin\"   -c -o Version.o Version.c
>>
>> *Version.c:1:10:* *error: *expected '*=*', '*,*', '*;*', '*asm*' or '
>> *__attribute__*' before numeric constant
>>
>>  RADIANCE 5.0
>>
>> *          ^*
>>
>> *Version.c:4:1:* *error: *invalid suffix "f0749328ec2" on integer
>> constant
>>
>>  6f0749328ec2
>>
>> * ^*
>>
>> make: *** [Version.o] Error 1
>>
>>
>> =================================================================
>>
>>
>> gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64
>> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO   -c -o rpiece.o rpiece.c
>>
>> cp ../rt/Version.c .
>>
>> gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64
>> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO   -c -o Version.o
>> Version.c
>>
>> *Version.c:1:10:* *error: *expected '*=*', '*,*', '*;*', '*asm*' or '
>> *__attribute__*' before numeric constant
>>
>>  RADIANCE 5.0
>>
>> *          ^*
>>
>> *Version.c:4:1:* *error: *invalid suffix "f0749328ec2" on integer
>> constant
>>
>>  6f0749328ec2
>>
>> * ^*
>>
>> make: *** [Version.o] Error 1
>>
>> ===============================================================
>>
>>
> _______________________________________________
> Radiance-dev mailing list
> Radiance-dev@radiance-online.org
> https://www.radiance-online.org/mailman/listinfo/radiance-dev
>
>
> _______________________________________________
> Radiance-dev mailing list
> Radiance-dev@radiance-online.org
> https://www.radiance-online.org/mailman/listinfo/radiance-dev
>
>
_______________________________________________
Radiance-dev mailing list
Radiance-dev@radiance-online.org
https://www.radiance-online.org/mailman/listinfo/radiance-dev

Reply via email to