[m-dev.] errors in Cygwin build 10.04.2

Robert Shiplett grshiplett at gmail.com
Wed Oct 13 05:24:48 AEDT 2010


Sadly, how I regret that reflex cd ../..

The make went fine.
Then I should have gone down into boehm_gc to install.

Instead I proceeded optimistically with top make install.

At one point there was one odd warning about lib/mercury/mdb not
existing and unable to proceed, but only a warning.

Regardless, with merc deep_profiler building, it was a long wait for
failure after:

make[2]: Entering directory
`/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc'
make[2]: Warning: File `/tmp/mmake.jPQDhY' has modification time 1 s
in the future
cp Makefile.direct Makefile
MAKEFLAGS=""; export MAKEFLAGS; \
        make  -j1 GRADE=hlc.gc GC_GRADE=gc \
                libgc.a libgc.a \

FINAL_INSTALL_MERC_GC_LIB_DIR=/usr/local/mercury-10.04.2/lib/mercury/lib
\
                a
make[3]: Entering directory
`/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc'
make[3]: Warning: File `Makefile' has modification time 0.8 s in the future
CC="/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/../scripts/mgnuc
--grade hl
--no-ansi --no-check --no-mercury-stdlib-dir" MAKE=make ./build_atomic_ops.sh
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for style of include used by make... GNU
checking for gcc...
/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/../scripts/
 --grade hlc.gc --no-ansi --no-check --no-mercury-stdlib-dir
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether
/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/../scripts/mgn
grade hlc.gc --no-ansi --no-check --no-mercury-stdlib-dir accepts -g... yes
checking for /cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/../scripts/mgnuc
-
e hlc.gc --no-ansi --no-check --no-mercury-stdlib-dir option to accept
ISO C89... none needed
checking dependency style of
/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/..
pts/mgnuc --grade hlc.gc --no-ansi --no-check --no-mercury-stdlib-dir... gcc3
checking whether
/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/../scripts/mgn
grade hlc.gc --no-ansi --no-check --no-mercury-stdlib-dir and cc
understand -c and -o together... yes
checking dependency style of
/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/..
pts/mgnuc --grade hlc.gc --no-ansi --no-check --no-mercury-stdlib-dir... gcc3
checking how to run the C preprocessor...
/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.g
hm_gc/../scripts/mgnuc --grade hlc.gc --no-ansi --no-check
--no-mercury-stdlib-dir -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for ANSI C header files... (cached) yes
checking Determining PIC compiler flag... -fPIC
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/atomic_ops/Makefile
config.status: creating src/atomic_ops/sysdeps/Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands
make[4]: Entering directory
`/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/li
ic_ops'
cd . && /bin/sh
/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/libatomic_ops/m
g --run aclocal-1.10
 cd . && /bin/sh
/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/libatomic_ops/
ng --run automake-1.10 --gnu
cd . && /bin/sh
/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/libatomic_ops/m
g --run autoconf
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure
--prefix=/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install
e_dir.hlc.gc/boehm_gc/libatomic_ops-install
CC=/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.
c/boehm_gc/../scripts/mgnuc --grade hlc.gc --no-ansi --no-check
--no-mercury-stdlib-dir --no-create --no-recursion
./configure: line 51:  5124 Aborted                 (
PATH="/nonexistent;."; conf$$.sh ) > /dev/null 2>&1
./configure: line 58:  5908 Aborted                 ( ( MAIL=60; unset
MAIL ) || exit ) > /dev/null 2>&1
./configure: line 95:  5140 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 95:  6876 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 95:  5592 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  4648 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  6940 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  4888 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  2436 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  1592 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  2780 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  3776 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  3332 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  3116 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  2092 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  7756 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  3612 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  4172 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  7976 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  2832 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  1832 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  5452 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  5160 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  4160 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  6488 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  5424 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  5340 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  6672 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:   892 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  2416 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  5468 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  3312 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  3520 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 103:  7708 Aborted                 ( set +x; test -z
"`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 103:  7856 Aborted                 ( $as_unset
$as_var ) > /dev/null 2>&1
./configure: line 414:  1152 Aborted                 ( exit $1 )
as_func_success failed.
./configure: line 414:  2748 Aborted                 ( exit $1 )
./configure: line 460:  6704 Aborted                 ( set x;
as_func_ret_success y && test x = "$1" )
positional parameters were not saved.
./configure: line 419:  2172 Aborted                 ( eval "as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0" )
No shell found that supports shell functions.
Please tell autoconf at gnu.org about your system,
including any error possibly output before this
message
./configure: line 470:  2656 Aborted                 ( as_dir=`dirname
-- /` && test "X$as_dir" = X/ ) > /dev/null 2>&1
configure: error: Working directory cannot be determined
./configure: line 1157:  3652 Aborted                 ( exit 1 )
make[4]: *** [config.status] Error 1
make[4]: Leaving directory
`/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc/lib
c_ops'
make[3]: *** [libatomic_ops-install] Error 2
make[3]: Leaving directory
`/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc'
make[2]: *** [submake] Error 2
make[2]: Leaving directory
`/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc/boehm_gc'
To clean up from failed install, remove
/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2/install_grade_dir.hlc.gc
make[1]: *** [install_grades] Error 1
make[1]: Leaving directory
`/cygdrive/i/cygwin/mercury-10.04.2/mercury-compiler-10.04.2'
make: *** [install] Error 2

Owner at P4_2-53_MHz ~/mercury-10.04.2/mercury-compiler-10.04.2
$
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list