POV-Ray : Newsgroups : povray.unix : Problem compiling 3.6 under Solaris6 : Problem compiling 3.6 under Solaris6 Server Time
3 Jul 2024 04:29:36 EDT (-0400)
  Problem compiling 3.6 under Solaris6  
From: destroyedlolo
Date: 21 Jul 2004 10:56:36
Message: <40FE91BD.5030509@yahoo.com>
Hi all,

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).
Well, unfortunaly, I got the same errors as with test tarball about X
definition.


g++ -DHAVE_CONFIG_H -DPOVLIBDIR=\"/usr/local/share/povray-3.6\"
-DPOVCONFDIR=\"/usr/local/etc/povray/3.6\"
-DPOVCONFDIR_BACKWARD=\"/usr/local/etc\" -I. -I. -I..  -I.. -I../source
-I../source/base -I../source/frontend -I../source -I../libraries/zlib
-I../libraries/png -I../libraries/tiff/libtiff
-I../libraries/tiff/libtiff  -I/usr/openwin/include   -pipe
-Wno-multichar -O3  -c -o xwin.o `test -f 'xwin.cpp' || echo './'`xwin.cpp
In file included from xwin.cpp:122:
/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
[...]

Does it mean I have to recompile it using the old GCC 2.95 ? (the
optimiser it worst than current one).
Or does it mean I have to remove X support ?

Thanks for your help.

Lolo


Post a reply to this message

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