Matthew Donovan wrote:
On Sat, May 24, 2008 at 03:47:51PM -0400, Kitche wrote:
As you can see from my original log, X is used.
X is not required, since it is not used, if I build with 'su -' instead
of 'su' (and thus have a clear environment without DISPLAY being set).
If the build tries to use X and is denied, the test fails.
the whole Su and su - is not related to this it seems considering I can su
to my root account and it works.
I'll try compiling ImageMagick on X to see if an error occurs.
Passes all tests in X on 7.0 for me
Not that this really adds anything to this discussion, but I did test again:
With DISPLAY=:0.0 being set but no access to the display (XAUTHORITY
unset) being owned by a different user, the PerlMagick tests x11/read
and x11/write do fail.
Without DISPLAY being set, these tests do run and report 'ok', although
they do not do anything (window does not appear). (Of course, this is
the case if I do 'su -' in my Konsole instead of 'su'.)
With DISPLAY and XAUTHORITY both being set properly, a window appears
during the tests and they both report 'ok'.
(This is all for 6.4.1-3_1 with all OPTIONS to default on 7.0.)
If I did not make this clear earlier, in contrast to my very first post,
I now consider this behavior ok, since it does not really make sense to
have DISPLAY set to something that is not accessible. (Not that it
really makes sense to have the build fail if access to the display is
being denied, but have it succeed, if no X is present at all...)
Jan Henrik
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"