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: Tue, 20 May 2003 16:03:13 -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 1053465191 10669 80.91.224.249 (20 May 2003 21:13:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 May 2003 21:13:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue May 20 23:13:09 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 19IEJj-00020A-00 for ; Tue, 20 May 2003 23:06:39 +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 19IEIQ-0000oE-Nv for gnu-help-gnu-emacs@m.gmane.org; Tue, 20 May 2003 17:05:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!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: 66 Original-Xref: shelby.stanford.edu gnu.emacs.help:113448 comp.unix.solaris:442545 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:9943 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9943 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 > Similar problems could prevent Emacs from building, since the build > process invokes Emacs several times. > > On many systems, it is possible to set LD_LIBRARY_PATH in your > environment to specify additional directories where shared libraries > can be found. Go back and re-read my previous post in the other branch of this thread. > Other systems allow to set LD_RUN_PATH in a similar way, but before > Emacs is linked. With LD_RUN_PATH set, the linker will include a > specified run-time search path in the executable. Completely unnecessary. Learn something about the OS before posting such nonsense. > Hope that helps, It merely confuses and confounds the misimpressions you Linux users have about UNIX.