./configure --enable-java --enable-erlang && make && sudo make install<br><br>This terminates with:<br><br>mmc --generate-dependencies --grade asm_fast.gc.debug      --mercury-linkage shared --flags LIB_FLAGS   --flags INTER_FLAGS  --no-warn-nothing-exported --no-warn-unused-imports   mer_std<br>
mercury_compile: `--host-env-type posix` is incompatible with<br>  `--csharp-compiler-type microsoft'.<br>Mercury Compiler, version 11.07.1, configured for x86_64-unknown-linux-gnu<br>Copyright (C) 1993-2012 The University of Melbourne<br>
Usage: mmc [<options>] <arguments><br>Use `mmc --help' for more information.<br>make[2]: *** [mer_std.depend] Error 1<br>make[2]: Leaving directory `/home/michael/Development/Mercury/mercury-compiler-11.07.1/install_grade_dir.asm_fast.gc.debug/library'<br>
To clean up from failed install, remove /home/michael/Development/Mercury/mercury-compiler-11.07.1/install_grade_dir.asm_fast.gc.debug<br>make[1]: *** [install_grades] Error 1<br>make[1]: Leaving directory `/home/michael/Development/Mercury/mercury-compiler-11.07.1'<br>
make: *** [install] Error 2<br><br>This is all stuff which has been built on this very machine before, so something I've installed since then has confused the configure script into thinking I have the Microsoft C# compiler.  A few questions, though:<br>
<br>1. Why is --csharp-compiler-type microsoft being issued *at all* given that I didn't --enable-csharp-grade nor --enable-dotnet-grade?<br>2. How is configure managing to think I have the Microsoft C# compiler on a POSIX system?  (As in, why is configure even *LOOKING* for the Microsoft compiler on a POSIX system?)<br>
3. How do I fix this?<br clear="all"><br>#3 is the most important part because I'm absolutely show-stopped right now.  In a fit of stupidity I accidentally installed this over top of a working Mercury installation and now I have a completely broken setup.  Zapping the whole /usr/local/mercury* thing isn't fixing it.<br>
<br>-- <br>"Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot."<br>
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.<br>