Julien BLACHE wrote on Mon, 08.08.2005:
> Because there's no reason why the perl script should fail to be
> executed by execvp(). Your explanation is bogus, the problem lies
> somewhere else.
Ok, you're right. I was wrong. I think I've found the real problem now.
Here's the debug output from xsane:
[xsane] xsane_show_doc(sane-xsane)
[xsane] xsane_show_doc_via_nsr(/usr/share/doc/xsane-common/html
/sane-xsane-doc. html)
[xsane] xsane_show_doc_via_nsr: netscape is not
running, trying to start netscape
[xsane] trying to change user id for new subprocess: [xsane] old
effective uid = 1000
[xsane] new effective uid = 1000 [xsane] Failed to execute documentation
viewer: /usr/bin/sensible-browser
In xsane_show_doc() is a check if DEFAULT_BROWSER and BROWSER_NETSCAPE
are the same (basically). If so, xsane_show_doc_via_nsr() is started and
it first tries to use an existing netscape process. If that fails, it
tries to start netscape but BROWSER_NETSCAPE is ignored and it just
starts 'netscape'. The bad thing is that the error message pretends that
it did try to start DEFAULT_BROWSER (which also seems to be not really
correct), but actually it was just looking for 'netscape' which I
haven't installed.
So, eventually, the problem is that DEFAULT_BROWSER and BROWSER_NETSCAPE
are set to the same value in 02_docviewer.patch instead of keeping
BROWSER_NETSCAPE as it is.
regards,
CAiRO
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]