From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dave Uhring" Newsgroups: gmane.emacs.help Subject: Re: Has anyone actually built emacs 21.3 for SOLARIS (sparc)? Date: Wed, 21 May 2003 10:55:09 -0500 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87r86t4co8.fsf@server.crasseux.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1053534986 26133 80.91.224.249 (21 May 2003 16:36:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 May 2003 16:36:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed May 21 18:36:24 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 19IWTO-00060M-00 for ; Wed, 21 May 2003 18:29:50 +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 19IVwP-0006zD-73 for gnu-help-gnu-emacs@m.gmane.org; Wed, 21 May 2003 11:55:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.unix.solaris User-Agent: Pan/0.13.94 (God will roast their stomachs in Hell) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 65 Original-Xref: shelby.stanford.edu gnu.emacs.help:113466 comp.unix.solaris:442661 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:9964 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9964 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