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 08:50:21 +0000 (UTC) Organization: Public Access Networks Corp. 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 X-Trace: main.gmane.org 1053507393 18967 80.91.224.249 (21 May 2003 08:56:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 May 2003 08:56:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed May 21 10:56:29 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 19IPOf-0004vO-00 for ; Wed, 21 May 2003 10:56:29 +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 19IPO0-0002De-Ns for gnu-help-gnu-emacs@m.gmane.org; Wed, 21 May 2003 04:55:48 -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: 111 Original-NNTP-Posting-Host: panix1.panix.com Original-X-Trace: reader1.panix.com 1053507021 2926 166.84.1.1 (21 May 2003 08:50:21 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Wed, 21 May 2003 08:50:21 +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:113458 comp.unix.solaris:442618 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:9954 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9954 In article , Dave Uhring wrote: >On Tue, 20 May 2003 15:53:59 -0400, Bijan Soleymani wrote: > >> Looks like you've got problems with libXaw3d. >> >> You should look for xaw3d in /etc/PROBLEMS. Here is what I found: >> >> " >> * On systems with shared libraries you might encounter run-time errors >> from the dynamic linker telling you that it is unable to find some >> shared libraries, for instance those for Xaw3d or image support. >> These errors mean Emacs has been linked with a library whose shared >> library is not in the default search path of the dynamic linker. > >Solaris is an ELF system. The library search path is supposed to be in >the headers of the binary. It gets put there by using the proper LDFLAGS >during the compile time link. > >[emacs-21.3]$ echo $LD_LIBRARY_PATH $LD_RUN_PATH > >[emacs-21.3]$ ldd src/emacs-21.3.1 > libXm.so.4 => /usr/dt/lib/libXm.so.4 > libgen.so.1 => /usr/lib/libgen.so.1 > libXp.so.1 => /usr/openwin/lib/libXp.so.1 > libXmu.so.4 => /usr/openwin/lib/libXmu.so.4 > libXt.so.4 => /usr/openwin/lib/libXt.so.4 > libSM.so.6 => /usr/openwin/lib/libSM.so.6 > libICE.so.6 => /usr/openwin/lib/libICE.so.6 > libXext.so.0 => /usr/openwin/lib/libXext.so.0 > libtiff.so.3 => /usr/sfw/lib/libtiff.so.3 > libjpeg.so.62 => /usr/sfw/lib/libjpeg.so.62 > libpng.so.2 => /usr/sfw/lib/libpng.so.2 > libz.so.1 => /usr/lib/libz.so.1 > libm.so.1 => /usr/lib/libm.so.1 > libXpm.so.4 => /usr/openwin/lib/libXpm.so.4 > libX11.so.4 => /usr/openwin/lib/libX11.so.4 > libsocket.so.1 => /usr/lib/libsocket.so.1 > libnsl.so.1 => /usr/lib/libnsl.so.1 > libkstat.so.1 => /usr/lib/libkstat.so.1 > libcurses.so.1 => /usr/lib/libcurses.so.1 > libc.so.1 => /usr/lib/libc.so.1 > libdl.so.1 => /usr/lib/libdl.so.1 > libmp.so.2 => /usr/lib/libmp.so.2 > /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1 > > Thanks! My "make" got as far as creating "temacs", for which ldd on gives: libXaw3d.so.5 => (file not found) libXmu.so.4 => /usr/openwin/lib/libXmu.so.4 libXt.so.4 => /usr/openwin/lib/libXt.so.4 libSM.so.6 => /usr/openwin/lib/libSM.so.6 libICE.so.6 => /usr/openwin/lib/libICE.so.6 libXext.so.0 => /usr/openwin/lib/libXext.so.0 libXpm.so.4 => /usr/openwin/lib/libXpm.so.4 libX11.so.4 => /usr/openwin/lib/libX11.so.4 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libkstat.so.1 => /usr/lib/libkstat.so.1 libcurses.so.1 => /usr/lib/libcurses.so.1 libm.so.1 => /usr/lib/libm.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 Why does mine want the 3d thing, and yours doesn't? Also, you did that echo of the two LD_..._PATHs, and showed nothing for what typed out. 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? And what about the RUN path -- set it to what? (The last time I dealt with these concepts was way back on dec-20 twenex; since then I've been using a language no one's ever heard of (Mainsail) that works entirely differently, doesn't even use ld, does such things its own (also nice) way.) Thanks! David PS: your opinion on those configure-args suggested in that same post? Any changes, or use as-is.