Installation dirs do not correspond to paths in included script examples
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
povray (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Xubuntu 14.04
POV-Ray installs shell scripts to render example scenes.
The shell scripts are installed into /usr/share/
The scripts refer to paths that do not exist in the Ubuntu installation, and do not check the Ubuntu installation paths, and consequently the scripts fail.
For example, the script 'allscene.sh' includes the following:
VERSION=3.7
VER_DIR=
DEFAULT_
SYSCONFDIR=
which causes the script to look for 'povray.ini' in the directory 'usr/local/
Simlarly, the example scripts look for the installation directory and example scene directory in locations that do not correlate to Ubuntu installation directories.
When the paths in the shell scripts are corrected to point to the Ubuntu installation directories, they work perfectly.
I contacted the POV-Ray forum about this issue at http://
>> Ok, I think I've figured it out for myself.
>> It looks like the POV-Ray installation is fine, but the example scripts are
>> faulty in assuming incorrect values for installation directories. I manually
>> edited the 'allscene.sh' script to insert the correct paths and it worked.
>Well, one could also say that the Ubuntu package is faulty in using an
>incorrect installation directory.
>So please contact the Ubuntu people nonetheless, as it's their install
>package that is inconsistent. (Might turn out that it's our fault after
>all, but in that case the Ubuntu guys can probably supply us with
>helpful information to fix this.)
Accordingly, I am contacting you about the issue.
Please let me know if you require any more information.
This bug was fixed in the package povray - 1:3.7.0.0-8
---------------
povray (1:3.7.0.0-8) unstable; urgency=medium
* no-usr-local.patch: Fix references to /usr/local/etc in example scripts. missing- povray- examples. patch: Let scripts report that usr/share/ povray- 3.7/scenes -> ../doc/ povray/ examples -symlink. patch: Let scripts cope with SCENE_DIR being a
(LP: #1343048)
* report-
povray-examples may be needed if scene data cannot be found.
* povray-examples: Add symlink at upstream's location for the scenes:
/
* scene-directory
symlink.
-- Andreas Beckmann <email address hidden> Mon, 26 Jan 2015 00:03:59 +0100