POV-Ray : Newsgroups : povray.unix : envir variables Server Time
22 Dec 2024 08:19:44 EST (-0500)
  envir variables (Message 1 to 2 of 2)  
From: Francesco Pietra
Subject: envir variables
Date: 18 Sep 2006 19:05:00
Message: <web.450f2493c91756bbe9bdae520@news.povray.org>
At near completion of my present work, I dropped into broken pov-ray-3.5
installed from debian etch. Therefore, also because 3.5 seems to have
disappeared from debian, while 3.6 from there did not work in my hands, I
installed the "official" 3.6.1 as user within KDE.

It works if I issue command
$ /home/francesco/usr/bin/povray +W1024 +H768 +A +Icyclohexane.pov
while sitting in the directory where cyclohexane.pov is, obtaining in the
same dir the png file.

I was unable to set the envir variables. In /home/francesco/.bashrc I wrote:

PATH="/home/francesco/usr/bin/povray:$PATH"; export PATH
(to tell where the executable is; must be in error because "povray" was not
understood)

I also set


POVRAY_DIR="home/francesco/povraywork"

export POVRAY_DIR

to tell where I intend to work (the dir "povraywork"). That must also be in
error.

In view of my complete failure with envir var, I did not try that for
manual.

Well, I need to learn about envir variable, but for the present very
pressing instance I would be grateful for help)

Cheers
francesco pietra


Post a reply to this message

From: Nicolas Calimet
Subject: Re: envir variables
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.