[m-users.] Installation of the compiler fails

Julien Fischer jfischer at opturion.com
Sat Nov 12 20:06:29 AEDT 2022


Hi,

On Sat, 12 Nov 2022, Volker Wysk wrote:

> I'm trying to build MMC from scratch, without an existing Mercury
> installation. This is how I configured the sources:
>
> ./configure --enable-mm-grades \
>            --disable-java-grade \
>            --disable-csharp-grade \
>            --enable-additional-
> libgrades=asm_fast.par.gc.debug.stseg,asm_fast.par.gc.decldebug.stseg \
>            --prefix=/usr/local/lib/mercury-srcdist-rotd-2022-11-11
>
> The "configure" step outputs the grades to install:
>
> the set of library grades to install will be
>   asm_fast.gc
>   asm_fast.gc.debug.stseg
>   asm_fast.gc.decldebug.stseg
>   asm_fast.gc.memprof
>   asm_fast.gc.mmsc
>   asm_fast.gc.mmsc.debug
>   asm_fast.gc.prof
>   asm_fast.gc.profdeep.stseg
>   asm_fast.gc.tr
>   asm_fast.gc.tr.debug.stseg
>   asm_fast.par.gc.debug.stseg
>   asm_fast.par.gc.decldebug.stseg
>   asm_fast.par.gc.stseg
>   hlc.gc
>   hlc.gc.tr
>   hlc.par.gc
>
> I've added the grades asm_fast.par.gc.debug.stseg and
> asm_fast.par.gc.decldebug.stseg. The full "configure" log is attached.
>
> In the install step I get:
>
> gmake[2]: *** [/tmp/mmake.ars3MT:105923: integer.c_date] Fehler 1
> gmake[2]: *** Auf noch nicht beendete Prozesse wird gewartet …
> gmake[2]: Verzeichnis „/usr/local/src/mercury-srcdist-rotd-2022-11-
> 11/install_grade_dir.asm_fast.par.gc.decldebug.stseg/library“ wird verlassen
> To clean up from failed install, remove /usr/local/src/mercury-srcdist-rotd-
> 2022-11-11/install_grade_dir.asm_fast.par.gc.decldebug.stseg
> gmake[1]: *** [/tmp/mmake.dt2CYU:1464: install_grades] Fehler 1
> gmake[1]: Verzeichnis „/usr/local/src/mercury-srcdist-rotd-2022-11-11“ wird
> verlassen
> make: *** [Makefile:34: install] Fehler 2
>
> ("Fehler" means "error", "wird verlassen" means "is being left") I haven't
> attached the "make install" log, because it is too big. Instead, I've uploaded it here:
>
> https://volker-wysk.de/tmp/make_install.log
>
> And I've attached the log of the "make" step.

The actual issue will probably be reported in

/usr/local/src/mercury-srcdist-rotd-2022-11-11/install_grade_dir.asm_fast.par.gc.decldebug.stseg/library/integer.err

(or possibly one of the other .err or .dep_err files in the that
directory.)

Mixing .par and .debug (or .decldebug) grades isn't really supported, so
if I had to hazard a guess that's likely to be the issue here.

Julien.


More information about the users mailing list