POV-Ray : Newsgroups : povray.unix : PovRay compile Server Time
23 Dec 2024 00:37:44 EST (-0500)
  PovRay compile (Message 1 to 6 of 6)  
From: Rafal 'Raf256' Maj
Subject: PovRay compile
Date: 1 May 2004 10:41:10
Message: <Xns94DCA97D52895raf256com@203.29.75.35>
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

From: Thorsten Froehlich
Subject: Re: PovRay compile
Date: 1 May 2004 11:41:37
Message: <4093c531@news.povray.org>
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

From: Rafal 'Raf256' Maj
Subject: Re: PovRay compile
Date: 1 May 2004 13:52:20
Message: <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.


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

From: ZeSly
Subject: Re: PovRay compile
Date: 2 May 2004 08:03:15
Message: <4094e383$1@news.povray.org>

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

From: Preacher Dave
Subject: Re: PovRay compile
Date: 14 May 2004 22:27:54
Message: <40a5802a@news.povray.org>
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

From: Nicolas Calimet
Subject: Re: PovRay compile
Date: 15 May 2004 12:10:00
Message: <40a640d8$2@news.povray.org>
> 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

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