POV-Ray : Newsgroups : povray.general : GFI : Compiling 3.1e for UNIX (Was: GFI) Server Time
12 Aug 2024 05:31:26 EDT (-0400)
  Compiling 3.1e for UNIX (Was: GFI)  
From: Nieminen Mika
Date: 26 Mar 1999 11:17:06
Message: <36fbb302.0@news.povray.org>
I just compiled the brand new povray 3.1e on this SparcStation 5 with
SunOS and it seems to work fine.
  However, I had some problems with the makefile:

  1. The line:

X11 = /usr/openwin

had extra whitespaces at the end causing problems with the compilation.
This was caused because the line:

XLIBINC = -I$(X11)/include

expanded to "-I/usr/openwin     /include" instead of "-I/usr/openwin/include".
  Removing the spaces fixed the problem.

  2. The CFLAGS variable has the flag '-c' as it should but the compilation
is made this way:

$(ODIR)/atmosph$(OBJ)  : $(atmosphDEP)
	$(CC) $(CFLAGS) $(SRCDIR)/atmosph.c -o $@

  The gcc compiler (egcs-2.91.60) does not allow specifying both '-c' and
'-o' flags. Removing all the "-o $@" at the end of those lines fixed the
problem.

  Besides that, it seems to work fine.

  Some system information about this computer:

% uname -a
SunOS vuoritiainen 5.5.1 Generic_103640-24 sun4m sparc SUNW,SPARCstation-5
% gcc -v
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.