Told to report this bug here.

2010-01-08 Thread Frank J. R. Hanstick

Hello,
	I downloaded the bash-80 file from Apple and encountered this  
configuration error:


checking wchar.h usability... no
checking wchar.h presence... yes
configure: WARNING: wchar.h: present but cannot be compiled
		configure: WARNING: wchar.h: check for missing prerequisite  
headers?

configure: WARNING: wchar.h: see the Autoconf documentation
		configure: WARNING: wchar.h: section Present But Cannot Be  
Compiled

configure: WARNING: wchar.h: proceeding with the preprocessor's 
result
		configure: WARNING: wchar.h: in the future, the compiler will take  
precedence

configure: WARNING: ## --- ##
configure: WARNING: ## Report this to bug-bash@gnu.org ##
configure: WARNING: ## --- ##
checking for wchar.h... yes

when trying to build using the following command:

make SDKROOT=/Developer/SDKs/MacOSX10.6.sdk/ RC_ARCHS=ppc.

Extracted from config.log is the following:

configure:15416: checking wchar.h usability
configure:15428: gcc -c -arch ppc -g -Os -pipe -no-cpp-precomp - 
mdynamic-no-pic -DM_UNIX -DSSH_SOURCE_BASHRC -isysroot /Developer/SDKs/ 
MacOSX10.6.sdk/  conftest.c 5
In file included from /Developer/SDKs/MacOSX10.6.sdk//usr/include/ 
wchar.h:111,

 from conftest.c:264:
/Developer/SDKs/MacOSX10.6.sdk//usr/include/stdarg.h:4:25: error:  
stdarg.h: No such file or directory

configure:15434: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME bash
| #define PACKAGE_TARNAME bash
| #define PACKAGE_VERSION 3.2-release
| #define PACKAGE_STRING bash 3.2-release
| #define PACKAGE_BUGREPORT bug-bash@gnu.org
| #define ALIAS 1
| #define PUSHD_AND_POPD 1
| #define RESTRICTED_SHELL 1
| #define PROCESS_SUBSTITUTION 1
| #define PROMPT_STRING_DECODE 1
| #define SELECT_COMMAND 1
| #define HELP_BUILTIN 1
| #define ARRAY_VARS 1
| #define DPAREN_ARITHMETIC 1
| #define BRACE_EXPANSION 1
| #define COMMAND_TIMING 1
| #define EXTENDED_GLOB 1
| #define COND_COMMAND 1
| #define COND_REGEXP 1
| #define ARITH_FOR_COMMAND 1
| #define NETWORK_REDIRECTIONS 1
| #define PROGRAMMABLE_COMPLETION 1
| #define DEBUGGER 1
| #define MEMSCRAMBLE 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define READLINE 1
| #define HISTORY 1
| #define BANG_HISTORY 1
| #define _GNU_SOURCE 1
| #define HAVE_STRINGIZE 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define INTDIV0_RAISES_SIGFPE 0
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_UINTMAX_T 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_NL_TYPES_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_FEOF_UNLOCKED 1
| #define HAVE_GETC_UNLOCKED 1
| #define HAVE_GETCWD 1
| #define HAVE_GETEGID 1
| #define HAVE_GETEUID 1
| #define HAVE_GETGID 1
| #define HAVE_GETUID 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SETENV 1
| #define HAVE_SETLOCALE 1
| #define HAVE_STPCPY 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRDUP 1
| #define HAVE_STRTOUL 1
| #define HAVE_TSEARCH 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LC_MESSAGES 1
| #define ENABLE_NLS 1
| #define HAVE_DIRENT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_TERMCAP_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define GETPGRP_VOID 1
| #define SETVBUF_REVERSED 1
| #define HAVE_VPRINTF 1
| #define HAVE_STRCOLL 1
| #define RETSIGTYPE void
| #define HAVE_WAIT3 1
| #define HAVE_ISINF_IN_LIBC 1
| #define HAVE_ISNAN_IN_LIBC 1
| #define HAVE_MKFIFO 1
| #define 

Re: Told to report this bug here.

2010-01-08 Thread Chet Ramey
On 1/8/10 3:50 PM, Frank J. R. Hanstick wrote:
 Hello,
 I downloaded the bash-80 file from Apple and encountered this
 configuration error:

Aside from the fact that the bash-80 tar file available from Apple is
packaged by Apple, this doesn't exactly look like a bash problem:


 configure:15416: checking wchar.h usability
 configure:15428: gcc -c -arch ppc -g -Os -pipe -no-cpp-precomp
 -mdynamic-no-pic -DM_UNIX -DSSH_SOURCE_BASHRC -isysroot
 /Developer/SDKs/MacOSX10.6.sdk/  conftest.c 5
 In file included from
 /Developer/SDKs/MacOSX10.6.sdk//usr/include/wchar.h:111,
  from conftest.c:264:
 /Developer/SDKs/MacOSX10.6.sdk//usr/include/stdarg.h:4:25: error:
 stdarg.h: No such file or directory

I build bash-3.x and 4.x on Mac OS X 10.5.x all the time (though not
specifying the 10.6 SDK).  You might consider downloading the official
distribution from gnu.org.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/