From xemacs-m  Thu Sep 18 20:32:32 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id UAA17351
	for <xemacs-beta@xemacs.org>; Thu, 18 Sep 1997 20:32:31 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.7/8.8.7) id SAA25083;
	Thu, 18 Sep 1997 18:36:08 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Minsk: Success under Solaris 2.5.1
References: <199709181651.JAA05096@roy>
X-Face: `'%\i;ySOu]g?NlziJSk_$&@]KP`}~PEQPjZ5;nxSaDW_o$4+4%Ab]%Ifw3ZR;7TIT3,O,'
 @2{L;]ox6kc;$_5kU'n**9vFg-]eV~GbxSVCx|(s%uR[],*:^WKmC`B}(;|k9/m]gwt?&`t;^rfCJg
 khHH>pP1W\)xM0U@!FNDD72{3fDP$PkBhx^7Z?-WxH6DbFN:QOnT`llzW}VGdYv;n9lzljQvKTIBhQ
 YuV
X-Attribution: sb
From: SL Baur <steve@xemacs.org>
In-Reply-To: Damon Lipparelli's message of "Thu, 18 Sep 1997 09:51:30 -0700"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 18 Sep 1997 18:36:08 -0700
Message-ID: <m2202mm6ev.fsf@altair.xemacs.org>
Lines: 42
X-Mailer: Quassia Gnus v0.7/XEmacs 20.3(beta23) - "Sarajevo"

We might as well have this out now ...

Damon Lipparelli <lipp@primus.com> writes:
 ...
> Recently (in the last few betas), I noticed that with an "exec directory"
> different than the install directory causes this "extreme bogosity" when
> doing a "make install":

I put that code in to handle the case of separating the exec directory
(without it installation succeeds but the resulting binary was unrunable).
Calling it ``extreme bogosity'' was Martin's compromise to leave it in at
all.

> if test "/users/lipp/xemacs-beta/20.3" != "/users/lipp/xemacs-beta/20.3/sun4/debug"; then : extreme bogosity follows; \
>    test ! -d /users/lipp/xemacs-beta/20.3/bin && \
>         ln -s /users/lipp/xemacs-beta/20.3/sun4/debug/bin /users/lipp/xemacs-beta/20.3/bin; \
>    test ! -d /users/lipp/xemacs-beta/20.3/lib/xemacs-20.3-b22/sparc-sun-solaris2.5.1 && \
>         ln -s /users/lipp/xemacs-beta/20.3/sun4/debug/lib/xemacs-20.3-b22/sparc-sun-solaris2.5.1 \
>                      /users/lipp/xemacs-beta/20.3/lib/xemacs-20.3-b22/sparc-sun-solaris2.5.1; \
> fi

> That is, after going to all of the trouble to separate the system-dependent
> bits from the system-independent ones, the install process symlinks the
> system-dependent bits back to the system-independent directory.  Since I
> need to make sure that the system-dependent "bin" directory is in my path
> anyway, it seems like it would make more sense to symlink the
> system-independent bits into the system-dependent directory structure

> So, in my particular case:

> 1) "/users/lipp/xemacs-beta/20.3/lib/xemacs" would be symlink'd to
>    "/users/lipp/xemacs-beta/20.3/sun4/debug/lib/xemacs"

> 2) "/users/lipp/xemacs-beta/20.3/lib/xemacs-20.3-b22/{etc,info,lisp}" would 
>    be symlink'd into
>    "/users/lipp/xemacs-beta/20.3/sun4debug/lib/xemacs-20.3-b22".

(You have tested this, I assume.  The installation directory finding
code in XEmacs, for all its boasting, is quite stupid).

Barry Warsaw provided the bug report and example I used when making
that patch.  Does Damon's proposal break your setup?

