[m-users.] Installed mercury not detected by "configure"

Mark Green mgreen at brookes.ac.uk
Wed Feb 9 02:35:33 AEDT 2022


That does beg the question a bit though. You do not _need_ one, but that's
not the same as it being unable to _use_ one to save compiling the compiler
twice.

Mark


On Tue, 8 Feb 2022 at 12:59, Julien Fischer <jfischer at opturion.com> wrote:

>
> On Tue, 8 Feb 2022, Volker Wysk wrote:
>
> > I've unpacked mercury-srcdist-rotd-2022-02-07 and run "./configure ...".
> I
> > get this in the configure output:
> >
> > using grade 'asm_fast.gc' as the default grade for applications
> > configure: WARNING: Mercury compiler not yet installed -
> > ****    cannot use grade 'asm_fast.gc'
> > ****    using grade 'hlc.gc.pregen' to compile the compiler
> > ****    after installation is complete you may reinstall
> > ****    from scratch to have a faster compiler.
> > ****    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.
> >
> > But I *have* a working Mercury installed. Why isn't it found?
>
> It probably was found -- that will be earlier in the configure output.
> The problem is most likely that it is not sufficiently up-to-date.
>
> > I can call the compiler with "mmc", it's in the PATH.
>
> In any case, the whole point of the source distribution is that you do
> not need a Mercury compiler / an up-to-date Mercury compiler to be
> installed on your system in order to build it.
>
> Julien.
> _______________________________________________
> users mailing list
> users at lists.mercurylang.org
> https://lists.mercurylang.org/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20220208/e41f6fa4/attachment.html>


More information about the users mailing list