pbg4:~/Downloads/mercury-compiler-11.07.1 toby$ ./configure --disable-most-grades 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 what the C compiler type really is... gcc checking build system type... powerpc-apple-darwin8.11.0 checking host system type... powerpc-apple-darwin8.11.0 checking for cygpath... echo checking for cygpath... echo looking for an already installed Mercury compiler to bootstrap with... checking for mmc... no checking whether to enable large heaps when using conservative GC... yes checking whether to enable unmapping of unused pages when using Boehm GC... no checking for GCC source directory... not_found checking whether to enable the GCC back-end interface... no looking for GNU Make... checking for gmake... no checking for make... make found GNU Make: make looking for a way to create named pipes... checking for mkfifo... /usr/bin/mkfifo looking for a way to create temporary files... checking for mktemp... /usr/bin/mktemp checking for install-info... /usr/bin/install-info checking for texi2dvi... /usr/bin/texi2dvi checking for pdftex... no checking for lynx... no checking for dvips... no checking for makeinfo... /usr/bin/makeinfo checking for info... /usr/bin/info checking for perl... /usr/bin/perl checking for hostname... /bin/hostname checking whether C compiler needs -no-cpp-precomp... no checking whether we can use -fno-move-loop-invariants... no checking whether to pass -I/usr/local/include to C compiler... no checking whether to pass -L/usr/local/lib to the linker... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for use of a Microsoft C compiler... no checking for ranlib... ranlib checking for sin in -lm... yes checking for ilasm... no checking for gacutil... no checking for Microsoft.NET Framework SDK... no checking for csc... /usr/local/bin/csc checking for al... no checking for ilalink... no checking for mono... no checking for jikes... /usr/bin/jikes checking for java... /usr/bin/java checking for jar... /usr/bin/jar checking if the above Java SDK works and is sufficiently recent... no checking for erlc... /usr/local/bin/erlc checking for erl... /usr/local/bin/erl checking for sysconf... yes checking for getpagesize... yes checking for gethostname... yes checking for mprotect... yes checking for memalign... no checking for posix_memalign... no checking for memmove... yes checking for sigaction... yes checking for siginterrupt... yes checking for setitimer... yes checking for snprintf... yes checking for _snprintf... no checking for vsnprintf... yes checking for _vsnprintf... no checking for strerror... yes checking for open... yes checking for close... yes checking for dup... yes checking for dup2... yes checking for fdopen... yes checking for fileno... yes checking for fstat... yes checking for stat... yes checking for lstat... yes checking for isatty... yes checking for getpid... yes checking for setpgid... yes checking for fork... yes checking for execlp... yes checking for wait... yes checking for kill... yes checking for grantpt... yes checking for unlockpt... yes checking for ptsname... yes checking for tcgetattr... yes checking for tcsetattr... yes checking for ioctl... yes checking for access... yes checking for sleep... yes checking for opendir... yes checking for readdir... yes checking for closedir... yes checking for mkdir... yes checking for symlink... yes checking for readlink... yes checking for gettimeofday... yes checking for setenv... yes checking for putenv... yes checking for _putenv... no checking for posix_spawn... no checking for sched_setaffinity... no checking for sched_getcpu... no checking for sched_yield... yes checking for mkstemp... yes 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 unistd.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking sys/siginfo.h usability... no checking sys/siginfo.h presence... no checking for sys/siginfo.h... no checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking ucontext.h usability... yes checking ucontext.h presence... yes checking for ucontext.h... yes checking asm/sigcontext.h usability... no checking asm/sigcontext.h presence... no checking for asm/sigcontext.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/stropts.h usability... no checking sys/stropts.h presence... no checking for sys/stropts.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking spawn.h usability... no checking spawn.h presence... no checking for spawn.h... no checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking for fesetround function... yes checking for `sigaction' field name... sa_handler checking for working `sigcontext_struct' in second arg... no checking for working `sigcontext_struct' in third arg... no checking for `siginfo_t'... yes checking for `siginfo' pc access at signals... no checking for an integer type with the same size as a pointer... int checking for an integer type of at least 64 bits... long long checking for an integer type of at least 32 bits... int checking for pid_t... yes checking for dev_t... yes checking for ino_t... yes checking for an integer type of at least 16 bits... short checking the number of low tag bits available... 2 checking the number of bytes per word... 4 checking the number of words in a synchronization term... 3 checking the number of bits per word... 32 checking whether we can use unboxed floats... no checking whether float is 64-bit... no checking whether double is 64-bit... yes checking whether long double is 64-bit... yes checking whether architecture is big-endian... yes checking whether architecture is little-endian... no checking whether we can use files as locks... yes checking return values of system... yes checking to see if we can handle contexts blocking on IO... yes checking to see if strings.h is needed for bzero... no checking whether we can use gcc labels... no checking whether we can use global registers without gcc labels... yes checking whether we can support profiling on this system... yes checking if C compiler is egcs... no checking whether to enable the deep profiler... yes checking where to install deep profiler CGI script... /Library/WebServer/CGI-Executables checking for pthread_mutexattr_setpshared... yes checking whether we can use thread-local storage class extension... no using grade `reg.gc' as the default grade for applications configure: WARNING: Mercury compiler not yet installed - **** cannot use grade `hlc.gc' **** using grade `reg.gc' to compile the compiler **** after installation is complete you should reinstall **** from scratch so you can use the more efficient **** grade `hlc.gc'. **** NOTE: before reinstalling from scratch, ensure that the **** source tree is clean by running `make realclean'. Not doing **** this may result in a broken Mercury installation. checking whether the assembler handles .type... yes checking for as... /usr/bin/as checking whether the assembler does full preprocessing... no checking whether structure assignment conflicts with global registers... yes checking whether Mercury supports shared libraries on this system... yes checking options for static linking... -static checking for struct tms and times function... yes checking for environ global variable... yes checking for Sleep function... no checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking for isnan function... yes checking for isnanf function... no checking for isinf function... yes checking for isinff function... no checking for socket in -lsocket... no checking for inet_addr in -lnsl... no checking whether we can use sockets (for Morphine)... yes checking whether to enable the external debugger... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlopen in -ldl... yes checking for dlopen... yes checking for dlclose... yes checking for dlsym... yes checking for dlerror... yes checking whether to enable the new MercuryFile struct... no checking whether to use the MS Visual C Runtime... no checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes looking for termcap or curses (needed by readline)... checking for tgetent in -ltermcap... yes checking for readline in -lreadline... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for firefox... no checking for mozilla... no checking for xsltproc... /usr/bin/xsltproc checking whether any C files need to be rebuilt... no - they are compatible with autoconfigured settings checking for C shell executable... /bin/tcsh configure: creating ./config.status config.status: creating Mmake.common config.status: creating scripts/Mmake.vars config.status: creating scripts/parse_ml_options.sh-subr config.status: creating scripts/mdbrc config.status: creating scripts/Mercury.config config.status: creating scripts/Mercury.config.bootstrap config.status: creating bindist/bindist.INSTALL config.status: creating bindist/bindist.Makefile config.status: creating runtime/mercury_dotnet.cs config.status: creating java/runtime/Constants.java config.status: creating java/runtime/Native.java config.status: creating library/erlang_conf.hrl config.status: creating compiler/COMP_FLAGS config.status: creating library/LIB_FLAGS config.status: creating mdbcomp/MDBCOMP_FLAGS config.status: creating browser/MDB_FLAGS config.status: creating ssdb/SSDB_FLAGS config.status: creating slice/SLICE_FLAGS config.status: creating profiler/PROF_FLAGS config.status: creating deep_profiler/DEEP_FLAGS config.status: creating scripts/mmc config.status: creating scripts/mercury.bat config.status: creating scripts/mprof config.status: creating scripts/mprof.bat config.status: creating scripts/mercury_update_interface config.status: creating scripts/mgnuc config.status: creating scripts/ml config.status: creating scripts/c2init config.status: creating scripts/mmake config.status: creating scripts/mdb config.status: creating scripts/mdb.bat config.status: creating scripts/mdprof config.status: creating scripts/mtags config.status: creating scripts/canonical_grade config.status: creating scripts/mkfifo_using_mknod config.status: creating scripts/mercury_config config.status: creating scripts/prepare_install_dir config.status: creating tools/lmc config.status: creating tools/dotime config.status: creating runtime/mercury_conf.h config.status: executing default commands the set of library grades to install will be hlc.gc reg.gc reg.gc.debug reg.gc.decldebug Configuring to install 4 grades. This will likely take 40 to 120 minutes. You can make the install faster by installing fewer grades as shown by the fine-tuning section of the INSTALL file or by compiling the files of each grade in parallel which you can do via a command such as make PARALLEL=-j2 install.