From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: Re: Has anyone actually built emacs 21.3 for SOLARIS (sparc)? Date: Wed, 21 May 2003 22:24:22 +0000 (UTC) Organization: Public Access Networks Corp. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053556987 1524 80.91.224.249 (21 May 2003 22:43:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 May 2003 22:43:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 22 00:43:05 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19IcGe-0000Dn-00 for ; Thu, 22 May 2003 00:41:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Ic1Y-0003e6-SF for gnu-help-gnu-emacs@m.gmane.org; Wed, 21 May 2003 18:25:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.unix.solaris Original-Lines: 113 Original-NNTP-Posting-Host: panix1.panix.com Original-X-Trace: reader1.panix.com 1053555862 19682 166.84.1.1 (21 May 2003 22:24:22 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Wed, 21 May 2003 22:24:22 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: dkcombs@panix.com (David Combs) Original-Xref: shelby.stanford.edu gnu.emacs.help:113487 comp.unix.solaris:442720 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9983 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9983 In article , Dave Uhring wrote: >On Wed, 21 May 2003 08:50:21 +0000, David Combs wrote: > >> libXaw3d.so.5 => (file not found) > >> Why does mine want the 3d thing, and yours doesn't? > >Probably because I enabled motif instead of Xaw3d when I ran the configure >script. Do you really want the Athena widget set? Is that library >actuallly on your system? Where? If it's in /opt/sfw/lib then your >environment should contain > >[duhring]$ echo $LDFLAGS >-L/usr/openwin/lib -R/usr/openwin/lib -L/opt/sfw/lib -R/opt/sfw/lib > >before running the configure script. > >> Also, you did that echo of the two LD_..._PATHs, and >> showed nothing for what typed out. > >A blank line appeared because I do not have either of those values set in >my environment. I do not require them for any of the software which I >have built on this machine. Neither are they required for the OS software >supplied by Sun; they built those binaries with the correct LDFLAGS in the >compiler user's environment. > >> Here's what I get: >> >> >> 84 ==/dkcjunk==> echo $LD_RUN_PATH >> LD_RUN_PATH: Undefined variable >> 85 ==/dkcjunk==> echo $LD_LIBRARY_PATH >> LD_LIBRARY_PATH: Undefined variable >> 86 ==/dkcjunk==> >> >> A prior answer said to define the first one as >> /usr/openwin/lib. >> >> Is that your opinion too? > >http://www.visi.com/~barr/ldpath.html > >No, my opinion is that neither of those values should be set. They are >unnecessary and evil. Set LDFLAGS in your environment correctly -before- >running any GNU configure script. > >You probably should also set CC and CFLAGS: > >[duhring]$ echo $CC >/usr/sfw/bin/gcc >[duhring]$ echo $CFLAGS >-O2 -pipe -mcpu=ultrasparc > > >> And what about the RUN path -- set it to what? > >"" > >> PS: your opinion on those configure-args suggested in that >> same post? Any changes, or use as-is. > >This is what I used: > >[emacs-21.3]$ ./configure --prefix=/usr/sfw --with-x-toolkit=motif \ >--with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-x > I removed nothing from your post, for this reply, because it's so informative. It's now 6:15pm EST that I first see your post, and going through the thread, just asked some things that you answered here. For doc for everyone, and maybe that should be included in the emacs build-doc, if you have a second way to answer those, just for different angle on same subject by even same person, maybe answer those repeated questions? SURELY, the info in this thread should not just disappear into deja-seen-long-ago, but should be stuffed into the emacs building-doc! --- To summarize one of your points, you say to set the LDFLAGS *now*, eg in .cshrc, so it's always there. And to IGNORE the idea of a RUN path. (Since one person evidently believes in it, maybe a few educational words on why not -- the more you explain, in some depth, the more that other people will learn, and have an easier time with building eg emacs.) THANKS!!! I now have lots of things to read-over *in-detail*, before I go have a try at emacs again. --- Oh, is there some EASY way, cookbook like, to grab an emacs from CVS, without having to *learn* the whole freaking thing? David