delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4538DA37.5020009@metro.cx> |
Date: | Fri, 20 Oct 2006 16:16:23 +0200 |
From: | Koen Martens <cygwin AT metro DOT cx> |
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: | Re: wxwidgets configure script won't run, syntax errors |
References: | <453538B9 DOT 3080607 AT metro DOT cx> <45353B6B DOT 9080106 AT cygwin DOT com> |
In-Reply-To: | <45353B6B.9080106@cygwin.com> |
X-Helo-Milter-Authen: | gmc AT sonologic DOT nl, cygwin AT metro DOT cx, mx1 |
Received-SPF: | pass (mx1.sonologic.nl: 80.127.39.115 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]); Fri, 20 Oct 2006 14:14:09 +0000 (UTC) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Larry Hall (Cygwin) wrote: > Koen Martens wrote: >> 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! > > > You have CRNL as line endings in your files (bad) and you apparently > have put > them on a binary mount (good). In short, you'd see this same problem on > Linux with the files in question (or using the tools that you did to unpack > the files). I recommend running all the files through 'd2u'. You'll have > better luck then. You are absolutely right of course, d2u on those files and it worked like a charm. I've now even got the wx perl bindings compiled. Or at least, minus the sockets and the STC which i'm not using anyway. Thanks! Gr, Koen -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |