POV-Ray : Newsgroups : povray.macintosh : povray 3.6 on Snow Leopard / X11 : povray 3.6 on Snow Leopard / X11 Server Time
19 Apr 2024 19:27:04 EDT (-0400)
  povray 3.6 on Snow Leopard / X11  
From: lainal
Date: 14 Aug 2011 20:25:00
Message: <web.4e4865211f72b142975cc8f30@news.povray.org>
Gents,

For those interested in, I managed to compile povray 3.6 on Mac OS 10.8 since I
didn't found any working version on the Web (PPC distribution is hitting Rosetta
issues). Hereafter the way I went in 7 steps:
0 - Download the source code for Linux / Generic and unarchive
1 - hack all 3 "configure.ac" files to add "foreign" in the parameters of the
macro "AM_INIT_AUTOMAKE"  (some GNU distribution mandatory files are missing)
2 - create the configure script with autoreconf -i
3 - edit the top "configure" and add at the 1st active line the following:
      ac_cv_prog_egrep=/usr/bin/egrep
4 - Configure with:
      CFLAGS="-m32" CXXFLAGS="-m32" \
      ./configure COMPILED_BY="<your mail address>" --with-x
5 - make
6 - make install (possibly preceded by su)

I also compiled with X disabled without noticing performance differences, so
better keep it :-)

Example of run:
$ povray ~/Downloads/povray-3.6.1/scenes/advanced/landscape.pov
Persistence of Vision(tm) Ray Tracer Version 3.6.1 (g++ 4.2.1 @
 i686-apple-darwin10.8.0)
This is an unofficial version compiled by:
 dla### [at] yahoocom
 The POV-Ray Team(tm) is not responsible for supporting this version.
[...]
Peak memory used:           6299545 bytes
Total Scene Processing Times
  Parse Time:    0 hours  0 minutes  1 seconds (1 seconds)
  Photon Time:   0 hours  0 minutes  0 seconds (0 seconds)
  Render Time:   0 hours  0 minutes 15 seconds (15 seconds)
  Total Time:    0 hours  0 minutes 16 seconds (16 seconds)

Enjoy!

- Dominique


Post a reply to this message

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