You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build nix from source to use a non-default nix store path. However, I get the following when I try to run the bootstrap.sh script inside the nix source dir.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /nix/store/ljslqprzcgm569kg2bvcrc65nl97gy3x-autoconf-2.64/bin/autoconf --force
configure.ac:83: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:110: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:118: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:187: error: possibly undefined macro: AC_SEARCH_LIBS
autoreconf: /nix/store/ljslqprzcgm569kg2bvcrc65nl97gy3x-autoconf-2.64/bin/autoconf failed with exit status: 1
Here is the list of packages I have in my environment
Just for the future: https://stackoverflow.com/a/37980772 describes how you might get a more specific error message (in my case the error vanished even). I'll ask if this is something to fix over at #3658.
Ah nevermind, I was missing autoconf-archive on my system. The stackoverflow idea was a dud. My fault for not checking the whole thing before commenting, sorry.
I was hit by the same issue; first tried multiple recipes from the Internet, but what worked is installing autoconf-archive, as suggested by @lspitzner. Thank you!
Hi,
I am trying to build nix from source to use a non-default nix store path. However, I get the following when I try to run the bootstrap.sh script inside the nix source dir.
Here is the list of packages I have in my environment
The text was updated successfully, but these errors were encountered: