unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Michael Reilly <pmr@pajato.com>
To: emacs-devel@gnu.org
Subject: Building Emacs fails on Cygwin
Date: Tue, 11 Nov 2008 09:38:04 -0500	[thread overview]
Message-ID: <491998CC.10507@pajato.com> (raw)

I just started a new gig where I must use Windows temporarily.  Even 
temporary, I found being without the latest Emacs is untenable.  So I 
just installed Cygwin, downloaded the current Emacs source and proceeded 
to do a build.  The bootstrap failed as shown below.  It was not clear 
to me where in the build 'emacs.exe' is supposed to be created.

fwiw, the build system is Windows 2003 system fully updated.

Any insight will be much appreciated,

-pmr

...
$ make
boot=bootstrap-emacs.exe;                         \
	if [ -x "src/$boot" ]; then boot=""; fi;                   \
	cd lib-src; make all                            \
	  CC='gcc' CFLAGS='-g -O2 ' CPPFLAGS='' \
	  LDFLAGS='-L/usr/X11R6/lib' MAKE='make' BOOTSTRAPEMACS="$boot"
make[1]: Entering directory `/usr/local/src/emacs/lib-src'
gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/local/src/emacs/lib-src 
-I/usr/local/src/emacs/lib-src/../src -L/usr/X11R6/lib  -g -O2  -o 
test-distrib /usr/local/src/emacs/lib-src/test-distrib.c
./test-distrib /usr/local/src/emacs/lib-src/testfile
...
gcc -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/src/emacs/src 
-I/usr/X11R6/include -DXTHREADS -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include 
-I/usr/include/freetype2    -g -O2  -L/usr/X11R6/lib 
/usr/local/src/emacs/src/prefix-args.c -o prefix-args
echo "dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o 
charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o 
terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o 
fringe.o image.o gtkutil.o  emacs.o keyboard.o macros.o keymap.o 
sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o 
dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o 
regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o 
floatfns.o fns.o font.o print.o lread.o syntax.o unexcw.o bytecode.o 
process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o 
intervals.o textprop.o composite.o md5.o   sheap.o xfont.o ftfont.o 
xftfont.o ftxfont.o terminfo.o gmalloc.o ralloc.o lastfile.o vm-limit.o 
  mktime.o getloadavg.o " > buildobj.lst
gcc -Wl,--image-base,0x20000000   -L/usr/X11R6/lib -o temacs ecrt0.o 
dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o 
coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o 
xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o 
image.o gtkutil.o  emacs.o keyboard.o macros.o keymap.o sysdep.o 
buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o 
filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o 
undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o 
font.o print.o lread.o syntax.o unexcw.o bytecode.o process.o callproc.o 
region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o 
textprop.o composite.o md5.o   sheap.o xfont.o ftfont.o xftfont.o 
ftxfont.o terminfo.o gmalloc.o ralloc.o lastfile.o vm-limit.o  mktime.o 
getloadavg.o    -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype 
-lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm 
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lpthread -lSM 
-lICE -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -lX11 -L/usr/X11R6/lib 
-lXft -lfreetype -lz -lXrender -lX11 -lXext -lfontconfig -lexpat 
-lresolv -lcurses -lg  `gcc -print-libgcc-file-name` -lm -lc `gcc 
-print-libgcc-file-name`
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: 
warning: auto-importing has been activated without --enable-auto-import 
specified on the command line.
This should work unless it involves constant data structures referencing 
symbols from auto-imported DLLs.Info: resolving _gdk_display by linking 
to __imp__gdk_display (auto-import)
Info: resolving __tzname by linking to __imp___tzname (auto-import)
cd ../lisp; make -w update-subdirs
make[2]: Entering directory `/usr/local/src/emacs/lisp'
wd=/usr/local/src/emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; 
for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | 
*/.* | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
	for file in $wins; do \
	   /usr/local/src/emacs/lisp/../update-subdirs $file; \
	done;
make[2]: Leaving directory `/usr/local/src/emacs/lisp'
`/bin/pwd`/temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/usr/local/src/emacs/lisp 
/usr/local/src/emacs/lisp/emacs-lisp /usr/local/src/emacs/lisp/language 
/usr/local/src/emacs/lisp/international /usr/local/src/emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading cus-start (source)...
Loading international/mule (source)...
Loading international/mule-conf.el (source)...
Loading env (source)...
Loading format (source)...
Loading bindings (source)...
Loading /usr/local/src/emacs/lisp/files.el (source)...
Loading /usr/local/src/emacs/lisp/cus-face.el (source)...
Loading /usr/local/src/emacs/lisp/faces.el (source)...
mv -f emacs.exe bootstrap-emacs.exe
mv: cannot stat `emacs.exe': No such file or directory
make[1]: *** [bootstrap-emacs.exe] Error 1
make[1]: Leaving directory `/usr/local/src/emacs/src'
make: *** [src] Error 2
^[]0;/usr/local/src/emacs\a
^[[32mreipa09@reipa09gx620 ^[[33m/usr/local/src/emacs^[[0m




             reply	other threads:[~2008-11-11 14:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 14:38 Paul Michael Reilly [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-11-11 17:22 Building Emacs fails on Cygwin Angelo Graziosi
2008-11-11 17:57 ` Paul Reilly
2008-11-14  3:23   ` Stephen J. Turnbull

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=491998CC.10507@pajato.com \
    --to=pmr@pajato.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).