Emacs

From Genunix

emacs - The extensible, customizable, self-documenting, real-time display editor

Contents

Rating

4 points (out of 4)

Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:

  • Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
  • Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
  • Minus 1 if a minor patch is required, or
  • Minus 2 if a major patch(es) is required

How to build emacs-21.4a on Solaris Express

Build Environment (platform, compiler, tools, PATH, ld)

Configure and compile steps (on x86 hardware)

/usr/bin/gzip -dc emacs-21.4a.tar.gz | /usr/sfw/bin/gtar xf -

cd emacs-21.4

export CPP="/usr/sfw/bin/gcc -E"
export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr"
export PERL=/usr/perl5/bin/perl

./configure --prefix=/usr --mandir=/usr/share/man \
            --libdir=/usr/lib              \
            --libexecdir=/usr/lib      \
            --infodir=/usr/share/info            \
            --sysconfdir=/etc --enable-python

make 

Other configure options

output of ./configure --help

Directory paths that emacs installs to

bin
lib/emacs/21.4/i386-pc-solaris2.11
share/emacs/21.4/etc
share/emacs/21.4/etc/e
share/emacs/21.4/lisp
share/emacs/21.4/lisp/calendar
share/emacs/21.4/lisp/emacs-lisp
share/emacs/21.4/lisp/emulation
share/emacs/21.4/lisp/eshell
share/emacs/21.4/lisp/gnus
share/emacs/21.4/lisp/international
share/emacs/21.4/lisp/language
share/emacs/21.4/lisp/mail
share/emacs/21.4/lisp/net
share/emacs/21.4/lisp/obsolete
share/emacs/21.4/lisp/play
share/emacs/21.4/lisp/progmodes
share/emacs/21.4/lisp/term
share/emacs/21.4/lisp/textmodes
share/emacs/21.4/lisp/toolbar
share/emacs/21.4/site-lisp
share/emacs/site-lisp
share/info
share/man/man1

Other 3rd party software emacs requires

(none)