compile error

Hi,

I am trying build the ios app detailed in https://petewarden.com/2016/09/27/tensorflow-for-mobile-poets/


but it fails with:



checking whether we are cross compiling... configure: error: in `/projects/tensorflow/tensorflow/tensorflow/contrib/makefile/downloads/protobuf':

configure: error: cannot run C compiled programs.

If you meant to cross compile, use `--host'.

See `config.log' for more details


system details;

macos sierra, 10.12


brew config output: Any pointers will be appreciated.


MacBook-Pro:tensorflow deshanejoseph$ brew config

HOMEBREW_VERSION: 1.0.6

ORIGIN: https:/

HEAD: 35ee2831086e923e7fcaf75fb440b01312e3f9c5

Last commit: 7 days ago

Core tap ORIGIN: https:/

Core tap HEAD: 80f18defefc814d60d3799e58835cbeffc8e93c8

Core tap last commit: 2 hours ago

HOMEBREW_PREFIX: /usr/local

HOMEBREW_REPOSITORY: /usr/local/Homebrew

HOMEBREW_CELLAR: /usr/local/Cellar

HOMEBREW_BOTTLE_DOMAIN: https:/

CPU: quad-core 64-bit broadwell

Homebrew Ruby: 2.0.0-p648

Clang: 8.0 build 800

Git: 2.8.4 => /Applications/Xcode.app/Contents/Developer/usr/bin/git

Perl: /usr/bin/perl

Python: /usr/bin/python

Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby

Java: 1.8.0_60

macOS: 10.12-x86_64

Xcode: 8.0

CLT: 8.0.0.0.1.1472435881

X11: N/A

Hi,


Seems like the problem was fixed. I've submitted patch to TF. Here is my explanation: https://github.com/tensorflow/tensorflow/pull/5668

compile error
 
 
Q