emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building fails


From: Markus Pahlow
Subject: building fails
Date: Wed, 22 Nov 2006 11:08:37 -0400

uname -a gives:
Linux <hostname> 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT
2006 i686 i686 i386 GNU/Linux

I checked out the unicode branch with tla and ran 

./configure --with-gtk --enable-font-backend --with-xft
make bootstrap

which fails complaining about undefined symbol this_pos_byte on line 1537 in
src/search.c; replacing this_pos_byte with pos_byte on line 1537 allows
compilation of src/search.c

running make bootstrap again then fails with the error messages:

Updating /usr/local/src/emacs/leim/leim-list.el ...
Loading vc-arch...
Wrong type argument: number-or-marker-p, nil
make[3]: *** [leim-list.el] Error 255
make[3]: Leaving directory `/usr/local/src/emacs/leim'
make[2]: *** [leim] Error 2
make[2]: Leaving directory `/usr/local/src/emacs'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/usr/local/src/emacs'
make: *** [bootstrap] Error 2

this appears to be caused by a bug in lisp/vc-hooks.el, line 719:

     (zerop (logand (file-modes buffer-file-name) 128))

function file-modes returns nil during compliation but logand requires a number;
this modification allows it to compile with make bootstrap:

     (zerop (logand (or (file-modes buffer-file-name) 128) 128))

after these changes, make bootstrap succeeds and emacs works fine.



In GNU Emacs 23.0.0.3 (i686-pc-linux-gnu, GTK+ Version 2.10.4)
 of 2006-11-22 on plandom.phys.ocean.dal.ca
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--with-gtk' '--enable-font-backend' '--with-xft''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: en_DK
  value of $LANG: en_CA
  locale-coding-system: iso-latin-1-unix
  default-enable-multibyte-characters: t




reply via email to

[Prev in Thread] Current Thread [Next in Thread]