delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <474AB3A1.2050608@highlandsun.com> |
Date: | Mon, 26 Nov 2007 03:53:05 -0800 |
From: | Howard Chu <hyc AT highlandsun DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; rv:1.9b2pre) Gecko/2007111122 SeaMonkey/2.0a1pre |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Bash fails on BerkeleyDB configure |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
I ran into this problem while trying to run the BerkeleyDB 4.6.21 configure script with current Cygwin installed on a Windows64 machine. (Windows 2003 Server SP2 x86_64, using the Cygwin build of the x86_64-pc-mingw32 compiler from the mingw-64 project). The script fails on a case statement. Pasting the case statement into a separate script by itself doesn't fail, so I can't send you a simple test case. But you can easily download the BerkeleyDB source code to reproduce the problem. The first failure starts at line 28024: if test $ac_cv_type_u_int8_t = yes; then : else case "1" in "$ac_cv_sizeof_unsigned_int") u_int8_decl="typedef unsigned int u_int8_t;";; "$ac_cv_sizeof_unsigned_char") u_int8_decl="typedef unsigned char u_int8_t;";; "$ac_cv_sizeof_unsigned_short") u_int8_decl="typedef unsigned short u_int8_t;";; "$ac_cv_sizeof_unsigned_long") u_int8_decl="typedef unsigned long u_int8_t;";; "$ac_cv_sizeof_unsigned_long_long") u_int8_decl="typedef unsigned long long u_int8_t;";; *) if test "" != "notfatal"; then { { echo "$as_me:$LINENO: error: No unsigned 1-byte integral type" >&5 echo "$as_me: error: No unsigned 1-byte integral type" >&2;} { (exit 1); exit 1; }; } fi;; esac fi ac_cv_sizeof_unsigned_int is defined to 4 by prior tests. Likewise, ac_cv_sizeof_unsigned_char is 1 ac_cv_sizeof_unsigned_short is 2 ac_cv_sizeof_unsigned_long is 4 ac_cv_sizeof_unsigned_long_long is 8 The test fails with "No unsigned 1-byte integral type". The script exits at that point. Getting past this (by explicitly setting variables to bypass the test) just runs into another failure as the script uses the same construct to set a bunch of other type defs. Let me know if you need any more info. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ -- 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 |