[Mono-list] mono compile problem

Jim Kerr jbkerr@sonic.net
Fri, 2 May 2003 09:09:33 -0700 (PDT)


  I updated my mono sources from CVS last night for the first time in
about two weeks. When I tried to compile, two errors occurred:

1) Make reports a socket-related error:
In file included from ../../mono/io-layer/handles-private.h:16,
                 from daemon.c:26:
../../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?

2) Being the impatient sort, I commented out the check in wapi-private.h
and ran make again. The compile ran for about two hours before I realized
it was cycling endlessly:

cd .. && \
  /bin/sh /usr/src/mono/missing --run automake-1.6 --gnu  runtime/Makefile
cd .. && /bin/sh ./config.status runtime/Makefile
config.status: creating runtime/Makefile
make[2]: Leaving directory `/usr/src/mono/runtime'
make[2]: Entering directory `/usr/src/mono/runtime'
make[2]: *** Warning: File `Makefile.am' has modification time in the
future (2003-05-02 08:36:15 > 2003-05-02 07:47:15)
cd .. && \
  /bin/sh /usr/src/mono/missing --run automake-1.6 --gnu  runtime/Makefile
cd .. && /bin/sh ./config.status runtime/Makefile
config.status: creating runtime/Makefile
make[2]: Leaving directory `/usr/src/mono/runtime'
make[2]: Entering directory `/usr/src/mono/runtime'
make[2]: *** Warning: File `Makefile.am' has modification time in the
future (2003-05-02 08:36:15 > 2003-05-02 07:47:18)

  Any idea what could cause this?

  I even tried cleaning out the entire source tree and rerunning the build
script (mono/doc/mono-build.sh? I can't recall the exact name at the
moment), but to no avail. I'm running RedHat 8.0 with the latest updates
applied.

  Thanks in advance for any and all help!

Jim
-- 
Jim Kerr
Agilent Technologies, Inc.
Santa Rosa, CA