Difference between revisions of "Emacs"

From CBLFS
Jump to navigationJump to search
(32Bit)
(Added patch location and note.)
 
(2 intermediate revisions by 2 users 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 ==
  
USE_ARCH=32 CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \<br/>
+
=== 32Bit ===
PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} ./configure --prefix=/usr \<br/>
 
--libexecdir=/usr/lib --localstatedir=/var \<br/>
 
--host=i386-pc-linux-gnu --target=i386-pc-linux-gnu &&<br/>
 
make bootstrap<br/>
 
<br/>
 
make install &&<br/>
 
chown -v -R root:root /usr/share/emacs/22.2<br/>
 
  
 
=== N32 ===
 
=== N32 ===

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"