help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Has anyone actually built emacs 21.3 for SOLARIS (sparc)?


From: Dave Uhring
Subject: Re: Has anyone actually built emacs 21.3 for SOLARIS (sparc)?
Date: Sat, 24 May 2003 09:55:24 -0500
User-agent: Pan/0.13.94 (God will roast their stomachs in Hell)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]