[m-dev.] Installation + re-installation
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Sep 8 11:29:30 AEDT 2000
On 07-Sep-2000, Ralph Becket <rbeck at microsoft.com> wrote:
> Two things.
>
> First, I suggest adding something like the following to the INSTALL
> file:
> <<<
> If you have problems installing a new version of the compiler,
> you may find it helpful to either completely remove any existing
> versions of the compiler reachable on your PATH or, less drastically,
> alter your PATH variable so that any existing version of the mercury
> compiler is not accessible for the purposes of installing the new
> version.
> >>>
> I, for one, have never managed a successful install without first
> fixing my PATH.
>
> I'd also add a clarification
> <<<
> If you use the `--prefix' option to configure, be aware that `mercury'
> is not automatically appended. That is, `--prefix=/usr/local' will
> put files in /usr/local/bin, /usr/local/lib et cetera, *not*
> /usr/local/mercury/bin, /usr/local/mercury/lib.
> >>>
Both of those sound like good ideas.
Would you like to go ahead and add those snippets to the .INSTALL.in file?
> Second, and I know I've asked this one before and I've forgotten the
> answer *again*, what's the fastest, most painless way to test a
> change made to, say, list.m?
Just copy the modified version of list.m into the same directory as
the test program, and then do `mmc test.m list.m && ./test' or
`mmake test.depend && mmake test && ./test'.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list