unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* cvs-sort-of: ./configure gives 'permission denied'
@ 2004-07-06  3:22 David Combs
  2004-07-06  4:58 ` Eli Zaretskii
       [not found] ` <mailman.248.1089086418.19614.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: David Combs @ 2004-07-06  3:22 UTC (permalink / raw)


(Really, this is an FYI, I suppose.)

What version?  This cvs-ish one:

 http://prdownloads.sourceforge.net/nqmacs/emacs-21.3.50.1-20040519-src.tar.gz?download


With other versions of emacs, I've been fully able to
do ./configure, from csh (where I usually am).

Noticing that configure's first line said "sh",
I tried this:


81 ==/big7.1/dkc/sources-stuff-2/emacs-21.3==> sh
$ . ./configure
sh: /sbin/sh: cannot execute binary file



and you see what I got.

Finally I decided to do -vx with explicit sh:




84 ==/big7.1/dkc/sources-stuff-2/emacs-21.3==> sh -vx ./configure
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi
+ test -n  
+ test -n  
DUALCASE=1; export DUALCASE # for MKS sh
DUALCASE=1
+ export DUALCASE 

# Support unset when possible.
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi
as_unset=unset


# Work around bugs in pre-3.0 UWIN ksh.
$as_unset ENV MAIL MAILPATH
+ unset ENV MAIL MAILPATH 
PS1='$ '
PS1=$ 
PS2='> '
...
...
...
...
  Does Emacs use -lungif?                                 no
  Does Emacs use -lpng?                                   no
  Does Emacs use X toolkit scroll bars?                   yes

configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib-src/Makefile.c
config.status: creating oldXMenu/Makefile
config.status: creating man/Makefile
config.status: creating lwlib/Makefile
config.status: creating src/Makefile.c
config.status: creating lisp/Makefile
config.status: creating lispref/Makefile
config.status: creating lispintro/Makefile
config.status: creating leim/Makefile
config.status: creating src/config.h
config.status: executing default commands
creating src/epaths.h
/bin/sh: /big7.1/dkc/sources-stuff-2/emacs-21.3/move-if-change: cannot execute
make: *** [epaths-force] Error 1
creating lib-src/Makefile
creating src/Makefile
38.0  sys= 77.0  83%  || mem=0  in=0
85 ==/big7.1/dkc/sources-stuff-2/emacs-21.3==> h




Never had to do that before!

Interesting -- or more than that?

Thanks for looking at this post.

David

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

* Re: cvs-sort-of: ./configure gives 'permission denied'
  2004-07-06  3:22 cvs-sort-of: ./configure gives 'permission denied' David Combs
@ 2004-07-06  4:58 ` Eli Zaretskii
       [not found] ` <mailman.248.1089086418.19614.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2004-07-06  4:58 UTC (permalink / raw)


> From: dkcombs@panix.com (David Combs)
> Newsgroups: gnu.emacs.help
> Date: 5 Jul 2004 23:22:39 -0400
> 
> Noticing that configure's first line said "sh",
> I tried this:
> 
> 
> 81 ==/big7.1/dkc/sources-stuff-2/emacs-21.3==> sh
> $ . ./configure
> sh: /sbin/sh: cannot execute binary file

Could it be that some (or all) of the files involved got Windows
style CRLF at end of each line?

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

* Re: cvs-sort-of: ./configure gives 'permission denied'
       [not found] ` <mailman.248.1089086418.19614.help-gnu-emacs@gnu.org>
@ 2004-07-09 14:02   ` David Combs
  0 siblings, 0 replies; 3+ messages in thread
From: David Combs @ 2004-07-09 14:02 UTC (permalink / raw)


>> 81 ==/big7.1/dkc/sources-stuff-2/emacs-21.3==> sh
>> $ . ./configure
>> sh: /sbin/sh: cannot execute binary file
>
>Could it be that some (or all) of the files involved got Windows
>style CRLF at end of each line?


Emacs shows it as OK, and C-x = at endOfLine shows octal 12.  Control J.

Any other idea?

David

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

end of thread, other threads:[~2004-07-09 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-06  3:22 cvs-sort-of: ./configure gives 'permission denied' David Combs
2004-07-06  4:58 ` Eli Zaretskii
     [not found] ` <mailman.248.1089086418.19614.help-gnu-emacs@gnu.org>
2004-07-09 14:02   ` David Combs

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