POV-Ray : Newsgroups : povray.unix : Problem compiling 3.6 under Solaris6 : Re: Problem compiling 3.6 under Solaris6 Server Time
3 Jul 2024 04:48:20 EDT (-0400)
  Re: Problem compiling 3.6 under Solaris6  
From: Warp
Date: 21 Jul 2004 11:07:33
Message: <40fe86b5@news.povray.org>
destroyedlolo <l_f### [at] yahoocom> wrote:
> I got 3.6 tarball from povray site and it seems it's the final release
> and I saw someone succeed to compile it under solaris 8 ("Sparc Solaris
> 8 with GCC 2.95.3 (g++2 2.95.3 @ sparc-sun-solaris2.8" in INSTALL file).

  For some unknown reason gcc 3.x produces a binary which crashes on
rendering. gcc 2.x produces a working binary.

> /usr/openwin/include/X11/Xlib.h:2099: ISO C++ forbids declaration of
>      `XSetTransientForHint' with no type
> /usr/openwin/include/X11/Xlib.h:2107: ISO C++ forbids declaration of
>      `XActivateScreenSaver' with no type

  I don't get that error. Can you tell me the version of the OS and gcc
you are using?

> Does it mean I have to recompile it using the old GCC 2.95 ? (the
> optimiser it worst than current one).

  gcc 3.x does not produce faster binaries in a sparc-solaris system
than gcc 2.x (seemingly their optimization efforts have been put into
the PC side alone).
  Just try compiling with gcc 2.

> Or does it mean I have to remove X support ?

  It works ok here.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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