From 6c06422c157c1209cd6bc231e26c62cdb1c8c98b Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 23 May 2007 20:10:04 +0000 Subject: Add "Installing to a directory with non-ASCII characters in the name fails". --- etc/PROBLEMS | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 00bddb791c..00dedc0c36 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -158,7 +158,6 @@ will run it under. For details, see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239344 - * Crash bugs ** Emacs crashes in x-popup-dialog. @@ -2810,6 +2809,14 @@ with spaces in the value, eg --enable-locallisppath='/path/with\ spaces'. Using directory paths with spaces is not supported at this time: you must re-configure without using spaces. +*** Installing to a directory with non-ASCII characters in the name fails. + +Installation may fail, or the Emacs executable may not start +correctly, if a directory name containing non-ASCII characters is used +as a `configure' argument (e.g. `--prefix'). The problem can also +occur if a non-ASCII directory is specified in the EMACSLOADPATH +envvar. + *** On Solaris, use GNU Make when installing an out-of-tree build The Emacs configuration process allows you to configure the -- cgit v1.2.3 From 8a0b01bce92cdd602e96baf8e435a2f2f8e8f0ba Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 23 May 2007 20:15:17 +0000 Subject: Add "Compiling on GNU/Linux fails due to a missing left operand in gnu-linux.h." --- etc/PROBLEMS | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'etc') diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 00dedc0c36..473043932a 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -2452,6 +2452,27 @@ This results from a bug in a VERY old version of GNU Sed. To solve the problem, install the current version of GNU Sed, then rerun Emacs's configure script. +*** Compiling on GNU/Linux fails due to a missing left operand in gnu-linux.h. + +The error messages have the form: + + ../src/s/gnu-linux.h:49:24: error: operator '>' has no left operand + +This error occurs because your system defines LINUX_VERSION_CODE in +the standard header file linux/version.h but does not give it a value. +As a workaround, you can edit the file src/s/gnu-linux.h to add the +needed definition. On the line after "#include ", +add a line as shown below: + +#include +#define LINUX_VERSION_CODE 132626 + +The number to use depends on your kernel version (the example shown is +for kernel 2.6.18). The number can be obtained by running the +following command in the shell: + +uname -r | sed -e 's/\./ /g' -e 's/-.*//' | awk '{print $1*(2^16) + $2*(2^8) + $3}' + *** Building a 32-bit executable on a 64-bit GNU/Linux architecture. First ensure that the necessary 32-bit system libraries and include -- cgit v1.2.3