bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About installation


From: zhang yan
Subject: About installation
Date: Wed, 21 Jan 2009 20:57:41 +0100

hello,
OS is Solaris 10, download m4-1.4.11, install according to the install file
[zhang] pwd
/home/zhang/ProgramFiles/m4-1.4.11
[zhang]./configure
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking siginfo.h usability... yes
checking siginfo.h presence... yes
checking for siginfo.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdint.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for siginfo_t... yes
checking for struct sigaction.sa_sigaction... yes
checking for stack_t.ss_sp... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigstack... yes
checking for sigvec... no
checking for strerror... yes
checking for raise... yes
checking for __fpending... yes
checking for fpurge... no
checking for __fpurge... yes
checking for __freading... yes
checking for gettimeofday... yes
checking for mbsinit... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbrtowc... yes
checking for wcrtomb... yes
checking for wcscoll... yes
checking for lstat... yes
checking for pipe... yes
checking for vasnprintf... no
checking for iswcntrl... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for sig_atomic_t... yes
checking whether the preprocessor supports include_next... yes
checking whether stdin defaults to large file offsets... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... no
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for inline... inline
checking for nl_langinfo and CODESET... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for working strerror function... yes
checking whether stat file-mode macros are broken... no
checking whether clearerr_unlocked is declared... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf supports size specifiers as in C99... yes
checking whether printf supports 'long double' arguments... yes
checking whether printf supports infinite 'double' arguments... no
checking whether printf supports infinite 'long double' arguments... no
checking whether printf supports the 'a' and 'A' directives... no
checking whether printf supports the 'F' directive... yes
checking whether printf supports the 'n' directive... yes
checking whether printf supports POSIX/XSI format strings with positions... yes
checking whether printf supports the grouping flag... yes
checking whether printf supports the left-adjust flag correctly... yes
checking whether printf supports the zero flag correctly... no
checking whether printf supports large precisions... yes
checking whether printf survives out-of-memory conditions... yes
checking whether alarm is declared... yes
checking for EOVERFLOW... yes
checking for alloca as a compiler built-in... yes
checking whether to enable assertions... yes
checking for error_at_line... no
checking for sigaction... (cached) yes
checking whether fflush works on input streams... yes
checking whether __fpending is declared... yes
checking whether fpurge is declared... no
checking whether frexp() can be used without linking with libm... yes
checking whether frexp works... yes
checking whether frexpl() can be used without linking with libm... no
checking for fseeko... yes
checking for ftello... yes
checking for gettimeofday with POSIX signature... yes
checking whether gettimeofday clobbers localtime buffer... no
checking whether the compiler generally respects inline... yes
checking whether isnan(double) can be used without linking with libm... no
checking where to find the exponent in a 'double'... word 0 bit 20
checking whether isnan(float) can be used without linking with libm... no
checking where to find the exponent in a 'float'... word 0 bit 23
checking whether isnan(long double) can be used without linking with libm... no
checking where to find the exponent in a 'long double'... word 0 bit 16
checking whether lseek detects pipes... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for memchr... yes
checking for working memcmp... yes
checking for mkdtemp... no
checking for working mkstemp... yes
checking for obstacks... no
checking whether frexp can be used without linking with libm... (cached) yes
checking whether frexp works... (cached) yes
checking whether ldexp can be used without linking with libm... yes
checking whether frexpl can be used without linking with libm... (cached) no
checking whether ldexpl can be used without linking with libm... no
checking for mbstate_t... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for working re_compile_pattern... no
checking whether isblank is declared... yes
checking for signbit macro... no
checking for signbit compiler built-ins... no
checking where to find the sign bit in a 'float'... word 0 bit 31
checking where to find the sign bit in a 'double'... word 0 bit 31
checking where to find the sign bit in a 'long double'... word 0 bit 31
checking for sigprocmask... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... yes
checking for va_copy... yes
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 32
checking for bit size of sig_atomic_t... 32
checking for bit size of size_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix...
checking for sig_atomic_t integer literal suffix...
checking for size_t integer literal suffix... u
checking for wchar_t integer literal suffix... l
checking for wint_t integer literal suffix... l
checking whether strstr works in linear time... no
checking for working strtod... yes
checking whether strtod obeys C99... no
checking for pow... no
checking for pow in -lm... yes
checking for strtol... yes
checking whether mkdir is declared... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for __secure_getenv... no
checking for ptrdiff_t... yes
checking for snprintf... yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking for vasprintf... no
checking for vasprintf... (cached) no
checking for nl_langinfo... yes
checking for ptrdiff_t... (cached) yes
checking for snprintf... (cached) yes
checking for wcslen... (cached) yes
checking whether _snprintf is declared... (cached) no
checking whether <wchar.h> is standalone... yes
checking for stdint.h... (cached) yes
checking where to find the exponent in a 'double'... (cached) word 0 bit 20
checking where to find the exponent in a 'float'... (cached) word 0 bit 23
checking where to find the exponent in a 'long double'... (cached) word 0 bit 16
checking for wchar_t... (cached) yes
checking for wint_t... (cached) yes
checking if stack overflow is detectable... yes
checking for rlim_t... yes
checking for stack_t... yes
checking for sigcontext... no
checking if system() agrees with pclose()... yes
checking if changeword is wanted... no
checking if malloc debugging is wanted... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating checks/Makefile
config.status: creating examples/Makefile
config.status: creating lib/config.h
config.status: lib/config.h is unchanged
config.status: executing depfiles commands
config.status: executing stamp-h commands
[zhang]make
make  all-recursive
Making all in .
Making all in examples
Making all in lib
rm -f configmake.h-t configmake.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  echo '#define PREFIX "/usr/local"'; \
  echo '#define EXEC_PREFIX "/usr/local"'; \
  echo '#define BINDIR "/usr/local/bin"'; \
  echo '#define SBINDIR "/usr/local/sbin"'; \
  echo '#define LIBEXECDIR "/usr/local/libexec"'; \
  echo '#define DATAROOTDIR "/usr/local/share"'; \
  echo '#define DATADIR "/usr/local/share"'; \
  echo '#define SYSCONFDIR "/usr/local/etc"'; \
  echo '#define SHAREDSTATEDIR "/usr/local/com"'; \
  echo '#define LOCALSTATEDIR "/usr/local/var"'; \
  echo '#define INCLUDEDIR "/usr/local/include"'; \
  echo '#define OLDINCLUDEDIR "/usr/include"'; \
  echo '#define DOCDIR "/usr/local/share/doc/m4"'; \
  echo '#define INFODIR "/usr/local/share/info"'; \
  echo '#define HTMLDIR "/usr/local/share/doc/m4"'; \
  echo '#define DVIDIR "/usr/local/share/doc/m4"'; \
  echo '#define PDFDIR "/usr/local/share/doc/m4"'; \
  echo '#define PSDIR "/usr/local/share/doc/m4"'; \
  echo '#define LIBDIR "/usr/local/lib"'; \
  echo '#define LISPDIR ""'; \
  echo '#define LOCALEDIR "/usr/local/share/locale"'; \
  echo '#define MANDIR "/usr/local/share/man"'; \
  echo '#define MANEXT ""'; \
  echo '#define PKGDATADIR "/usr/local/share/m4"'; \
  echo '#define PKGINCLUDEDIR "/usr/local/include/m4"'; \
  echo '#define PKGLIBDIR "/usr/local/lib/m4"'; \
  echo '#define PKGLIBEXECDIR ""'; \
} | sed '/""/d' > configmake.h-t
mv configmake.h-t configmake.h
make  all-am
gcc -std=gnu99  -I.      -g -O2 -MT localcharset.o -MD -MP -MF .deps/localcharset.Tpo -c -o localcharset.o localcharset.c
mv -f .deps/localcharset.Tpo .deps/localcharset.Po
gcc -std=gnu99  -I.      -g -O2 -MT strtod.o -MD -MP -MF .deps/strtod.Tpo -c -o strtod.o strtod.c
strtod.c: In function `rpl_strtod':
strtod.c:155: error: incompatible types in assignment
strtod.c:170: error: incompatible types in assignment
strtod.c:257: error: wrong type argument to unary minus
*** Error code 1
make: Fatal error: Command failed for target `strtod.o'
Current working directory /home/zhang/.Trash/m4-1.4.11/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /home/zhang/.Trash/m4-1.4.11/lib
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='. examples lib src doc tests checks'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/zhang/.Trash/m4-1.4.11
*** Error code 1
make: Fatal error: Command failed for target `all'

would you please tell me why there is a fatal error? how can I run this command successfully?
thanks.

best regards

Yan
--


reply via email to

[Prev in Thread] Current Thread [Next in Thread]