unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs 21.3.50 on cygwin bootstrap failed.
@ 2004-02-12  8:09 Steven Wu
  2004-02-12  8:30 ` Harald Maier
  2004-02-13  6:51 ` Harald Maier
  0 siblings, 2 replies; 7+ messages in thread
From: Steven Wu @ 2004-02-12  8:09 UTC (permalink / raw)


I took the CVS src of Emacs 21.3.50 to cygwin and did make bootstrap. 
The bootstrap-emacs was generated, however, it could not load loadup.el 
and complained the file was missing. Of course, the file was right 
there. Does anyone has the similar problem compiling CVS emacs on 
cygwin?

steve

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

* Re: Emacs 21.3.50 on cygwin bootstrap failed.
  2004-02-12  8:09 Emacs 21.3.50 on cygwin bootstrap failed Steven Wu
@ 2004-02-12  8:30 ` Harald Maier
  2004-02-12 16:08   ` Steven Wu
  2004-02-12 17:20   ` Eric Hanchrow
  2004-02-13  6:51 ` Harald Maier
  1 sibling, 2 replies; 7+ messages in thread
From: Harald Maier @ 2004-02-12  8:30 UTC (permalink / raw)
  Cc: emacs-devel

"Steven Wu" <wus@qwest.net> writes:

> I took the CVS src of Emacs 21.3.50 to cygwin and did make
> bootstrap. The bootstrap-emacs was generated, however, it could not
> load loadup.el and complained the file was missing. Of course, the
> file was right there. Does anyone has the similar problem compiling
> CVS emacs on cygwin?

I assume you need the mingw-make 3.79.1. You will find it at 

  http://www.mingw.org

Harald

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

* Re: Emacs 21.3.50 on cygwin bootstrap failed.
  2004-02-12  8:30 ` Harald Maier
@ 2004-02-12 16:08   ` Steven Wu
  2004-02-12 17:20   ` Eric Hanchrow
  1 sibling, 0 replies; 7+ messages in thread
From: Steven Wu @ 2004-02-12 16:08 UTC (permalink / raw)
  Cc: emacs-devel

Well, I am using cygwin 1.5.7-1, and make 3.80 comes with it. The 
problem is that emacs crashs when running under the latest cygwin/X. I 
am trying to rebuild emacs and see if that cures the problem.

steve
On Feb 12, 2004, at 1:30 AM, Harald Maier wrote:

> "Steven Wu" <wus@qwest.net> writes:
>
>> I took the CVS src of Emacs 21.3.50 to cygwin and did make
>> bootstrap. The bootstrap-emacs was generated, however, it could not
>> load loadup.el and complained the file was missing. Of course, the
>> file was right there. Does anyone has the similar problem compiling
>> CVS emacs on cygwin?
>
> I assume you need the mingw-make 3.79.1. You will find it at
>
>   http://www.mingw.org
>
> Harald
>

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

* Re: Emacs 21.3.50 on cygwin bootstrap failed.
  2004-02-12  8:30 ` Harald Maier
  2004-02-12 16:08   ` Steven Wu
@ 2004-02-12 17:20   ` Eric Hanchrow
  2004-02-12 18:05     ` Harald Maier
  2004-02-12 18:20     ` Jason Rumney
  1 sibling, 2 replies; 7+ messages in thread
From: Eric Hanchrow @ 2004-02-12 17:20 UTC (permalink / raw)



    "Steven Wu" <wus@qwest.net> writes:
    > I took the CVS src of Emacs 21.3.50 to cygwin and did make
    > bootstrap.
...

    "Harald Maier" <harald@maierh.de> responds:
    I assume you need the mingw-make 3.79.1.

I'd like to understand this better -- Harald says that one needs the
MinGW version of `make' to build Emacs under Cygwin.  But I am not
sure that's completely correct.  My understanding is that

* the Emacs source tree is capable of building two *different* flavors
  of Emacs -- 1) the so-called "Win32" version (which does not require
  the Cygwin DLLs); and 2) the pure Cygwin version (which of course
  does require the Cygwin DLLs).

* To build the Win32 version, you first cd to the `nt' directory.  You
  then have a choice of software with which to do the build: 1)
  Microsoft Visual Studio 6; and 2) the MinGW versions of gcc, make,
  etc., *plus* `cp', `rm', and a few other Unix-style programs.  In
  particular, using Cygwin make doesn't work, nor does using the
  Cygwin version of gcc.

* To build the Cygwin version, you do not cd into `nt'; instead you
  simply do `configure && make bootstrap'.  However, this always fails
  for me; I assume that the failures are simple mistakes in the Emacs
  source, which will get fixed eventually.  I don't believe the
  failures are due to Emacs never having been ported to Cygwin;
  because some files refer to Cygwin (`configure.in', for example).  I
  also assume that one does *not* use the MinGW tools when building
  the Cygwin version.

So have I understood everything correctly?

Implicit in my question is a criticism of the file nt/INSTALL; that
file has cleared up my confusion, and seems out of date.  I'd be
delighted to update it if I only knew the facts.

-- 
In the practice of computing, where we have so much latitude for
making a mess of it, mathematical elegance is not a dispensable
luxury, but a matter of life and death.

        -- Edsger W. Dijkstra: My Hopes of Computing Science (EWD  709)
        http://www.cs.utexas.edu/users/EWD/ewd07xx/EWD709.PDF

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

* Re: Emacs 21.3.50 on cygwin bootstrap failed.
  2004-02-12 17:20   ` Eric Hanchrow
@ 2004-02-12 18:05     ` Harald Maier
  2004-02-12 18:20     ` Jason Rumney
  1 sibling, 0 replies; 7+ messages in thread
From: Harald Maier @ 2004-02-12 18:05 UTC (permalink / raw)
  Cc: emacs-devel

Eric Hanchrow <offby1@blarg.net> writes:

>     "Steven Wu" <wus@qwest.net> writes:
>     > I took the CVS src of Emacs 21.3.50 to cygwin and did make
>     > bootstrap.
> ...
>
>     "Harald Maier" <harald@maierh.de> responds:
>     I assume you need the mingw-make 3.79.1.
>
> I'd like to understand this better -- Harald says that one needs the
> MinGW version of `make' to build Emacs under Cygwin.  But I am not
> sure that's completely correct.  My understanding is that
>
> * the Emacs source tree is capable of building two *different* flavors
>   of Emacs -- 1) the so-called "Win32" version (which does not require
>   the Cygwin DLLs); and 2) the pure Cygwin version (which of course
>   does require the Cygwin DLLs).
>
> * To build the Win32 version, you first cd to the `nt' directory.  You
>   then have a choice of software with which to do the build: 1)
>   Microsoft Visual Studio 6; and 2) the MinGW versions of gcc, make,
>   etc., *plus* `cp', `rm', and a few other Unix-style programs.  In
>   particular, using Cygwin make doesn't work, nor does using the
>   Cygwin version of gcc.
>
> * To build the Cygwin version, you do not cd into `nt'; instead you
>   simply do `configure && make bootstrap'.  However, this always fails
>   for me; I assume that the failures are simple mistakes in the Emacs
>   source, which will get fixed eventually.  I don't believe the
>   failures are due to Emacs never having been ported to Cygwin;
>   because some files refer to Cygwin (`configure.in', for example).  I
>   also assume that one does *not* use the MinGW tools when building
>   the Cygwin version.
>
> So have I understood everything correctly?
>
> Implicit in my question is a criticism of the file nt/INSTALL; that
> file has cleared up my confusion, and seems out of date.  I'd be
> delighted to update it if I only knew the facts.

I think you are right. From Steven's first statement it was not clear
to me that he wants to build a Cygwin Emacs. The second statement
clarified that.

Harald

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

* Re: Emacs 21.3.50 on cygwin bootstrap failed.
  2004-02-12 17:20   ` Eric Hanchrow
  2004-02-12 18:05     ` Harald Maier
@ 2004-02-12 18:20     ` Jason Rumney
  1 sibling, 0 replies; 7+ messages in thread
From: Jason Rumney @ 2004-02-12 18:20 UTC (permalink / raw)
  Cc: emacs-devel

Eric Hanchrow wrote:

>    "Steven Wu" <wus@qwest.net> writes:
>    > I took the CVS src of Emacs 21.3.50 to cygwin and did make
>    > bootstrap.
>...
>
>    "Harald Maier" <harald@maierh.de> responds:
>    I assume you need the mingw-make 3.79.1.
>
>I'd like to understand this better -- Harald says that one needs the
>MinGW version of `make' to build Emacs under Cygwin.  But I am not
>sure that's completely correct.
>  
>
No it is not correct. Cygwin Emacs *must* be built with Cygwin make, for 
the same reason as the native w32 Emacs must not be built with Cygwin 
make (the paths that make produces are incompatible between native 
Windows applications and Cygwin).

>* the Emacs source tree is capable of building two *different* flavors
>  of Emacs -- 1) the so-called "Win32" version
>

If you want to "so-call" the w32 version something, you might like to 
carefully consider whether you call it a "win".

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

* Re: Emacs 21.3.50 on cygwin bootstrap failed.
  2004-02-12  8:09 Emacs 21.3.50 on cygwin bootstrap failed Steven Wu
  2004-02-12  8:30 ` Harald Maier
@ 2004-02-13  6:51 ` Harald Maier
  1 sibling, 0 replies; 7+ messages in thread
From: Harald Maier @ 2004-02-13  6:51 UTC (permalink / raw)
  Cc: Eric Hanchrow, emacs-devel

"Steven Wu" <wus@qwest.net> writes:

> I took the CVS src of Emacs 21.3.50 to cygwin and did make
> bootstrap. The bootstrap-emacs was generated, however, it could not
> load loadup.el and complained the file was missing. Of course, the
> file was right there. Does anyone has the similar problem compiling
> CVS emacs on cygwin?

I played around and it seems that in the emacs/lisp directory the
load path during bootstrapping is wrong calculated:

,----[ Wrong Load Path ]
| Using load-path (
|   /usr/local/share/emacs/21.3.50/site-lisp
|   /usr/local/share/emacs/21.3.50/site-lisp/emacs-lisp
|   /usr/local/share/emacs/21.3.50/site-lisp/language
|   /usr/local/share/emacs/21.3.50/site-lisp/international
|   /usr/local/share/emacs/21.3.50/site-lisp/textmodes)
`----

I don't know why this happens, maybe other people have an idea. As a
workaround you can go into the emacs/lisp directory and then put in
the following command:

,----
| $ EMACSLOADPATH=. make bootstrap EMACS=../src/bootsrap-emacs.exe
`----

Additional it needs too the following change in the loadup.el file,
because bootstraping wants to load too the compile.el file:

------
Index: loadup.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/loadup.el,v
retrieving revision 1.133
diff -r1.133 loadup.el
40a41
>                           (expand-file-name "progmodes" dir)
------

Harald

PS: I did the above with the source of 2004-02-09.

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

end of thread, other threads:[~2004-02-13  6:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-12  8:09 Emacs 21.3.50 on cygwin bootstrap failed Steven Wu
2004-02-12  8:30 ` Harald Maier
2004-02-12 16:08   ` Steven Wu
2004-02-12 17:20   ` Eric Hanchrow
2004-02-12 18:05     ` Harald Maier
2004-02-12 18:20     ` Jason Rumney
2004-02-13  6:51 ` Harald Maier

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).