From xemacs-m  Wed May 28 09:14:51 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA01710;
	Wed, 28 May 1997 09:14:50 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id QAA07948; Wed, 28 May 1997 16:14:47 +0200 (MET DST)
To: Chuck Thompson <cthomp@xemacs.org>
Cc: akaempf@bbnplanet.com, XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: `-R' on Solaris
References: <199705281251.HAA26173@xemacs.org>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
X-Horoscope: 
   Listen to your telephone tomorrow.  Never dye your hair without
   staying where you are first.  Your mom will think of you as a
   warmonger.  You'll eventually be tall.
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 28 May 1997 16:14:46 +0200
In-Reply-To: Chuck Thompson's message of Wed, 28 May 1997 07:51:23 -0500
Message-ID: <kigenarheeh.fsf@jagor.srce.hr>
Lines: 45
X-Mailer: Gnus v5.4.52/XEmacs 20.2

Chuck Thompson <cthomp@xemacs.org> writes:

>     Hrv> GNU and other third-party software is normally put to
>     Hrv> /usr/local.  Most of free software configures to /usr/local
>     Hrv> prefix by default.  Optional software provided by Sun is put
>     Hrv> to /opt.  But it's not the issue we are discussing.
> 
> That is not where they go on my systems and my gcc does not
> automatically link against /usr/local/lib.  I don't want my XEmacs
> binary looking there for libraries.

I do.  The configure process has found libraries there, and configure
process should fix things up so that they work.  Let me rephrase:

There are two options:

1) configure can't find `-lz'.  It links XEmacs without it, noone
   needs -R/usr/local/lib and XEmacs binaries work.  If I put
   `--site-runtime...', it will find it, and it will work.

2) configure can find `-lz'.  It links XEmacs with it, adds
   `-R/path/to/library', and XEmacs binaries work.

Both of these are OK with me, although I prefer #2, as it requires
less manual intervention.

What we currently have is:

3) configure finds `-lz', links XEmacs with it, but doesn't add
   `-R/path/to/library', which makes not only temacs fail (which shows
   at once), but also all the lib-src binaries (which is noticed only
   much later, *after* installation).

This is really totally wrong.


P.S.
I'm not sure `-lz' is the actual culprit, but the /usr/local/lib
problem definitely exists.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
`VI' - An editor used by those heretics that don't subscribe to
       the Emacs religion.

