POV-Ray : Newsgroups : povray.unix : envir variables : Re: envir variables Server Time
1 Jun 2024 22:34:24 EDT (-0400)
  Re: envir variables  
From: Nicolas Calimet
Date: 19 Sep 2006 05:50:41
Message: <450fbd71$1@news.povray.org>
> PATH="/home/francesco/usr/bin/povray:$PATH"; export PATH
> (to tell where the executable is; must be in error because "povray" was not
> understood)

	That's because you need to remove the 'povray' part in your path: only
directory names should be used, e.g.

PATH=$HOME/usr/bin:$PATH; export PATH

	With bash you can simplify the above commands as:

export PATH=$HOME/usr/bin:$PATH

> POVRAY_DIR="home/francesco/povraywork"
> export POVRAY_DIR
> to tell where I intend to work (the dir "povraywork"). That must also be in
> error.

	Indeed, POV-Ray for Unix doesn't know/use such environment variable;
there's simply nothing like what you're trying to do.
	Please check the docs.

	- NC


Post a reply to this message

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