ts-7000
[Top] [All Lists]

[ts-7000] problem w/ cygwin cross-compile "./configure"

To:
Subject: [ts-7000] problem w/ cygwin cross-compile "./configure"
From: "tedapt" <>
Date: Wed, 26 Sep 2007 03:01:26 -0000
I'm trying to cross-compile the gnu Classpath library 0.93 on cygwin.
When I attempt to configure the build I get these error, any ideas how
to fix this?

   bash-3.2$ echo $PATH  
/usr/bin:/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin:/cygdrive/c/Program
Files/emacs-20.7/bin:/cygdrive/c/Program
Files/emacs-20.7/gnuserv:/cygdrive/c/Program
Files/Java/jdk1.5.0_09/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
Files/MySQL/MySQL Server
5.0/bin:/cygdrive/c/apache-ant-1.6.5/bin:/cygdrive/c/Program
Files/pstools:/cygdrive/c/Program Files/syslinux/win32
   bash-3.2$ 
   bash-3.2$ ./configure
   ./configure: line 13: $'\r': command not found
   ./configure: line 21: syntax error near unexpected token `elif'
   ./configure: line 21: `elif test -n "${BASH_VERSION+set}" && (set
-o posix) >/dev/null 2>&1; then
'
   bash-3.2$  

Head of the classpath configure script follows:

#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for GNU Classpath 0.93.
#
# Report bugs to <>.
#
# 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
DUALCASE=1; export DUALCASE # for MKS sh

etc...



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU