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

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

Re: Possible problem with M-x compile


From: Alexis Layton
Subject: Re: Possible problem with M-x compile
Date: Mon, 15 Nov 2004 11:46:30 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a3) Gecko/20040817

Richard Stallman wrote:

   cd $CLIENTLIB_BUILDDIR && fmake tests && make

   and this has worked for some time now, on Emacs versions 20 and above.
   In the last two weeks however, the following error is presented:

   cd: No such directory found via CDPATH environment variable

   My shell is /bin/bash, and yes, the environment variable is defined,
   as is CDPATH.

What is the definition of that envvar?

How about adding  pwd>~/foo  to the start of your compile command
in each version and see what it tells you?
Then try both with  echo $CLIENTLIB_BUILDDIR > ~/foo.
Then try both with  echo $CDPATH > ~/foo.
This ought to show what's going on.

(see my earlier message, which I forgot to CC to emacs-pretest-bug)

I also tried unsetting CDPATH before starting emacs, since CLIENTLIB_BUILDDIR is always absolute. Same error message, which leads me to believe the CDPATH part of the error message is a red herring and the problem is a general failure when the first part of the compile command is a cd. I am wondering if the emacs logic is trying to perform the cd itself, instead of letting the shell
handle it?

Alexis
address@hidden





reply via email to

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