1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
Building POV-Ray 3.7 for GNU/Linux and similar systems
======================================================
This distribution contains the complete source code of POV-Ray for UNIX
as well as its accompanying HTML documentation and supporting files. In
order to build the distribution supplied in the POV-Ray github repo, you
will need to run a pre-build step. This generates the configure script
and does a few other things usually performed by our developers prior to
releasing a source package.
Should you run into problems, please consult `unix/install.txt` for more
in-depth installation mojo.
NB if you have improvements to the below instructions, please add a comment
to issue #1, or (if you are working in a branch) send us a pull request.
Dependencies
============
By default POV-Ray will attempt to build using system-supplied libraries for
boost, zlib, libpng, libjpeg, libtiff, and openexr. We recommend you have the
following packages pre-installed:
libboost-dev
libboost-date-time-dev
libboost-thread-dev
zlib1g-dev
libpng12-dev
libjpeg8-dev
libtiff5-dev
libopenexr-dev
Generating configure and building the code
==========================================
% cd unix/
% ./prebuild.sh
% cd ../
% ./configure COMPILED_BY="your name <email@address>"
% make
Note that the prebuild step will generate a few warnings as it still looks
for some files no longer included in v3.7. This is harmless.
Installing
==========
% make install
This above installs POV-Ray under system-wide directories and needs root privileges.
Installing as non-privileged user is also possible. By default (i.e. as root), 'make
install' installs the following components:
povray binary (executable) in /usr/local/bin
data files (e.g. includes, scene files) in /usr/local/share/povray-3.7
documentation (text and html) in /usr/local/share/doc/povray-3.7
configuration files (e.g. povray.conf) in /usr/local/etc/povray/3.7
The configuration files are also copied under the $HOME/.povray/3.7 directory
of the user (or root) who is doing the installation.
Please see [unix/install.txt](install.txt) for more details about available
configuration options etc.
|