This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Gerardo, Did you ever get a successful build of netCDF on Solaris 10? We have a Solaris system for testing now, and it seems to work fine by following the build instructions here: http://www.unidata.ucar.edu/netcdf/docs/build_default.html --Russ > *** Error code 1 > The following command caused the error: > failed=0; all=0; xfail=0; xpass=0; skip=0; \ > srcdir=.; export srcdir; \ > list=' run_tests.sh '; \ > red=; grn=; lgn=; blu=; std=; \ > if test -n "$list"; then \ > for tst in $list; do \ > if test -f ./$tst; then dir=./; \ > elif test -f $tst; then dir=; \ > else dir="./"; fi; \ > if ${dir}$tst; then \ > all=`expr $all + 1`; \ > case " " in \ > *[\ \ ]$tst[\ \ ]*) \ > xpass=`expr $xpass + 1`; \ > failed=`expr $failed + 1`; \ > col=$red; res=XPASS; \ > ;; \ > *) \ > col=$grn; res=PASS; \ > ;; \ > esac; \ > elif test $? -ne 77; then \ > all=`expr $all + 1`; \ > case " " in \ > *[\ \ ]$tst[\ \ ]*) \ > xfail=`expr $xfail + 1`; \ > col=$lgn; res=XFAIL; \ > ;; \ > *) \ > failed=`expr $failed + 1`; \ > col=$red; res=FAIL; \ > ;; \ > esac; \ > else \ > skip=`expr $skip + 1`; \ > col=$blu; res=SKIP; \ > fi; \ > echo "${col}$res${std}: $tst"; \ > done; \ > if test "$all" -eq 1; then \ > tests="test"; \ > All=""; \ > else \ > tests="tests"; \ > All="All "; \ > fi; \ > if test "$failed" -eq 0; then \ > if test "$xfail" -eq 0; then \ > banner="$All$all $tests passed"; \ > else \ > if test "$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ > banner="$All$all $tests behaved as expected ($xfail expected $failures)"; \ > fi; \ > else \ > if test "$xpass" -eq 0; then \ > banner="$failed of $all $tests failed"; \ > else \ > if test "$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ > banner="$failed of $all $tests did not behave as expected ($xpass unexpected > $passes)"; \ > fi; \ > fi; \ > dashes="$banner"; \ > skipped=""; \ > if test "$skip" -ne 0; then \ > if test "$skip" -eq 1; then \ > skipped="($skip test was not run)"; \ > else \ > skipped="($skip tests were not run)"; \ > fi; \ > test `echo "$skipped" | wc -c` -le `echo "$banner" | wc -c` || \ > dashes="$skipped"; \ > fi; \ > report=""; \ > if test "$failed" -ne 0 && test -n "address@hidden"; then \ > report="Please report to address@hidden"; \ > test `echo "$report" | wc -c` -le `echo "$banner" | wc -c` || \ > dashes="$report"; \ > fi; \ > dashes=`echo "$dashes" | sed s/./=/g`; \ > if test "$failed" -eq 0; then \ > echo "$grn$dashes"; \ > else \ > echo "$red$dashes"; \ > fi; \ > echo "$banner"; \ > test -z "$skipped" || echo "$skipped"; \ > test -z "$report" || echo "$report"; \ > echo "$dashes$std"; \ > test "$failed" -eq 0; \ > else :; fi > make: Fatal error: Command failed for target `check-TESTS' > Current working directory /opt/packages/netcdf-4.2.1.1/ncgen3 > *** Error code 1 > make: Fatal error: Command failed for target `check-am' > Current working directory /opt/packages/netcdf-4.2.1.1/ncgen3 > *** 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='include libdispatch libsrc liblib ncgen3 ncgen > ncdump nctest nc_test man4 examples '; 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' > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: TPC-207549 Department: Support netCDF Priority: Critical Status: Closed