[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Solved Installation Problem: Segmentation fault + Can not find Windows m
From: |
David Mayfield |
Subject: |
Solved Installation Problem: Segmentation fault + Can not find Windows manager |
Date: |
Wed, 08 Jun 2005 11:55:10 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Solved Installation Problem: Segmentation fault + Can not find Windows manager,
David Mayfield <=