>>>> "mb" == Martin Buchholz
<martin(a)xemacs.org> writes:
mb> I've generally felt that we should be doing this even on
mb> platforms like Linux where /etc/ld.so.conf gives us the
mb> runtime library search path. However, Steve was strong in his
mb> insistence that we don't specify a run-path via -R, and that
mb> we let /etc/ld.so.conf win out.
mb> I've never understood Steve's opinion on this, and claim that
mb> it's led in part to the current Xaw3d disaster.
I don't see the current Xaw3d situation as a disaster [for XEmacs]
with Daniel's patches. There is a serious problem for people who roll
their own under Debian, it's also easy to detect under Debian. If you
want, you can just puke "buggy Debian system,
XEmacs.org washes its
hands, write bugs(a)debian.org for more help"[1] and refuse to build.
The problem with using a runpath under Linux is that there's no reason
to believe that the build system and the run system have similar
ld.so.confs. Since ld.so.conf is the normal way to handle these
things on Linux, it will take real sophistication on the part of
users, even developers, to figure out what goes wrong if we silently
hardcode rpath and something does go wrong.
>>>> "Hrvoje" == Hrvoje Niksic
<hniksic(a)iskon.hr> writes:
Hrvoje> Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
> However as I said before that way you can no longer override
> the search using LD_LIBRARY_PATH
Hrvoje> Is this a problem? If XEmacs worked right in the first
Hrvoje> place, I don't see why I'd want to play games with
Hrvoje> LD_LIBRARY_PATH.
XEmacs, yes. But suppose you're not sure _X11_ works right?
One guy in XFree86 I know tests his next-generation X libraries in
exactly that way. I used to do that back when the Japanese patches to
Debian X packages tended to really suck (especially, they didn't get
pre- and postrm scripts right); getting the old behavior was just a
matter of pointing LD_LIBRARY_PATH to where I'd copied my working
libs.
All this is theory; I don't really care any more myself and my XF86
buddy is a vi guy anyway. But who knows what bugs are going to appear
next? I would like to see an option in ./configure, default it to
hardcode the rpath is ok with me, announce the value in Installation.
Footnotes:
[1] More courtesy is recommended, of course.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."