Menu

#42 configure: error: cannot run /bin/bash /config.sub

v1.0_(example)
closed-fixed
None
9
2016-12-08
2016-12-02
No
# git clone git://git.code.sf.net/p/bashdb/code git-bashdb
# cd git-bashdb
git-bashdb# git checkout release 4.3-0.92
Note: checking out 'release-4.4-0.92'.
...
HEAD is now at b5c4194... Get ready for release 4.3-0.92

git-bashdb# bash ./autogen.sh
 + Running autoreconf --install: libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in '.'.
libtoolize: You should add the contents of './libtool.m4' to 'aclocal.m4'.
libtoolize: You should add the contents of './ltoptions.m4' to 'aclocal.m4'.
libtoolize: You should add the contents of './ltsugar.m4' to 'aclocal.m4'.
libtoolize: You should add the contents of './ltversion.m4' to 'aclocal.m4'.
libtoolize: You should add the contents of './lt~obsolete.m4' to 'aclocal.m4'.
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
Makefile.am:65: warning: dir @DBGR_MAIN@: non-POSIX variable name
Makefile.am:65: (probably a GNU make extension)
Makefile.am:66: warning: notdir @DBGR_MAIN@: non-POSIX variable name
Makefile.am:66: (probably a GNU make extension)
Makefile.am:67: warning: dir $(OLD_DIR: non-POSIX variable name
Makefile.am:67: (probably a GNU make extension)
command/Makefile.am:3: warning: wildcard *.sh: non-POSIX variable name
command/Makefile.am:3: (probably a GNU make extension)
command/info_sub/Makefile.am:3: warning: wildcard *.sh: non-POSIX variable name
command/info_sub/Makefile.am:3: (probably a GNU make extension)
command/set_sub/Makefile.am:4: warning: wildcard *.sh: non-POSIX variable name
command/set_sub/Makefile.am:4: (probably a GNU make extension)
command/show_sub/Makefile.am:4: warning: wildcard *.sh: non-POSIX variable name
command/show_sub/Makefile.am:4: (probably a GNU make extension)
init/Makefile.am:2: warning: wildcard *.sh: non-POSIX variable name
init/Makefile.am:2: (probably a GNU make extension)
lib/Makefile.am:2: warning: wildcard *.sh: non-POSIX variable name
lib/Makefile.am:2: (probably a GNU make extension)
test/unit/Makefile.am:2: warning: wildcard test-*.sh: non-POSIX variable name
test/unit/Makefile.am:2: (probably a GNU make extension)
test/unit/Makefile.am:3: warning: notdir $(COMBINED_TESTS: non-POSIX variable name
test/unit/Makefile.am:3: (probably a GNU make extension)
done.
Running ./configure --enable-maintainer-mode ...
configure: error: cannot run /bin/bash /config.sub

Discussion

  • Jean-christophe Manciot

    If I change all occurrences of $ac_aux_dir by . in configure, the error does not show up anymore.

     
  • Rocky Bernstein

    Rocky Bernstein - 2016-12-08

    Should be fixed now.

     
  • Rocky Bernstein

    Rocky Bernstein - 2016-12-08
    • status: open --> closed-fixed
    • assigned_to: Rocky Bernstein
     

Log in to post a comment.