|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
how can I (for testing purposes mainly) compile Povray "stand alone" that
is, as a user (not root), in local directory (not some /bin/) etc?
TO have it working just i.e. small C++ program, I just write
g++ a.cpp -o a.run
and then I use program by
./run
and thats all. How to do same for povray?
--
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <Xns94DCA97D52895raf256com@203.29.75.35>, "Rafal 'Raf256' Maj"
<spa### [at] raf256com> wrote:
> how can I (for testing purposes mainly) compile Povray "stand alone" that
> is, as a user (not root), in local directory (not some /bin/) etc?
>
> TO have it working just i.e. small C++ program, I just write
> g++ a.cpp -o a.run
> and then I use program by
> ./run
>
> and thats all. How to do same for povray?
Well, a good hint should be that if you don't know, you are probably not up
to it! In particular because hardly any package you can get as source is
not compiled with the usual "./configure" script and "make" command
sequence. And this is no different for POV-Ray...
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
tho### [at] trfde news:4093c531@news.povray.org
> source is not compiled with the usual "./configure" script and "make"
> command sequence. And this is no different for POV-Ray...
I run ./configure and ./make and modyfie src/optout.h
meke finished without errors (meany warnings btw., wouldnt it be a good
idea to add (int)x syntax to prevent meany double to int cast
warnings?)
But where is resulting executable file? I build as a user, not root.
I know I can do make install ofcourse, but I want to just create povray
executable for one user, not install it as global program in entire
system.
And next question - what should I do to recompile after changing sources,
make will automaticly recompile only need files right?
--
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
news:Xns94DCC9E66EEDDraf256com@203.29.75.35...
> tho### [at] trfde news:4093c531@news.povray.org
>
>
> > source is not compiled with the usual "./configure" script and "make"
> > command sequence. And this is no different for POV-Ray...
>
> I run ./configure and ./make and modyfie src/optout.h
> meke finished without errors (meany warnings btw., wouldnt it be a good
> idea to add (int)x syntax to prevent meany double to int cast
> warnings?)
>
> But where is resulting executable file? I build as a user, not root.
The povray executable is on the src directory.
> I know I can do make install ofcourse, but I want to just create povray
> executable for one user, not install it as global program in entire
> system.
>
> And next question - what should I do to recompile after changing sources,
> make will automaticly recompile only need files right?
Yes.
--
ZeSly
http://perso.wanadoo.fr/zesly/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Rafal 'Raf256' Maj wrote:
> Hi,
> how can I (for testing purposes mainly) compile Povray "stand alone" that
> is, as a user (not root), in local directory (not some /bin/) etc?
>
> TO have it working just i.e. small C++ program, I just write
> g++ a.cpp -o a.run
> and then I use program by
> ./run
>
> and thats all. How to do same for povray?
>
./configure --prefix=/home/your_dir/some/path/here
make
make install
if that doesn't work I'm not sure what to tell you
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> TO have it working just i.e. small C++ program, I just write
> g++ a.cpp -o a.run
> and then I use program by
> ./run
Simply run './configure && make' but NOT 'make install'.
The povray binary is then found under the src/ directory.
- NC
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |