POV-Ray : Newsgroups : povray.beta-test : povray 3.7 beta25b on Solaris with SunStudio Server Time
27 Dec 2024 02:04:52 EST (-0500)
  povray 3.7 beta25b on Solaris with SunStudio (Message 1 to 1 of 1)  
From: seanmcg
Subject: povray 3.7 beta25b on Solaris with SunStudio
Date: 24 Mar 2008 08:30:02
Message: <web.47e7abdfb582dec03803aa600@news.povray.org>
Hi folks, first time poster :)

I was able to get povray3.7 compiled and running with very minimal changes.
Using the SunStudio Express February 2008 build, got boost and povray compiled.

Used this configure line:

CXXFLAGS="-mt -D__FUNCTION__=NULL -D_POSIX_PTHREAD_SEMANTICS -library=stlport4"
CC=cc CXX=CC ./configure COMPILED_BY="XXXXXX"
--with-boost-thread=boost_thread-sw-mt NON_REDISTRIBUTABLE_BUILD=yes
--with-boost=/usr/local/boost_1_34_1 --prefix=/usr/local/povray-3.7.0.b25b

I've '-D__FUNCTION__=NULL' there since I wasn't yet able to convince the compile
to use __FUNCTION__ instead of the usual (with sun compilers) __func__.

Only three source code changes, two of which were to include a header file.
First change was to the error handling bits in vfe/unix/unixoptions.cpp. Didn't
like not having the var no_error_call and the function Error undeclared.  There
isa TODO comment to fix the error handling there though.

The other two files; vfe/vfeconf.h and vfe/vfecontrol.cpp had the header files
stdio.h and string.h included respectively.

Other than that theres a bunch of warnings like:
"../../source/base/povms.h", line 231: Warning: Identifier expected instead of
"}".
"../../source/base/povmsgid.h", line 232: Warning: Identifier expected instead
of "}".
"../../source/base/povmsgid.h", line 244: Warning: Identifier expected instead
of "}".
"../../source/base/povmsgid.h", line 311: Warning: Identifier expected instead
of "}".
"../../source/backend/frame.h", line 1550: Warning: v hides
pov::Intersection::v.
"../../source/backend/frame.h", line 1562: Warning: v hides
pov::Intersection::v.
"../../source/backend/frame.h", line 1573: Warning: v hides
pov::Intersection::v.
..
..
..

From previous experience compiling the 3.6.1 code base on Solaris, this 3.7 beta
was a breeze. Thanks folks for releasing it.  Hope this info is helpful.
Off to find a large cpu box to play with.

btw, is it ok to blog about the code changes, and have a patch there ? Am unsure
of the code restrictions regarding povray.


Post a reply to this message

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