Closed IMBJR closed 10 years ago
The configure script is built by running prebuild.sh within the unix directory. I will see about whether or not we should include the generated configure script in the source repository (I suspect we will but I will have to run it past the unix folks).
Perhaps the doc must include new sentence which explains the use of prebuild.sh
.
So, in short:
% cd unix/
% ./prebuild.sh
% cd ../
% ./configure COMPILED_BY="your name <email@address>"
% make
and then
% su
$ make install
or
% sudo make install
I agree with malenkiki's comment minus the perhaps. Please include instructions to compile the program that actually work instead of instructions to use a nonexistent configure script in the README. I was trying to use autoconf on the unix/configure.ac which doesn't work until I went back to the github page and saw the open issue. I've been using POVRay on linux since the 1990s and it usually has been pretty easy to compile.
Noting the dependencies (for example autoconf, g++) would also be useful.
You can add to the list of dependencies: libboost-dev zlib1g-dev libpng12-dev libjpeg8-dev libtiff5-dev
This is what I needed to install on a machine running a 64 bit version of Linux Mint 14. I suspect these packages would need to be added for Ubuntu or most Ubuntu-derivative distributions since Ubuntu does not install the -dev packages needed to compile things by default. I have another machine running Crunchbang a Debian derivative. When I get the chance, I'll compile POVRay 3.7 on it and see if there are any significant differences in the packages required.
Thanks for the feedback folks, it's appreciated. I will update the repo this weekend.
all the installs got me through the configure script, but I'm getting several different boost library errors when I try to compile.
@rkline1963 With libboost-*1.49.0 is fine for me on Ubuntu.
Thanks for the input. I have updated the README.md to reflect what I hope is the correct procedure.
the documentation has been amended with pull request #3; the boost library issues should be fixed by pull request #13.
Would it be a good idea to move the "Dependencies" section above the "Generating configure and building the code" section? A more logical workflow, I think. :-)
if you come across ""cannot link with the boost thread library"
the line below should fix it. Not sure what it does but it make my ./configuration run.
"./configure COMPILED_BY="name
Cloned the source and discovered that although the readme files mention running the configure script to specify the name and e-mail of the builder, no such script is present. Only the configure script for the libraries are present.