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: Sat, 24 May 2003 09:55:24 -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: <3eccd535$0$49103$e4fe514c@news.xs4all.nl> 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 1053788500 11074 80.91.224.249 (24 May 2003 15:01:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 15:01:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat May 24 17:01:37 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 19JaWf-0002sJ-00 for ; Sat, 24 May 2003 17:01:37 +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 19JaVx-0003XI-ED for gnu-help-gnu-emacs@m.gmane.org; Sat, 24 May 2003 11:00:53 -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: 61 Original-Xref: shelby.stanford.edu gnu.emacs.help:113653 comp.unix.solaris:443147 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:10149 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10149 On Sat, 24 May 2003 07:29:46 +0000, David Combs wrote: > ================================(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 You did not remove config.status. > > 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' Only the last line should be there. You have -three- lines, not one. > Does anyone have a clue? I sure don't! Perhaps you should consider changing your shell for the purpose of building emacs. Re-read this: http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ Create a ~/.bashrc like this: ----------------------------------------------------------------------- PATH=/sbin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/sfw/bin: /usr/sfw/sbin:/usr/ccs/bin export PATH PS1="[\W]$ " export LDFLAGS='-L/usr/openwin/lib -R/usr/openwin/lib -L/usr/sfw/lib -R/usr/sfw/lib' export CC=/usr/sfw/bin/gcc export CXX=/usr/sfw/bin/g++ export CFLAGS='-O2 -pipe -mcpu=ultrasparc' ------------------------------------------------------------------------- Now from your csh prompt, just execute "bash" Go back to the directory where your emacs tarball resides and $ rm -r emacs-21.3 $ gzip -cd emacs-21.3.tar.gz | tar xf - $ cd emacs-21.3 $ ./configure --prefix=/usr/sfw # or whereever you want it to go $ make