emacs-devel
[Top][All Lists]
Advanced

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

Re: Boostrap error


From: Guy Gascoigne-Piggford
Subject: Re: Boostrap error
Date: Thu, 11 Nov 2004 12:35:21 -0800
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

Well this is strange:

I'm using that patch, using this as the pattern:

(defconst w32-cygdrive-name-regexp "\\`\\(?:/cygdrive\\)?/\\(.\\)/")

If I run make I get:
---

"./../bin/emacs.exe" -batch --no-init-file --no-site-file --multibyte -l autoload \
       --eval '(setq find-file-hook nil \
               find-file-suppress-same-file-warnings t \
               generated-autoload-file \
                 "/cygdrive/c/dev/emacs-src/emacs/lisp/loaddefs.el")' \
-f batch-update-autoloads /cygdrive/c/dev/emacs-src/emacs/lisp calc calendar emacs-lisp emulation eshell gnus international language mail mh-e net obsolete play progmodes term textmodes toolbar url
handler expand-file-name (subdirs.el /:/cygdrive/c/dev/emacs-src/emacs/lisp)
Wrong type argument: number-or-marker-p, nil
Signal 127

---

But if I run that same command from the command line, it works, though the initial output is different:

handler file-name-as-directory (/cygdrive/c/dev/emacs-src/emacs/lisp)
handler expand-file-name (/cygdrive/c/dev/emacs-src/emacs/lisp/. nil)
handler expand-file-name (/cygdrive/c/dev/emacs-src/emacs/lisp nil)
handler expand-file-name (/cygdrive/c/dev/emacs-src/emacs/lisp/loaddefs.el c:/dev/emacs-src/emacs/lisp) handler file-name-directory (/cygdrive/c/dev/emacs-src/emacs/lisp/loaddefs.el)
handler expand-file-name (/cygdrive/c/dev/emacs-src/emacs/lisp/ nil)
handler file-name-directory (/cygdrive/c/dev/emacs-src/emacs/lisp/loaddefs.el)
........

--

I'm afraid that my lisp is appalling at best. It looks to me that when called from make, it take a different route even though the command line is the same. Very strange.

Guy

Jan D. wrote:

Lennart Borgman wrote:

: handler expand-file-name (subdirs.el /:/d/src/emacs-cygwin/lisp)
: Wrong type argument: number-or-marker-p, nil
: Signal 127
: make[1]: *** [autoloads] Error 255
: make[1]: Leaving directory `/d/src/emacs-cygwin/lisp'
: make: *** [bootstrap-gmake] Error 2

Please look at the regexp in the beginning of the file I attached before. I was uncertain of whether to use "cygdrive" or "cygwin", I do not use Cygwin
myself. This can maybe explain the first error.


It is cygdrive by default, but it really can be set to anything. I don't use cygwin either, I only got it installed so I could test the build process under Windows. I don't think I will spend any more time on this, I have other things to do and Windows is not my preferred platform. Besides, the solution you are proposing only handles a special case, not the general case. If it where up to me, I'd let configure check if cygpath is usable, and if not, require that the user supply the dos path to configure (--dospath=c:/whatever/emacs) and use that for buildlisppath and lisp in the makefiles for leim and lisp respectively. But again, this is not my platform of choice, so the ones working on this must do what they think is best.

    Jan D.


_______________________________________________
Emacs-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-devel
.


--
Guy Gascoigne - Piggford
www.wyrdrune.com





reply via email to

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