unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Cc: 6805@debbugs.gnu.org
Subject: bug#6805: 24.0.50; package--dir assumes that Emacs is installed
Date: Sun, 08 Aug 2010 16:33:57 -0400	[thread overview]
Message-ID: <87sk2ovo7e.fsf@stupidchicken.com> (raw)
In-Reply-To: <AANLkTinWa-oU1fK8sTe0VRwsGPj9afLYvyHn=4ZmVD4A@mail.gmail.com> ("Ævar Arnfjörð Bjarmason"'s message of "Thu, 5 Aug 2010 18:07:39 +0000")

Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:

> When I compile Emacs from Git and run it without doing "make install" I
> run into this in package.el:
>
>     (unless pkg-dir
>       (error "Internal error: could not find directory for %s-%s"
> 	     name version-str))

I can't reproduce this.  I run Emacs in place without `make install',
and have not encountered any such error.  Could you provide a precise
description of the error, such as the error message shown in echo area?

> It's failing that assertion because package--dir assumes that Emacs is
> already installed:
>
>     package-directory-list is a variable defined in `package.el'.
>     Its value is
>     ("/usr/local/share/emacs/24.0.50/site-lisp/elpa"
> "/usr/local/share/emacs/site-lisp/elpa")

It should not matter if these directories do not exist, but your bug
report does not provide enough information to tell for sure.





  reply	other threads:[~2010-08-08 20:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-05 18:07 bug#6805: 24.0.50; package--dir assumes that Emacs is installed Ævar Arnfjörð Bjarmason
2010-08-08 20:33 ` Chong Yidong [this message]
2010-08-08 20:55   ` Ævar Arnfjörð Bjarmason
2010-08-08 22:02     ` Chong Yidong
2010-08-08 22:49       ` Ævar Arnfjörð Bjarmason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sk2ovo7e.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=6805@debbugs.gnu.org \
    --cc=avarab@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).