gmp-5.0.2 installation in Solaris 10

Marc Glisse marc.glisse at inria.fr
Wed Sep 14 09:02:54 CEST 2011


On Tue, 13 Sep 2011, WEY, CHERN L wrote:

> ...
> done; \
> dot_seen=no; \
> target=`echo check-recursive | sed s/-recursive//`; \
> list='. devel mpn mpz mpq mpf rand misc cxx mpbsd'; 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; \
>  (CDPATH="${ZSH_VERSION+.}:" && 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 `check-recursive'
> Current working directory /export/home/cwey/gmp-5.0.2/tests
> *** Error code 1
> The following command caused the error:
> fail= failcom='exit 1'; \
> for f in x $MAKEFLAGS; do \
>  case $f in \
>    *=* | --[!k]*);; \
>    *k*) failcom='fail=yes';; \
>  esac; \
> done; \
> dot_seen=no; \
> target=`echo check-recursive | sed s/-recursive//`; \
> list='tests mpn mpz mpq mpf printf scanf cxx mpbsd demos tune doc'; for subdir i
> n $list; do \
>  echo "Making $target in $subdir"; \
>  if test "$subdir" = "."; then \
>    dot_seen=yes; \
>    local_target="$target-am"; \
>  else \
>    local_target="$target"; \
>  fi; \
>  (CDPATH="${ZSH_VERSION+.}:" && 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 `check-recursive'
> Current working directory /export/home/cwey/gmp-5.0.2
> *** Error code 1
> make: Fatal error: Command failed for target `check'

Strange. Does it work better with gmake? And with export SHELL=/bin/bash 
(or wherever it is on solaris)? I am surprised you don't get more helpful 
messages...

-- 
Marc Glisse


More information about the gmp-bugs mailing list