POV-Ray : Newsgroups : povray.unix : user level installation problem Server Time
26 Jun 2024 02:57:05 EDT (-0400)
  user level installation problem (Message 1 to 7 of 7)  
From: AndrewC
Subject: user level installation problem
Date: 6 May 2005 10:25:00
Message: <web.427b7d35341b56bfac3379a40@news.povray.org>
Install gives no errors, however, when I try to run povray I get the error
message:

"povray: cannot open the system configuration file
/usr/local/etc/povray/3.6/povray.conf: No such file or directory"

Followed by a text on usage.

During installation (via the 'U' route) my local povray directory was
specified. Looking at the .povray/3.6/povray.ini file the library paths
appear to be set up correctly as well.

The only oddity in installation is the line saying:

"POV-Ray does not seem to have been previously installed
on this system.  The installation created a default
povray.ini at:

  /usr/me/povray-3.6/etc/povray/3.6/povray.ini

which can be modified for individual requirements."

The installation did not create the mentioned directory/ini, but never gave
any error about it - nor do I see why it couldn't create said files.

Thanks in advance.

Andrew


Post a reply to this message

From: Christoph Hormann
Subject: Re: user level installation problem
Date: 6 May 2005 11:10:01
Message: <d5g16t$8u4$1@chho.imagico.de>
AndrewC wrote:
> Install gives no errors, however, when I try to run povray I get the error
> message:
> 
> "povray: cannot open the system configuration file
> /usr/local/etc/povray/3.6/povray.conf: No such file or directory"
> 
> [...]

There is nothing unexpected in your descriptions - what is your actual 
problem?

The above message is not an error message (the word 'error' does not 
occur as you might have noticed), it is just the info message that 
loading the system configuration file was not possible.  It will always 
occur if you did a user installation, this will not prevent POV-Ray to 
function correctly.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 03 May. 2005 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Nicolas Calimet
Subject: Re: user level installation problem
Date: 6 May 2005 15:40:39
Message: <427bc837$1@news.povray.org>
> It will always 
> occur if you did a user installation

	Indeed, and this is something we most likely forgot to document properly
as it doesn't cause any functional problem (in fact this point was already in my
TODO list for the next bugfix release).

	The only way to get a correct path for povray's system files when doing
user install is to compile the program from sources  :-)

	- NC


Post a reply to this message

From: Nicolas Calimet
Subject: Re: user level installation problem
Date: 6 May 2005 15:57:57
Message: <427bcc45$1@news.povray.org>
Some more explanations:

> "povray: cannot open the system configuration file
> /usr/local/etc/povray/3.6/povray.conf: No such file or directory"

	In the precompiled PC-Linux binary (which is the one you are
installing) the /usr/local/etc/povray/3.6 path is a povray system path
that is hardcoded in the program and therefore cannot be changed by
the installation procedure (the povray executable cannot be modified
by the install script).  Yet the install script creates the povray
system directory: by default (ie installing as root) it matches
the one above; in the case of an user install it doesn't, and the
system directory you get (/usr/me/povray-3.6/etc/povray/3.6) is in
fact not used at all.  What is always used though are the equivalent
user-level files placed under $HOME/.povray/3.6 .

	As mentionned elsewhere, this is expected and essentially
harmless.  This message should only disappear if you install povray
as root (or compile the program from sources).

	- NC


Post a reply to this message

From: Greg M  Johnson
Subject: Re: user level installation problem
Date: 6 May 2005 17:04:05
Message: <427bdbc5$1@news.povray.org>
"Nicolas Calimet" <pov### [at] freefr> wrote in message 
news:427bcc45$1@news.povray.org...
>  /usr/local/etc/povray/3.6 path is a povray
> system path that is hardcoded in the program and therefore cannot be 
> changed
> by the installation procedure


Q: if I understand that right, does this doom installations to Knoppix 
persistent directories??


Post a reply to this message

From: Nicolas Calimet
Subject: Re: user level installation problem
Date: 6 May 2005 17:33:38
Message: <427be2b2@news.povray.org>
> Q: if I understand that right, does this doom installations to Knoppix 
> persistent directories?? 

	Any user-level installation of the PC-Linux povray distro is possible
and works normally.  The only difference with a root install is that the system-
level povray.conf & povray.ini files will be ignored (since they cannot be
found where there are supposed to be); only the user-level files (placed in
$HOME/.povray/3.6) will be used.  In particular this means that I/O restriction
settings will only be activated through $HOME/.povray/3.6/povray.conf .

	- NC


Post a reply to this message

From: Mike C
Subject: Re: user level installation problem
Date: 22 Jun 2005 18:15:00
Message: <web.42b9e2865a64e891f5ae007b0@news.povray.org>
"Greg M. Johnson" <gregj;-)565### [at] aolcom> wrote:
> "Nicolas Calimet" <pov### [at] freefr> wrote in message
> news:427bcc45$1@news.povray.org...
> >  /usr/local/etc/povray/3.6 path is a povray
> > system path that is hardcoded in the program and therefore cannot be
> > changed
> > by the installation procedure
>
>
> Q: if I understand that right, does this doom installations to Knoppix
> persistent directories??

If memory serves me right, isn't the latest version of Knoppix supporting
persistant directories under all directories with some UnionFS thingie?

Either way, if all else fails, can't you just make a startup script that
makes a symlink from the hard-coded path to the user install directory?

Just my two cents.
~Mike C


Post a reply to this message

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