Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make failure with 'configure: error: cannot run /bin/sh ./../../config.sub' #86

Open
anlongfei opened this issue Dec 25, 2019 · 1 comment

Comments

@anlongfei
Copy link

$make
make all-am
make[1]: Entering directory /home/longfei.alf/autofdo' echo "[MAKE] Building protobuf" [MAKE] Building protobuf (cd third_party/protobuf/; CC="gcc" CXX="g++" LDFLAGS=" -g " CPPFLAGS=" -g " ./configure --disable-shared --enable-static ) checking whether to enable maintainer-specific portions of Makefiles... yes configure: error: cannot run /bin/sh ./../../config.sub make[1]: *** [third_party/protobuf/src/protoc] Error 127 make[1]: Leaving directory /home/longfei.alf/autofdo'
make: *** [all] Error 2

@anlongfei
Copy link
Author

$make
make all-am
make[1]: Entering directory /home/longfei.alf/autofdo' echo "[MAKE] Building protobuf" [MAKE] Building protobuf (cd third_party/protobuf/; CC="gcc" CXX="g++" LDFLAGS=" -g " CPPFLAGS=" -g " ./configure --disable-shared --enable-static ) checking whether to enable maintainer-specific portions of Makefiles... yes configure: error: cannot run /bin/sh ./../../config.sub make[1]: *** [third_party/protobuf/src/protoc] Error 127 make[1]: Leaving directory /home/longfei.alf/autofdo'
make: *** [all] Error 2

my steps is:

  • aclocal -I .; autoheader; autoconf; automake --add-missing -c
  • ./configure
  • make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant