unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 27080@debbugs.gnu.org
Subject: bug#27080: ¨make install" fails because of missing gawk
Date: Fri, 26 May 2017 15:53:14 +0200	[thread overview]
Message-ID: <920162d3-7548-5f22-21c3-893fd427e353@fastmail.net> (raw)
In-Reply-To: <87h907g9go.fsf@elephly.net>

Hi Ricardo,

Thanks for your reply!

> You did not run “./configure --localstatedir=/var”.

I did, in an earlier cycle. More precisely, I did

    ./configure --prefix=/opt/guix --localstatedir=/var

in order to prevent Guix from overwriting some of Ubuntu's system files.

In order to start from a clean slate, I now did

   guix environment guix
   make distclean
   ./bootstrap
   ./configure --prefix=/opt/guix --localstatedir=/var
   make check
   sudo make install

This fails even earlier, complaining about a missing makeinfo:

  make[2]: Entering directory '/home/hinsen/Development/guix'
    MAKEINFO doc/guix.info
  /home/hinsen/Development/guix/build-aux/missing: line 81: makeinfo: 
command not found

Checking config.log, I see that indeed makeinfo has not been found:

  MAKEINFO='${SHELL} /home/hinsen/Development/guix/build-aux/missing 
makeinfo'

However, it is available in my environment:

  ~/Development/guix [dev]$ which makeinfo
  /gnu/store/2kgp5d4wh40b49gp4qwqh2b4il29gq6g-profile/bin/makeinfo

There are a few other executables marked as missing:
  aclocal
  autoconf
  autoheader
  automake
  dot
  help2man

I started from scratch again, but added the paths for these executables 
manually to the generated Makefile, right after configure. That got me 
back to the error message that I got before:

  /bin/bash: line 5: gawk: command not found
  sed: couldn't write 47 items to stdout: Broken pipe
  /bin/bash: line 5: echo: write error: Broken pipe
  ...

However, config.log says:

  configure:2900: checking for gawk
  configure:2916: found 
/gnu/store/2kgp5d4wh40b49gp4qwqh2b4il29gq6g-profile/bin/gawk
  configure:2927: result: gawk

and Makefile contains

  AWK = gawk

Next, I replaced this line by

  AWK = /gnu/store/2kgp5d4wh40b49gp4qwqh2b4il29gq6g-profile/bin/gawk

and re-ran "make install". Success!

Conclusion: something is going wrong in configure.

Konrad.

  reply	other threads:[~2017-05-26 13:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-26  7:18 bug#27080: ¨make install" fails because of missing gawk Konrad Hinsen
2017-05-26 11:10 ` Ricardo Wurmus
2017-05-26 13:53   ` Konrad Hinsen [this message]
2017-05-26 14:56     ` Ricardo Wurmus
2017-05-26 16:01       ` Konrad Hinsen
2017-05-26 16:44         ` Ricardo Wurmus
2017-05-26 18:38           ` Konrad Hinsen
2017-05-26 20:27             ` Ricardo Wurmus
2017-05-28  9:22               ` Konrad Hinsen
2017-05-28 20:24                 ` Ludovic Courtès
2017-05-28 20:28     ` Ludovic Courtès
2017-05-29 14:47       ` Konrad Hinsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=920162d3-7548-5f22-21c3-893fd427e353@fastmail.net \
    --to=konrad.hinsen@fastmail.net \
    --cc=27080@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).