bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make distclean breaks "later "configure && makes"", i.e., removes a file


From: Michael Felt
Subject: make distclean breaks "later "configure && makes"", i.e., removes a file in distro that a build needs (cannot process parse.y)
Date: Wed, 14 Feb 2018 13:03:05 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

I can down the distribution, e.g. ftp://ftp.gnu.org/gnu/bash/bash-4.4.18.tar.gz, unpack it, goto base directory and run configure.

Thought I had reported this earlier, but guess not!

If after a successful build, I run "make distclean" - "./configure && make"  no longer works.

e.g.:

root@x065:[/data/prj/gnu/bash/bash-4.4.19]make distclean
        rm -f shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o   dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o  expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o  trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o  alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o  bashline.o  list.o stringlib.o locale.o findcmd.o redir.o  pcomplete.o pcomplib.o syntax.o xmalloc.o  bash bashbug
        rm -f .build .made version.h
...
        rm -f config.h config.cache config.status config.log stamp-h po/POTFILES config.status.lineno tags TAGS         rm -f signames.h recho zecho printenv  tests/recho tests/zecho  tests/printenv xcase tests/xcase  mksignames lsignames.h  mksyntax syntax.c bashversion bashversion.o buildversion.o mksignames.o signames.o buildsignames.o Makefile Makefile builtins/Makefile doc/Makefile  lib/readline/Makefile lib/glob/Makefile  lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile  lib/termcap/Makefile examples/loadables/Makefile  examples/loadables/Makefile.inc examples/loadables/perl/Makefile support/Makefile lib/intl/Makefile po/Makefile po/Makefile.in pathnames.h

root@x065:[/data/prj/gnu/bash/bash-4.4.19]CPPFLAGS="-I/opt/include" CFLAGS="-I/opt/aixtools/include -O2 -qmaxmem=-1 -qarch=pwr5"\
        ./configure\
                --prefix=/opt/aixtools \
                --sysconfdir=/var/bash/etc\
                --sharedstatedir=/var/bash/com\
                --localstatedir=/var/bash\
                --mandir=/usr/share/man\
                --infodir=/opt/share/info/bash \
                        > .buildaix/configure.out
configure: WARNING: bison not available; needed to process parse.y
+ /usr/bin/make > .buildaix/make.out
yacc: not found

make: 1254-004 The error code from the last command is 1.


Stop.
/usr/bin/make returned an error


reply via email to

[Prev in Thread] Current Thread [Next in Thread]