Re: HELP : Error while building gnumach
David Michael <[email protected]> Mon, 13 Oct 2014 07:58:00 -0400
| Newsgroups | gmane.os.hurd.bugs,gmane.os.hurd.general |
|---|---|
| Message-ID | <CAEvUa7nera1iw3Qiq5OPBUF+uQDui664SiDmUg-e-H4Xc75h-Q@mail.gmail.com> |
On Mon, Oct 13, 2014 at 1:57 AM, Thomas Schwinge <[email protected]> wrote: > Hi! > > On Sun, 12 Oct 2014 23:35:41 +0530, vibi sreenivasan <[email protected]> wrote: >> I am trying to build gnumach from git repo as per the instructions in >> https://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html > >> [...] >> checking for i686-unknown-linux-gnu-mig... no >> checking for mig... no >> configure: error: The MiG generator is required to build GNU Mach >> >> >> But link says that after configure, we have to install headers & then >> compile mig. >> >> Please let me know what i am doing wrong. > > This is due to: > > commit b28e05e203e0739fa5db59c5af378b29eea7a232 > Author: Samuel Thibault <[email protected]> > Date: Fri Apr 25 20:39:23 2014 +0200 > > Make sure mig is available > > * configure.ac (MIG): Error out if MiG was not found. > > We either have to update the instructions (first configure with »MIG=:« > (untested), then have to re-configure once MIG has been built), or revert > that commit. I've been using this configure command to install headers: ./configure CC='i686-pc-gnu-gcc -nostdlib' MIG=i686-pc-gnu-mig ... The configure script tries and fails to create executables before glibc is built, hence the "-nostdlib". It seems to be hard-coded to abort if MIG=:, but it doesn't look like it uses its value otherwise for installing the headers. Thanks. David