X-Spam-Check-By: sourceware.org Message-ID: <453538B9.3080607@metro.cx> Date: Tue, 17 Oct 2006 22:10:33 +0200 From: Koen Martens User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: wxwidgets configure script won't run, syntax errors Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Helo-Milter-Authen: gmc AT sonologic DOT nl, cygwin AT metro DOT cx, mx1 Received-SPF: pass (mx1.sonologic.nl: 80.127.84.188 is authenticated by a trusted mechanism) X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0rc3 (mx1.sonologic.nl [82.94.245.21]); Tue, 17 Oct 2006 20:08:20 +0000 (UTC) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi All, I'm new to cygwin, so my problem below is probably quite simple to solve. I have installed cygwin recently, downloaded from one of the mirrors. The version reported by uname -a is NT-5.1. I also got the latest wxwidgets from www.wxwidgets.org (wxMSW-2.6.3), however I don't think my problem is at all related to wxwidgets. The problem is, the gnu configure script included with wxwidgets won't run, giving a syntax error: bash-3.1$ ./configure : command not found4: ./configure: line 22: syntax error near unexpected token `elif' ./configure: line 22: `elif test -n "${BASH_VERSION+set}" && (set -o posix) >/de '/null 2>&1; then bash-3.1$ Now, afaik 'elif' is valid syntax for sh/bash.. In fact, any gnu configure script has this syntax. My guess is that there is some basic thing I missed in setting up the cygwin environment, and I'm hoping someone on the list knows. I've searched the mailing list archive, to no avail. Also, google is not my friend in this case. Sorry for wasting time! Best, Koen Martens -- K.F.J. Martens, Sonologic, http://www.sonologic.nl/ Networking, hosting, embedded systems, unix, artificial intelligence. Public PGP key: http://www.metro.cx/pubkey-gmc.asc Wondering about the funny attachment your mail program can't read? Visit http://www.openpgp.org/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/