On Wednesday 25 Jul 01, Andy Piper writes:
It builds fine for me. Make sure /bin/sh is bash rather than ash as
this
can cause problems.
Andy,
Why recommend that /bin/sh be bash rather than ash? If you do that, I
would expect configure/make to be considerably slower. As long as
xemacs does not require /bin/sh to have:
job control
getopts
exported functions
then there is no reason to use bash. Ash omits these features
precisely in order to be leaner and faster. (Of course, if xemacs
ever requires these features, then your advice will be correct.)
I just built 21.5.1 under (latest) Cygwin with no problems. (I
avoided the linuxplay problem with '--with-sound=none'.) This is on
NT4/SP4, and my /bin/sh is ash. I'll check CVS next.
David, have you recently updated all Cygwin packages? You don't say
anything about this in your message.
If you look at the error messages from 'ln', they simply say that the
target files already exist. If they do, then the error message is
correct.
I don't understand why /usr/bin/install isn't used instead for these
targets. Presumably this is more robust than 'ln -s'. When I run
./configure --prefix=... --with-sound=none
make
make install
on xemacs-21.5.1.tar.bz2, the make commands look like this:
for file in gnudoit gnuattach rcs-checkin ; do \
(cd .. && /d/starksb/src/xemacs-21.5.1/lib-src/installexe.sh /usr/bin/install -c
/d/starksb/src/xemacs-21.5.1/lib-src/${file} /usr/local/xemacs-21.5.1/bin/${file}) ; \
done
I'll check CVS next.
Regards,
David (Cygwin FAQ maintainer)
At 12:31 PM 7/25/01 -0400, David A. Cobb wrote:
>After this sat for 5 days on -winnt without any response, I'm reposting it
>where it should have gone at once. I do not at all understand the
>workings of the configuration tools, so I don't make any sense of the error.
>
>
>Trying to make 07/20 CVS checkout as:
>Defining PREFIX_USER_DEFINED
>Defining EMACS_CONFIGURATION = "i686-pc-cygwin"
>Defining EMACS_CONFIG_OPTIONS = "i686-pc-cygwin --prefix=/usr/local/
>--exec-prefix=/usr/local/i686-pc-cygwin/ --libdir=/usr/local/lib/
>--without-x --with-site-lisp --with-database=gdbm --with-sound=native
>--use-union-type"
>Defining LD_SWITCH_X_SITE =
>Defining LD_SWITCH_X_SITE_AUX =
>Defining C_SWITCH_X_SITE =
>Defining LD_SWITCH_SITE =
>Defining C_SWITCH_SITE =
>Defining GNU_MALLOC
>Defining USE_GCC
>Defining MAIL_USE_POP
>Defining USE_UNION_TYPE
>
>XEmacs 21.5-b1 "anise" configured for `i686-pc-cygwin'.
>
>Compilation / Installation:
>Source code location: /usr/local/src/XEmacs/xemacs-21.5
>Installation prefix: /usr/local/
>Operating system description file: `s/cygwin32.h'
>Machine description file: `m/intel386.h'
>Compiler: /usr/bin/gcc -mcygwin -g -O3 -Wall -Wno-switch -Winline
>-Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith
>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.
>TTY:
>Compiling in support for ncurses.
>Images:
>Compiling in support for GIF images (builtin).
>Compiling in support for PNG images.
>Compiling in support for JPEG images.
>Compiling in support for TIFF images.
>Sound:
>Compiling in support for sound (native).
>Databases:
>Compiling in support for GNU DBM.
>Compiling in support for PostgreSQL.
>- Using PostgreSQL header file: postgresql/libpq-fe.h
>- Using PostgreSQL V7 bindings.
>Internationalization:
>Compiling in support for file coding.
>Mail:
>Compiling in support for POP mail retrieval.
>Other Features:
>Using the union type for Lisp_Objects.
>Compiling in support for extra debugging code.
>
>======================================================
>Configure appears correct, make ends with the following
>
>/usr/bin/gcc -mcygwin -g -O3 -Wall -Wno-switch -Winline
>-Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith -I. -I../src
>-I/usr/local/src/XEmacs/xemacs-21.5/lib-src
>-I/usr/local/src/XEmacs/xemacs-21.5/src -DHAVE_CONFIG_H -Wno-sign-compare
>-fno-caller-saves /usr/local/src/XEmacs/xemacs-21.5/lib-src/make-dump-id.c
>-lgdbm -lncurses -lpq -lwinmm -lshell32 -lgdi32 -luser32 -lcomdlg32
>-lcomctl32 -lwinspool -o make-dump-id
>for f in gnudoit gnuattach rcs-checkin rcs2log vcdiff gzip-el.sh
>add-big-package.sh; do \
>if test ! -r $f; then ln -s /usr/local/src/XEmacs/xemacs-21.5/lib-src/$f
>$f; fi; \
>done
>make[1]: Leaving directory
>`/usr/local/src/XEmacs/xemacs-21.5/build-i686-pc-cygwin/lib-src'
>*********************
>stderr shows:
>*********************
>/usr/local/src/XEmacs/xemacs-21.5/lib-src/etags.c: In function `C_entries':
>/usr/local/src/XEmacs/xemacs-21.5/lib-src/etags.c:2777: warning:
>`typdefcblev' might be used uninitialized in this function
>/usr/local/src/XEmacs/xemacs-21.5/lib-src/etags.c: In function `C_entries':
>/usr/local/src/XEmacs/xemacs-21.5/lib-src/etags.c:2777: warning:
>`typdefcblev' might be used uninitialized in this function
>ln: `gnudoit': File exists
>ln: `gnuattach': File exists
>ln: `rcs-checkin': File exists
>ln: `rcs2log': File exists
>ln: `vcdiff': File exists
>ln: `gzip-el.sh': File exists
>ln: `add-big-package.sh': File exists
>make[1]: *** [gnudoit] Error 1
>make: *** [lib-src] Error 2
>
>
>David A. Cobb, Software Engineer, Public Access Advocate, All around nice guy.
>Get my PGP key at
>:<http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=superbiskit>
>Fingerprint=0x{6E3E_DB8C_2E8C_4248_62B2_FE29_08EE_CF0A_3629_E954}
>:<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=superbiskit&fingerprint=on>
>"By God's Grace I am a Christian man, by my actions a great sinner."
>--The Way of a Pilgrim, R. M. French [tr.]
>Potentially Viral Software is any software for which you are not allowed
>to examine the source. Do not buy or use Potentially Viral Software!
><---.----!----.----!----.----!----.----!----.----!----.----!----.---->
>