From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32120 invoked by alias); 23 Jul 2002 23:09:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 32111 invoked from network); 23 Jul 2002 23:09:20 -0000 Received: from unknown (HELO ex02.idirect.net) (208.226.76.48) by sources.redhat.com with SMTP; 23 Jul 2002 23:09:20 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: autoconf issues [often when upgrading from 2.13->2.53a] Date: Tue, 23 Jul 2002 19:59:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark A." To: "Nicholas Wourms" , X-SW-Source: 2002-07/txt/msg01892.txt.bz2 First some facts about what I have: 1. I have access to Win2K, but not 98/ME/etc. 2. cygwin, version 1.3.12-2 3. $ bash --version GNU bash, version 2.05a.0(3)-release (i686-pc-cygwin) Copyright 2001 Free Software Foundation, Inc. 4. $ expr --version expr (GNU sh-utils) 2.0 Looking at the log of the configure session that you included, it's apparent that your version of 'expr' is returning the wrong result. Here's the command that the configure script runs: expr xposixmutexes : '.*[^-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]' && echo hello (I changed the 'echo' portion for simplicity.) This invocation of 'expr' should return 0 (zero) and the second half of the '&&' expression should not be evaluated, but on your system it is. You might try running the first half of the '&&' expression without the second half to see what position in the 'xposixmutexes' string 'expr' thinks it is finding an invalid character. Are you running the latest stable version of 'expr' that Cygwin has available? It's included in sh-utils 2.0-2, which is in the 'Base' category when setup.exe is run. >=20 > I have attached a log of the configure session with set -xv. Don't > worry, it bombs out early, so it isn't that big. I'll do the same > procedure on win2k, if you want. The offending checkpoint is: >=20 > -enable-* | --enable-*) > ac_feature=3D`expr "x$ac_option" : 'x-*enable-\([^=3D]*\)'` > # Reject names that are not valid shell variable names. > expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && > { echo "$as_me: error: invalid feature name: $ac_feature" >&2 > { (exit 1); exit 1; }; }=20=20=20 > ac_feature=3D`echo $ac_feature | sed 's/-/_/g'` > case $ac_option in > *=3D*) ac_optarg=3D`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; > *) ac_optarg=3Dyes ;; > esac > eval "enable_$ac_feature=3D'$ac_optarg'" ;; >=20 > The options I'm passing are: >=20 > CFLAGS=3D-O2 \ > LDFLAGS=3D \ > CC=3Dgcc-2 \ > CXX=3Dg++-2 \ > ../dist/configure --target=3Di686-pc-cygwin --prefix=3D/usr > --exec-prefix=3D/usr --sysconfdir=3D/etc --bindir=3D/usr/bin > --libdir=3D/usr/lib --includedir=3D/usr/include/db3.1 > --datadir=3D/usr/share '--libexecdir=3D${sbindir}' --localstatedir=3D/var > '--program-transform-name=3Ds,^db_,db3.1_,' --enable-posixmutexes > --enable-dynamic --enable-cxx --enable-compat185 --disable-test >=20 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/