unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Solved Installation Problem: Segmentation fault + Can not find Windows manager
@ 2005-06-08 10:55 David Mayfield
  0 siblings, 0 replies; only message in thread
From: David Mayfield @ 2005-06-08 10:55 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-08 10:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-08 10:55 Solved Installation Problem: Segmentation fault + Can not find Windows manager David Mayfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).