[asterisk-dev] compiling trunk under cygwin
Luigi Rizzo
rizzo at icir.org
Wed Jan 9 18:46:58 CST 2008
On Wed, Jan 09, 2008 at 04:56:27PM -0500, Clod Patry wrote:
> With recent Lugi announcement, I've tried to compile trunk under cygwin.
>
> when i run ./configure (Rev 97390), i've got:
>
> ./configure: line 17: $'\r': command not found
> ./configure: line 28: syntax error near unexpected token '$'in\r''
> ./configure: line 28: ' case '(set -o) 2>/dev/null' in
>
>
> here's the configure
> 16 ## --------------------- ##
> 17
> 18 # Be more Bourne compatible
> 19 DUALCASE=1; export DUALCASE # for MKS sh
> 20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
> 21 emulate sh
> 22 NULLCMD=:
> 23 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
> 24 # is contrary to our usage. Disable this feature.
> 25 alias -g '${1+"$@"}'='"$@"'
> 26 setopt NO_GLOB_SUBST
> 27 else
> 28 case `(set -o) 2>/dev/null` in
> 29 *posix*) set -o posix ;;
> 30 esac
> 31
> 32 fi
>
>
> and there's not \r, so i dont undertand what this failure comes from.
> Any hints?
looks like a problem with the subversion client you used to download
the file. Did you use the cygwin version of svn or something else ?
cheers
luigi
More information about the asterisk-dev
mailing list