Search code examples
tensorflowautoconfmacos-sierraandroid-build

Error while building tensorflow


I am getting 'autoreconf missing error' while building tensorflow from android studio.

OS: MacOs Sierra.

+ autoreconf -f -i -Wall,no-obsolete
./autogen.sh: line 48: autoreconf: command not found

:TensorFlow-Android-Inference:buildTensorflow FAILED

FAILURE: Build failed with an exception.

How can I fix this? Tried brew install autoconf but it didn't work.

SOLUTION: fix task buildTensorflow's environment line (added /usr/local/bin:)


Solution

  • Solved by the OP: The task in which you build TensorFlow needed to have /usr/local/bin in the PATH for task buildTensorflow's environment.