[Mono-list] mono compile problem

Dick Porter dick@ximian.com
02 May 2003 19:07:33 +0100


On Fri, 2003-05-02 at 17:09, Jim Kerr wrote:
> ../../mono/io-layer/wapi-private.h:25:2: #error configure failed to
> discover size of unix socket path
> 
>  The header file in question checks if the value of MONO_SIZEOF_SUNPATH is
> zero, and displays this error if it is. I tried running configure again,
> but it did not help. Do I need to supply some arguments to configure to
> work around this?

You need to figure out what configure needs to do to find the size of
the data structure it needs.  It's probably a missing library in the
check that is being compiled.

Look in config.log and search for sun_path.  There might be some clues
in the compiler output there.

If you figure out what needs to be added, please let us know.

> 
> 2) Being the impatient sort, I commented out the check in wapi-private.h
> and ran make again.

You will get strange runtime errors if you do this (the shared memory
file will be corrupt.)

>  The compile ran for about two hours before I realized
> it was cycling endlessly:
> 
> make[2]: *** Warning: File `Makefile.am' has modification time in the
> future (2003-05-02 08:36:15 > 2003-05-02 07:47:15)
>   Any idea what could cause this?

Your system clock is wrong and some CVS files have datestamps that are
later than your current system time.

- Dick