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



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to