[m-users.] Building Mercury from source

Julien Fischer jfischer at opturion.com
Fri Aug 19 16:01:24 AEST 2016


Hi,

On Wed, 17 Aug 2016, Noah Scott Goldman wrote:

> Thanks for trying to help me with my compiler trouble. I've decided to
> try building Mercury from the "release of the day" source on MinGW-w64
> via MSYS2. I am using the MinGW-w64 version of GCC. Unfortunately,
> this approach has problems of its own. When I run
> 
> $ ./configure --host=x86_64-w64-mingw32 --with-cc=gcc --enable-minimal-install
> 
> I get a warning:
> 
> checking return values of system... no
> configure: WARNING: Unable to interpret return values from system

That test is checking for Unix specific behaviour which Windows doesn't
implement.   (We should probably just shut it up on Windows.)

> The script does successfully terminate; however, when I run make it
> usually fails. I have included the output of ./configure in a text
> file. From what I can gather, either I am missing some libraries that
> allows C to communicate with the terminal, or those commands are not
> making it to MSYS2. Any suggestions?

If you could post how it is failing, we may be able to help.

Julien.


More information about the users mailing list