I just made my first pass at building 21.5 on Cygwin. So far, I've found a
(minor) problem with the build and a runtime problem that I haven't been able
to figure out.
The build problem was fairly simple. There was a conflict between some typedefs
in src/lisp.h and /usr/include/cygwin/types.h. The conflicting lines are
typedef int intptr_t;
typedef unsigned int uintptr_t;
at around line 803 in src/lisp.h. These are typedef'd differently in
/usr/include/cygwin/types.h:
typedef long intptr_t;
typedef unsigned long uintptr_t;
I got around the problem by surrounding the conflicting typedefs in src/lisp.h
with
#if !defined(__CYGWIN__)
...
#endif
I don't know if that's the "correct" solution, but it allows the build
to
proceed without error.
The runtime problem is a bit more perplexing to me, being more-or-less lisp
illiterate. *Any* time I try to set the mark, whether it's with C-@ or M-x
set-mark-command or highlighting text with the mouse, I get the message
Symbol's value as variable is void: region
Needless to say, this makes it impossible to do any cut-n-paste operations.
Does anyone have any ideas for what I should look at? I haven't had much
success searching the email archives so far.
System info from the bug report form is included below.
Thanks,
Rick
uname -a: CYGWIN_NT-5.0 p15254-01 1.3.22(0.78/3/2) 2003-03-18 09:20 i686
unknown unknown Cygwin
./configure '--prefix=/tools/local' '--site-prefixes=/tools/local'
'--package-path=/tools/local/lib/xemacs/packages' '--cflags=-O3'
'--without-x11' '--with-msw' '--with-dragndrop'
'--with-xpm' '--debug=no'
'--error-checking=none' '--pdump'
XEmacs 21.5-b13 "cauliflower" configured for `i686-pc-cygwin'.
Compilation / Installation:
Source code location: /pub/src/xemacs-21.5
Installation prefix: /tools/local
Additional prefixes: /tools/local
Operating system description file: `s/cygwin32.h'
Machine description file: `m/intel386.h'
Compiler: gcc
-I/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../include/noX -Wall -Wno-switch
-Winline -Wmissing-prototypes -Wsign-compare -Wundef -Wstrict-prototypes
-Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -O3
Relocating allocator for buffers: no
GNU version of malloc: yes
Window System:
Compiling in support for the Microsoft window system.
Using MS-Windows menubars.
Using MS-Windows scrollbars.
Using MS-Windows dialog boxes.
Using MS-Windows native widgets.
Compiling in support for Drag'n'Drop (EXPERIMENTAL).
- Drag'n'Drop prototype: msw.
TTY:
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Mail:
Compiling in support for POP mail retrieval.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/tools/local/lib/xemacs/site-lisp/php-mode
/tools/local/lib/xemacs/packages/lisp/prog-modes/php-mode
/tools/local/lib/xemacs/packages/lisp/os-utils/lpr
/tools/local/lib/xemacs/packages/lisp/ps-print/lpr
/tools/local/lib/xemacs/packages/lisp/ps-print/ps-print
/tools/local/lib/xemacs/packages/lisp/ps-print-nomule/ps-print
/tools/local/lib/xemacs/packages/lisp/pcl-cvs/easy-mmode
/tools/local/lib/xemacs/packages/lisp/xemacs-base/easy-mmode)
Installed XEmacs Packages:
-------------------------
((xemacs-devel:version 1.52 :type single-file)
(xemacs-base :version 1.75 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.14 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.16 :type regular)
(vc :version 1.37 :type regular)
(tm :version 1.35 :type regular)
(time :version 1.12 :type regular)
(text-modes :version 1.6 :type single-file)
(texinfo :version 1.23 :type regular)
(speedbar :version 1.26 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.17 :type regular)
(scheme :version 1.13 :type regular)
(ruby-modes :version 1.01 :type regular)
(rmail :version 1.13 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml :version 1.4 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.72
:type
single-file)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.3 :type single-file)
(ocaml :version 0.04 :type regular)
(net-utils :version 1.31 :type single-file)
(mule-base :version 1.42 :type regular)
(mmm-mode :version 1.0 :type regular)
(mail-lib :version 1.57 :type regular)
(leim :version 1.2 :type regular)
(jde :version 1.45 :type regular)
(ispell :version 1.24 :type regular)
(igrep :version 1.1 :type regular)
(fsf-compat :version 1.12 :type single-file)
(fortran-modes :version 1.02 :type single-file)
(eudc :version 1.37 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.05 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.29 :type regular)
(edit-utils :version 2.0 :type single-file)
(ediff :version 1.46 :type regular)
(edict :version 1.13 :type regular)
(edebug :version 1.17 :type regular)
(dired :version 1.13 :type regular)
(debug :version 1.16 :type regular)
(crisp :version 1.12 :type regular)
(cc-mode :version 1.33 :type regular)
(calendar :version 1.19 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(ada :version 1.13 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 view-less view vc-hooks
font-lock efs-cu speedbar cus-face sb-image dframe assoc pending-del
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vm-autoloads
view-process-autoloads vhdl-autoloads vc-autoloads tm-autoloads
time-autoloads text-modes-autoloads texinfo-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
ruby-modes-autoloads rmail-autoloads python-modes-autoloads
psgml-autoloads ps-print-nomule-autoloads ps-print-autoloads
prog-modes-autoloads perl-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads ocaml-autoloads
net-utils-autoloads mule-base-autoloads mmm-mode-autoloads
mail-lib-autoloads leim-autoloads jde-autoloads ispell-autoloads
igrep-autoloads fsf-compat-autoloads fortran-modes-autoloads
eudc-autoloads eterm-autoloads eshell-autoloads emerge-autoloads
elib-autoloads eieio-autoloads efs-autoloads edit-utils-autoloads
ediff-autoloads edict-autoloads edebug-autoloads dired-autoloads
debug-autoloads crisp-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads ada-autoloads lisp-autoloads
loadhist rsz-minibuf auto-show fontl-hooks code-cmds gutter-items
menubar-items x-menubar dragdrop mode-motion mouse behavior itimer
auto-save lisp-mode easymenu iso8859-1 page buff-menu lib-complete
cus-file derived newcomment env text-props frame obsolete cus-start
custom widget cl-extra mini-cl cl cl-19 packages backquote
postgresqlv7 postgresql unicode mswindows-scrollbars mswindows
tty-frames tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses menu-accelerator-support menubar
berkeley-db dbm md5 xemacs gutter tiff png gif jpeg xface xpm xbm
lisp-float-type file-coding dde cygwin32 dragdrop-api dialog devices
window-system base64)
Recent keystrokes:
-----------------
down down down down down down down down down down down
down down down down down down down down down down down
down down down down down down down down down down down
down down down down down down down down down down down
down down down down down down down down down down down
down down down down down down down down down down down
down down down down next next next next next next next
next next next next prior prior prior prior prior prior
prior prior prior prior prior prior prior prior prior
prior prior misc-user misc-user
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Loading view-less...done
Loading view-less...
Symbol's value as variable is void: region
Symbol's value as variable is void: region
Loading vc-hooks...done
Loading vc-hooks...
Loading font-lock...done
Loading font-lock...
Loading efs-cu...done
Loading efs-cu...
Loading cus-face...done
Loading cus-face...
Loading pending-del...done
Loading pending-del...