all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Mayfield <d.e.1.Mayfield@herts.ac.uk>
Subject: Solved Installation Problem: Segmentation fault + Can not find Windows manager
Date: Wed, 08 Jun 2005 11:55:10 +0100	[thread overview]
Message-ID: <42A6CE8E.1040103@herts.ac.uk> (raw)

Finally managed to install emacs-21.4 on Fedora 2. 

# On recent Kernels, like Fedora 2, Exec-shield is enabled by default. 
Building
# emacs with this set creates a different memory layout that breaks the 
emacs
# dumper. Emacs will fail to build, generating a Segfault Error

# Temporarily turn off exec-shield
echo "0" > /proc/sys/kernel/exec-shield

# Even with the following ./configurethe flags set,
#               --with-x --x-includes=dir --x-libraries=DIR
# emacs still could not find my 'windows manager'

# Set Enviroment flags, for include and lib paths
export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/X11R6/lib
export LDRUNPATH=/usr/lib:/usr/local/lib:/usr/X11R6/lib
export INCLUDE=/usr/include:/usr/local/include:/usr/X11R6/include

# The emacs build process uses `uname -m` as the system architecture. On 
Fedora 2, it
# reports it as being i686. To change this to i386 use the `setarch` program

# Install emacs
setarch i386 ./configure --with-x
setarch i386 make
setarch i386 make install

# Don't forget to turn exec-shield back on
echo "0" > /proc/sys/kernel/exec-shield

# Worked for me, Hope that helped
# David Mayfield

                 reply	other threads:[~2005-06-08 10:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42A6CE8E.1040103@herts.ac.uk \
    --to=d.e.1.mayfield@herts.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.