[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Told to report this bug here.
From: |
Frank J. R. Hanstick |
Subject: |
Told to report this bug here. |
Date: |
Fri, 8 Jan 2010 12:50:59 -0800 |
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 HAVE_DUP2 1
| #define HAVE_FCNTL 1
| #define HAVE_GETDTABLESIZE 1
| #define HAVE_GETGROUPS 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_GETPEERNAME 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_KILL 1
| #define HAVE_KILLPG 1
| #define HAVE_LSTAT 1
| #define HAVE_READLINK 1
| #define HAVE_SBRK 1
| #define HAVE_SELECT 1
| #define HAVE_TCGETPGRP 1
| #define HAVE_UNAME 1
| #define HAVE_ULIMIT 1
| #define HAVE_WAITPID 1
| #define HAVE_RENAME 1
| #define HAVE_BCOPY 1
| #define HAVE_BZERO 1
| #define HAVE_CONFSTR 1
| #define HAVE_FNMATCH 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVENT 1
| #define HAVE_INET_ATON 1
| #define HAVE_MEMMOVE 1
| #define HAVE_PATHCONF 1
| #define HAVE_PUTENV 1
| #define HAVE_RAISE 1
| #define HAVE_REGCOMP 1
| #define HAVE_REGEXEC 1
| #define HAVE_SETENV 1
| #define HAVE_SETLINEBUF 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SETVBUF 1
| #define HAVE_SIGINTERRUPT 1
| #define HAVE_STRCHR 1
| #define HAVE_SYSCONF 1
| #define HAVE_TCGETATTR 1
| #define HAVE_TIMES 1
| #define HAVE_TTYNAME 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_ISASCII 1
| #define HAVE_ISBLANK 1
| #define HAVE_ISGRAPH 1
| #define HAVE_ISPRINT 1
| #define HAVE_ISSPACE 1
| #define HAVE_ISXDIGIT 1
| #define HAVE_GETPWENT 1
| #define HAVE_GETPWNAM 1
| #define HAVE_GETPWUID 1
| #define HAVE_GETCWD 1
| #define HAVE_MEMSET 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRFTIME 1
| #define HAVE_STRPBRK 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOD 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOUL 1
| #define HAVE_STRTOLL 1
| #define HAVE_STRTOULL 1
| #define HAVE_STRTOIMAX 1
| #define HAVE_STRTOUMAX 1
| #define HAVE_DECL_CONFSTR 1
| #define HAVE_DECL_PRINTF 1
| #define HAVE_DECL_SBRK 1
| #define HAVE_DECL_SETREGID 1
| #define HAVE_DECL_STRCPY 1
| #define HAVE_DECL_STRSIGNAL 1
| #define HAVE_DECL_STRTOLD 1
| #define STRTOLD_BROKEN 1
| #define HAVE_DECL_STRTOIMAX 1
| #define HAVE_DECL_STRTOL 0
| #define HAVE_DECL_STRTOLL 0
| #define HAVE_DECL_STRTOUL 0
| #define HAVE_DECL_STRTOULL 0
| #define HAVE_DECL_STRTOUMAX 1
| #define HAVE_STDLIB_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ALARM 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_MUNMAP 1
| #define HAVE_STPCPY 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRDUP 1
| #define HAVE_WCTYPE_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <wchar.h>
configure:15457: result: no
configure:15461: checking wchar.h presence
configure:15471: gcc -E conftest.c
configure:15477: $? = 0
configure:15497: result: yes
configure:15510: WARNING: wchar.h: present but cannot be compiled
configure:15512: WARNING: wchar.h: check for missing prerequisite
headers?
configure:15514: WARNING: wchar.h: see the Autoconf documentation
configure:15516: WARNING: wchar.h: section "Present But Cannot Be
Compiled"
configure:15518: WARNING: wchar.h: proceeding with the preprocessor's
result
configure:15520: WARNING: wchar.h: in the future, the compiler will
take precedence
configure:15532: checking for wchar.h
configure:15539: result: yes
The build ultimately failed with the following error:
gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/
share/locale\" -DLIBDIR=\"/usr/libdata\" -DIN_LIBINTL -
DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/lib\" -
DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -
Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -
DSHELL -I. -I/tmp/bash/Sources/bash/lib/intl -I/tmp/bash/Build -I/tmp/
bash/Sources/bash -arch ppc -g -Os -pipe -no-cpp-precomp -mdynamic-no-
pic -DM_UNIX -DSSH_SOURCE_BASHRC -isysroot /Developer/SDKs/
MacOSX10.6.sdk/ /tmp/bash/Sources/bash/lib/intl/bindtextdom.c
In file included from /Developer/SDKs/MacOSX10.6.sdk//usr/include/
wchar.h:111,
from /tmp/bash/Sources/bash/config-bot.h:136,
from /tmp/bash/Build/config.h:1050,
from /tmp/bash/Sources/bash/lib/intl/bindtextdom.c:20:
/Developer/SDKs/MacOSX10.6.sdk//usr/include/stdarg.h:4:25: error:
stdarg.h: No such file or directory
In file included from /tmp/bash/Sources/bash/lib/intl/bindtextdom.c:23:
/Developer/SDKs/MacOSX10.6.sdk//usr/include/stddef.h:74: error: two or
more data types in declaration specifiers
make[2]: *** [bindtextdom.o] Error 1
make[1]: *** [lib/intl/libintl.a] Error 1
make: *** [build] Error 2
The platform used to build is a dual 1.73 GHz PowerPC G4 Quicksilver
(upgraded from a dual 800 MHz PowerPC G4) running MacOS 10.5.8. If
there is anything more you need from me or something you would like me
to try, feel free to contact me and I will do my best to accommodate
your request.
Frank J. R. Hanstick
trog24@comcast.net
- Told to report this bug here.,
Frank J. R. Hanstick <=