all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5492: 23.1.91; Building Emacs triggers warning about charsets directory
@ 2010-01-29 12:20 Eli Zaretskii
  2010-01-29 17:46 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2010-01-29 12:20 UTC (permalink / raw)
  To: 5492

During compilation of files.el, in a tree that was not yet installed, I
get the following message:

    Compiling /home/e/eliz/bzr/emacs/trunk/src/../lisp/files.el
    Warning: arch-independent data dir (/usr/local/share/emacs/23.1.91/etc/)
    does not exist.
    Error: charsets directory (/usr/local/share/emacs/23.1.91/etc/charsets)
    does not exist.
    Emacs will not function correctly without the character map files.
    Please check your installation!

I think this warning should be suppressed in an un-installed
Emacs.  At the very least, it should be a "Warning", not an "Error".
For best results, we should look at the charsets directory in the build
tree in this case.


In GNU Emacs 23.1.91.15 (x86_64-unknown-linux-gnu)
 of 2010-01-29 on fencepost
configured using `configure  '--without-x''

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: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC [ > 0 ; 1 3 6 ; 0 c ESC x r e p o r t - e m TAB 
RET

Recent messages:
("./src/emacs")
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug ediff-hook
vc-hooks lisp-float-type lisp-mode register page menu-bar rfn-eshadow
timer select mldrag mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process multi-tty
emacs)







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5492: 23.1.91; Building Emacs triggers warning about charsets directory
  2010-01-29 12:20 bug#5492: 23.1.91; Building Emacs triggers warning about charsets directory Eli Zaretskii
@ 2010-01-29 17:46 ` Glenn Morris
  2010-01-29 21:05   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2010-01-29 17:46 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 5492

Eli Zaretskii wrote:

> For best results, we should look at the charsets directory in the build
> tree in this case.

This is what is supposed to happen (see callproc.c). Works for me.

Your actual problem is that Emacs cannot find `data-directory' (see
the earlier warning). It not being able to find the charsets is just
one consequence of this.

Can you figure out why it does not work for you? Do you have any
EMACS* environment variables (EMACSDATA, EMACSPATH, etc) set while
building? Do you build in a separate directory to the source, or
in-place? If you run Emacs from the build directory afterwards, what
does it think the value of `data-directory' is?






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5492: 23.1.91; Building Emacs triggers warning about charsets directory
  2010-01-29 17:46 ` Glenn Morris
@ 2010-01-29 21:05   ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2010-01-29 21:05 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 5492-done

> Cc: 5492@debbugs.gnu.org
> From: Glenn Morris <rgm@gnu.org>
> Date: Fri, 29 Jan 2010 12:46:44 -0500
> 
> Can you figure out why it does not work for you? Do you have any
> EMACS* environment variables (EMACSDATA, EMACSPATH, etc) set while
> building?

No.

> Do you build in a separate directory to the source, or in-place?

In-place.

> If you run Emacs from the build directory afterwards, what does it
> think the value of `data-directory' is?

It shows the correct value, in the build tree.

I cannot reproduce this anymore, anyway: compiling files.el no longer
produces these messages.

It could be that the problem happened because I renamed the parent
directory before building.  It's possible that the Emacs binary used
for compiling files.el did not yet pick up all of the new directory
names.

I'm closing this bug.  If I ever see this again, I will reopen with
more details.

Thanks.






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-29 21:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-29 12:20 bug#5492: 23.1.91; Building Emacs triggers warning about charsets directory Eli Zaretskii
2010-01-29 17:46 ` Glenn Morris
2010-01-29 21:05   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.