Yes, thanks for supplying the stdout. Greg is right, you need 'ed' as the 
script is written, easy to sub for some other stream editor. And I am starting 
to monitor the GitHub issues page more regularly, as people do seem to be using 
it, but as I and Greg have noted here and elsewhere Philip, it's not really the 
primary spot for posting these kinds of issues. 

- Rob

On 4/5/18, 9:44 AM, "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 
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNREL%2FRadiance%2Fissues%2F17&data=02%7C01%7Crobert.guglielmetti%40nrel.gov%7Ca07c0b91b757429ad53008d59b0c2405%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C636585398817451153&sdata=JEmWYfkHTuDUd7XpyDwTfeAOuA9pd%2FGjFiPeuYdBhaU%3D&reserved=0>
    
    Philip
    
    
    On 5 April 2018 at 16:34, Philip Schwarz 
    <philip.johann.schw...@googlemail.com> wrote:
    
    Hello,
    
    
    when I run 'makeall install' against release 5.0 of Radiance 
(https://github.com/NREL/Radiance/releases/tag/5.0 
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNREL%2FRadiance%2Freleases%2Ftag%2F5.0&data=02%7C01%7Crobert.guglielmetti%40nrel.gov%7Ca07c0b91b757429ad53008d59b0c2405%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C636585398817451153&sdata=Z5nWhR8WKAlgVlQZMZRJoxT0LstyicFv4xrnug1iRYw%3D&reserved=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

Reply via email to