From: Guy Gascoigne-Piggford <guy@wyrdrune.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Boostrap error
Date: Thu, 11 Nov 2004 12:35:21 -0800 [thread overview]
Message-ID: <4193CD09.2050803@wyrdrune.com> (raw)
In-Reply-To: <4191D67A.9000000@swipnet.se>
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
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel
> .
>
--
Guy Gascoigne - Piggford
www.wyrdrune.com
prev parent reply other threads:[~2004-11-11 20:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-08 7:51 Boostrap error Guy Gascoigne-Piggford
2004-11-08 8:40 ` Jason Rumney
2004-11-08 9:40 ` Jan D.
2004-11-08 10:20 ` Stephan Stahl
2004-11-08 10:30 ` Jason Rumney
2004-11-08 10:44 ` Jason Rumney
2004-11-08 17:40 ` Jan D.
[not found] ` <029f01c4c5be$422cd8f0$0200a8c0@sedrcw11488>
2004-11-08 20:55 ` Jan D.
2004-11-08 21:32 ` Jason Rumney
2004-11-08 21:40 ` Jan D.
2004-11-09 18:52 ` Lennart Borgman
2004-11-10 8:51 ` Jan D.
[not found] ` <052d01c4c726$612d4d20$0200a8c0@sedrcw11488>
2004-11-10 14:12 ` Jan D.
2004-11-10 16:20 ` Stefan Monnier
2004-11-10 18:31 ` Guy Gascoigne - Piggford
2004-11-10 23:53 ` Lennart Borgman
2004-11-11 20:35 ` Guy Gascoigne-Piggford [this message]
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=4193CD09.2050803@wyrdrune.com \
--to=guy@wyrdrune.com \
--cc=emacs-devel@gnu.org \
/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).