POV-Ray / povray

The Persistence of Vision Raytracer (POV-Ray)
https://www.povray.org/
GNU Affero General Public License v3.0
1.37k stars 282 forks source link

No configure script present. #1

Closed IMBJR closed 10 years ago

IMBJR commented 11 years ago

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.

chris20 commented 11 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).

malenkiki commented 10 years ago

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
rkline1963 commented 10 years ago

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.

rkline1963 commented 10 years ago

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.

chris20 commented 10 years ago

Thanks for the feedback folks, it's appreciated. I will update the repo this weekend.

rkline1963 commented 10 years ago

all the installs got me through the configure script, but I'm getting several different boost library errors when I try to compile.

malenkiki commented 10 years ago

@rkline1963 With libboost-*1.49.0 is fine for me on Ubuntu.

chris20 commented 10 years ago

Thanks for the input. I have updated the README.md to reflect what I hope is the correct procedure.

c-lipka commented 10 years ago

the documentation has been amended with pull request #3; the boost library issues should be fixed by pull request #13.

KimSJ commented 10 years ago

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. :-)

raymoncada commented 10 years ago

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 " LIBS="-lboost_system -lboost_thread" http://askubuntu.com/questions/420100/pov-ray-installation-configure-error