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: Sat, 24 May 2003 07:29:46 +0000 (UTC) Organization: Public Access Networks Corp. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3eccd535$0$49103$e4fe514c@news.xs4all.nl> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053761534 10805 80.91.224.249 (24 May 2003 07:32:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 07:32:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat May 24 09:32:13 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 19JTVk-0002o9-00 for ; Sat, 24 May 2003 09:32:13 +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 19JTTx-0004Wf-RJ for gnu-help-gnu-emacs@m.gmane.org; Sat, 24 May 2003 03:30:21 -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: 104 Original-NNTP-Posting-Host: panix1.panix.com Original-X-Trace: reader1.panix.com 1053761386 28418 166.84.1.1 (24 May 2003 07:29:46 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Sat, 24 May 2003 07:29:46 +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:113645 comp.unix.solaris:443112 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:10141 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10141 ================================(in response to email from Dave U:) Here's what i did: 134 source env.source 135 make clean 136 rm config.cache 137 ./configure 138 make And here's env.source, following your instructons (only that one line: --------------------------------- env.source # setenv LDFLAGS '-L/usr/openwin/lib' # setenv X11_LDFLAGS '-L/usr/openwin/lib' setenv X11_LDFLAGS '' # setenv LIBX '$(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) -ltiff -ljpeg -lpng -lz -lm -lXpm -lX11' setenv LIBX '' setenv LDFLAGS '-L/usr/openwin/lib -R/usr/openwin/lib -L/usr/sfw/lib -R/usr/sfw/lib' ------- Here's a part of the post-configure src/Makefile: # Here are the things that we expect ../configure to edit. # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. srcdir=/big5/david3/from_netcom-dir2/sources-stuff/emacs-21.3/src VPATH=/big5/david3/from_netcom-dir2/sources-stuff/emacs-21.3/src CC=gcc CPP=gcc -E CFLAGS= -g -O2 CPPFLAGS= LDFLAGS=-L/usr/openwin/lib -R/usr/openwin/lib -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/openwin/lib LN_S=ln -s # Substitute an assignment for the MAKE variable, because # BSD doesn't have it as a default. # Don't use LIBS. configure puts stuff in it that either shouldn't be # linked with Emacs or is duplicated by the cpp stuff below. # LIBS = -lintl -lmail -lm -lXext -lXmu -lXt -lSM -lICE -lX11 -lsocket -lnsl -lkstat LIBOBJS = # On Xenix and the IBM RS6000, double-dot gets screwed up. dot = . dotdot = ${dot}${dot} lispsource = ${srcdir}/$(dot)$(dot)/lisp/ libsrc = $(dot)$(dot)/lib-src/ etc = $(dot)$(dot)/etc/ oldXMenudir = $(dot)$(dot)/oldXMenu/ lwlibdir = $(dot)$(dot)/lwlib/ # Configuration files for .o files to depend on. M_FILE = ${srcdir}/m/sparc.h S_FILE = ${srcdir}/s/sol2-5.h config_h = config.h $(M_FILE) $(S_FILE) # ========================== start of cpp stuff ======================= C_SWITCH_SYSTEM= SHELL=/bin/sh TOOLKIT_DEFINES = -DUSE_LUCID ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(TOOLKIT_DEFINES) $(MYCPPFLAGS) -I. -I${srcdir} -I/usr/openwin/include -I/usr/dt/include ${CFLAGS} .c.o: $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o OLDXMENU=${lwlibdir}liblw.a LIBXMENU= $(OLDXMENU) LIBW= -lXaw3d LIBXTR6 = -lSM -lICE LIBXT= $(LIBW) -lXmu -lXt $(LIBXTR6) -lXext X11_LDFLAGS = -L/usr/openwin/lib LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) -lXpm -lX11 LIBSOUND= LD = $(CC) ALL_LDFLAGS = -L/usr/ccs/lib `./prefix-args -Xlinker -R/usr/openwin/lib ` `{ set x USE_MOTIF; test "$$2" = "USE_MOTIF"; } || echo ' -R/usr/dt/lib -L/usr/dt/lib'` $(LDFLAGS) INTERVAL_SRC = intervals.h composite.h GETLOADAVG_LIBS = And this, unfortunately, is the tail-end of what we get for the make: ... LC_ALL=C ./temacs -batch -l loadup dump ld.so.1: ./temacs: fatal: libXaw3d.so.5: open failed: No such file or directory Killed make[1]: *** [emacs] Error 137 make[1]: Leaving directory `/big5/david3/from_netcom-dir2/sources-stuff/emacs-21.3/src' make: *** [src] Error 2 360.0 sys= 17.0 95% || mem=0 in=0 139 ==/david3/from_netcom-dir2/sources-stuff/emacs-21.3==> Does anyone have a clue? I sure don't! Thanks, David