You are not logged in.
Hi everyone
I am problems with Emacs and X. After I upgraded to the new version of X, emacs will no longer start. It just ends up with a "fatal error(11)Segmentation fault" message. However if I start it with the -nx parameter it starts just fine.
Since I can find nobody else with this kind of problem I am guessing I am doing something wrong, so my question is what?
Last edited by fac (2009-05-01 15:16:05)
Offline
Which emacs? It works here, but I am using emacs-cvs.
To know or not to know ...
... the questions remain forever.
Offline
I have tried both emacs-csv and the "official" emacs (version 22.3 - if i remember correctly).
I have tried moving emacs config files from my home directory but none of it helps.
Offline
Perhaps you should consider running a memtest overnight - just to cover that possibility...
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
So emacs is working alright within the terminal?
Offline
Yeah it works fine in the terminal. It seg faults every time i start emacs without the -nw parameter
Offline
I finally got it to work after changing the PKGBUILD file, so that the ./configure arguments was no longer "--with-x-toolkit=gtk" but "--with-x-toolkit=yes --with-x". The new PKGBUILD is pasted below. I am running the latest stable version of KDE4mod if this has anything to do with it.
# $Id: PKGBUILD 26660 2009-02-11 01:36:15Z eric $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Renchi Raju <renchi@green.tam.uiuc.edu>
pkgname=emacs
pkgver=22.3
pkgrel=1
pkgdesc="The Emacs Editor"
arch=(i686 x86_64)
url="http://www.gnu.org/software/emacs/emacs.html"
license=('GPL')
options=(docs)
depends=('ncurses' 'libpng' 'libtiff' 'giflib' 'libxpm' 'gtk2' 'texinfo')
source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$pkgver.tar.gz emacs.desktop)
md5sums=('aa8ba34f548cd78b35914ae5a7bb87eb'
'8af038d2ba4561271e935bb444ceb4e3')
install=emacs.install
build() {
cd $startdir/src/$pkgname-$pkgver
mandir=/usr/share/man
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
--localstatedir=/var --mandir=${mandir} --without-sound --with-x-toolkit=yes --with-x
make || return 1
make DESTDIR=$startdir/pkg install || return 1
# remove conflict with ctags package
mv $startdir/pkg/usr/bin/{ctags,ctags.emacs} || return 1
mv $startdir/pkg/usr/bin/{etags,etags.emacs} || return 1
mv $startdir/pkg${mandir}/man1/{etags.1,etags.emacs.1} || return 1
mv $startdir/pkg${mandir}/man1/{ctags.1,ctags.emacs.1} || return 1
# fix all the 777 perms on directories
find $startdir/pkg/usr/share/emacs/$pkgver -type d -exec chmod 755 {} \;
# fix user/root permissions on usr/share files
find $startdir/pkg/usr/share/emacs/$pkgver -exec chown root.root {} \;
# remove info dir
rm $startdir/pkg/usr/share/info/dir
gzip -9nf $startdir/pkg/usr/share/info/*
# fix FS#9253
mkdir -p $startdir/pkg/usr/share/pixmaps ${startdir}/pkg/usr/share/applications
install -D -m644 ${startdir}/src/${pkgname}.desktop ${startdir}/pkg/usr/share/applications
ln -s ../emacs/${pkgver}/etc/images/icons/emacs_48.png $startdir/pkg/usr/share/pixmaps/emacs-icon.png
}
Offline