[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gv] gv-3.7.1 problems + patch
From: |
Markus Steinborn |
Subject: |
Re: [bug-gv] gv-3.7.1 problems + patch |
Date: |
Sat, 21 Aug 2010 18:44:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 |
Hello Peter Breitenlohner,
Peter Breitenlohner wrote:
first please consider the attached patch required for a correct VPATH
build.
Thanks for the patch. I applied it to git master.
This is misleading (a non-root user can certainly not update files under
/usr/local). Moreover "gv-update-userconfig" fails with
Currently I am testing an update which gives the following message
instead (my paths are differing from yours):
--- begin quote ---
gv Error: incompatible resources.
One of the files
/usr/local/share/gv/gv_system.ad
/usr/share/gv/GV
belongs to an older version of gv and cannot be used.
Quite probably your /usr/share/gv/GV is too old.
For a correct installation the following restrictions must be met:
* Every directory contained in XUSERFILESEARCHPATH where the system also
searches for app-defaults does not contain a file 'GV'.
* GV is contained just in direectories of XUSERFILESEARCHPATH where the
system
does not search for app-defaults, and the GV.version resource is
contained in
this GV file (this file is used instead of ~/.gv if ~/.gv is not present).
* The systems app-defaults directories which are not comntained in
XUSERFILESEARCHPATH may contain a GV file.If so, it SHOULD not contain a
'GV.version' resource.
If necessary, ask your system administrator for assistence.
A workaround to make GNU gv working is
to provide ~/.gv by running 'touch ~/.gv && gv-update-userconfig'.
--- end quote ---
Note that this error message is work in progess and is not necessarily
final. Ideas to improve it are welcome.
Cannot open $HOME/.gv for reading.
Thus the user has to "touch ~/.gv; gv-update-userconfig", but this is
by no
means obvious.
The new message is better for this point, too. But if you do not have
XUSERFILESEARCHPATH set, you'll get the old message. In case the
replacement file given by XUSERFILESEARCHPATH is writable by the user,
the old message is used, with the addition of
--- begin cite ---
A workaround to make GNU gv working is
to provide ~/.gv by running 'touch ~/.gv && gv-update-userconfig'.
--- end cite ---
Please fix gv such that the program correctly diagnoses that ~/.gv is
missing (and creates such a file). In addition gv-update-userconfig
should
also create this file when missing.
NACK. This problem is a configuration error. And usually it is a bad
idea not to fix the configuration error.
Greetings from Germany
Markus Steinborn
GNU gv maintainer