Difference between revisions of "Emacs"

From CBLFS
Jump to navigationJump to search
(Multilib)
(Added patch location and note.)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://ftp.gnu.org/pub/gnu/emacs/emacs-{{Emacs-Version}}.tar.gz
 
| http://ftp.gnu.org/pub/gnu/emacs/emacs-{{Emacs-Version}}.tar.gz
 +
|-
 +
!Download Optional Patch:
 +
| https://bugzilla.redhat.com/attachment.cgi?id=374742
 
|}
 
|}
  
Line 17: Line 20:
 
* [[GifLib]]
 
* [[GifLib]]
 
* [[X Window System]]
 
* [[X Window System]]
 +
 +
{{Note|If you are using GCC-4.4.x and upwards then there is a chance that you will get error "commands commence before first target". This is because of the way C Preprocessor is producing the code. This bug has been reported. The details can be found at https://bugzilla.redhat.com/show_bug.cgi. Bug id 540921. Apply the patch only if
 +
you get the error. After applying patch run 'autoconf' to regenerate 'configure' script.}}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 32: Line 38:
 
== Multilib ==
 
== Multilib ==
  
<h3><span class="mw-headline"> 32Bit </span></h3>
+
=== 32Bit ===
 
 
<p>Compile the package:
 
</p>
 
 
 
<pre>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
 
    ./configure --prefix=/usr \
 
    --libexecdir=/usr/lib --localstatedir=/var \
 
    --host=i386-pc-linux-gnu --target=i386-pc-linux-gnu &&
 
make bootstrap
 
</pre>
 
 
 
<p>Install the package:
 
</p>
 
 
 
<pre>make install &&
 
chown -v -R root:root /usr/share/emacs/22.2
 
</pre>
 
  
 
=== N32 ===
 
=== N32 ===
  
<h3><span class="mw-headline"> 64Bit </span></h3>
+
=== 64Bit ===
 
 
<p>Compile the package:
 
</p>
 
 
 
<pre>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
 
    ./configure --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/lib64 \
 
    --localstatedir=/var &&
 
make bootstrap
 
</pre>
 
 
 
<p>Install the package:
 
</p>
 
 
 
<pre>make install &&
 
chown -v -R root:root /usr/share/emacs/22.2
 
</pre>
 
  
 
= Contents =
 
= Contents =

Latest revision as of 00:33, 19 September 2010

Download Source: http://ftp.gnu.org/pub/gnu/emacs/emacs-23.1.tar.gz
Download Optional Patch: https://bugzilla.redhat.com/attachment.cgi?id=374742

Introduction to Emacs

The Emacs package contains an extensible, customizable, self-documenting real-time display editor.

Project Homepage: http://www.gnu.org/software/emacs/

Dependencies

Optional

Caution.png

Note

If you are using GCC-4.4.x and upwards then there is a chance that you will get error "commands commence before first target". This is because of the way C Preprocessor is producing the code. This bug has been reported. The details can be found at https://bugzilla.redhat.com/show_bug.cgi. Bug id 540921. Apply the patch only if you get the error. After applying patch run 'autoconf' to regenerate 'configure' script.

Non-Multilib

Compile the package:

./configure --prefix=/usr --libexecdir=/usr/lib --localstatedir=/var &&
make bootstrap

Install the package

make install &&
chown -v -R root:root /usr/share/emacs/23.1

Multilib

32Bit

N32

64Bit

Contents

Installed Programs: b2m, ctags, ebrowse, emacs, emacsclient, etags, grep-changelog, rcs-checkin
Installed Libraries: None
Installed Directories: /usr/lib/emacs, /usr/share/emacs
Retrieved from "?title=Emacs&oldid=20311"