POV-Ray : Newsgroups : povray.general : GFI : Re: Compiling 3.1e for UNIX (Was: GFI) Server Time
12 Aug 2024 05:20:01 EDT (-0400)
  Re: Compiling 3.1e for UNIX (Was: GFI)  
From: Thomas Willhalm
Date: 29 Mar 1999 11:05:19
Message: <qqmlngg1dtt.fsf@goldach.fmi.uni-konstanz.de>
Nieminen Mika <war### [at] cctutfi> writes:

>   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.

The same is true for me.


>   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.

Are you sure that this was the problem? I use "-c" and "-o" together 
without any problems. In particular, I didn't have to change the lines. 
Perhaps you've had some LF/CR problems due to incorrect unpacking. 

Thomas

-- 
http://www.fmi.uni-konstanz.de/~willhalm


Post a reply to this message

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