{"action":"created","issue":{"url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/30","repository_url":"https://api.github.com/repos/twelve17/openalpr-ios","labels_url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/30/comments","events_url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/30/events","html_url":"https://github.com/twelve17/openalpr-ios/issues/30","id":188327114,"number":30,"title":"Failure in building leptonica (and others) - MacOS Sierra issues","user":{"login":"imodude","id":23221629,"avatar_url":"https://avatars.githubusercontent.com/u/23221629?v=3","gravatar_id":"","url":"https://api.github.com/users/imodude","html_url":"https://github.com/imodude","followers_url":"https://api.github.com/users/imodude/followers","following_url":"https://api.github.com/users/imodude/following{/other_user}","gists_url":"https://api.github.com/users/imodude/gists{/gist_id}","starred_url":"https://api.github.com/users/imodude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imodude/subscriptions","organizations_url":"https://api.github.com/users/imodude/orgs","repos_url":"https://api.github.com/users/imodude/repos","events_url":"https://api.github.com/users/imodude/events{/privacy}","received_events_url":"https://api.github.com/users/imodude/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-09T19:08:59Z","updated_at":"2016-11-19T14:10:25Z","closed_at":null,"body":"The build_framework.rb managed to build the opencv2.framework, but fails when it comes to leoptonica....\r\n\r\nBuilding leptonica for i386 from /Users/ian/Dev/openalpr-ios/openalpr-ios/work/leptonica-1.71\r\nconfigure: error: in `/Users/ian/Dev/openalpr-ios/openalpr-ios/work/leptonica-1.71':\r\nconfigure: error: cannot run C compiled programs.\r\nIf you meant to cross compile, use `--host'.\r\nSee `config.log' for more details\r\nbundler: failed to load command: bin/build_frameworks.rb (bin/build_frameworks.rb)\r\nRuntimeError: Child returned: pid 82080 exit 1\r\n  /Users/ian/Dev/openalpr-ios/openalpr-ios/lib/alpr/utils.rb:44:in `execute'\r\n  /Users/ian/Dev/openalpr-ios/openalpr-ios/lib/alpr/utils.rb:74:in `log_execute'\r\n  /Users/ian/Dev/openalpr-ios/openalpr-ios/lib/alpr/package/automake.rb:147:in `do_autoconf_build'\r\n  /Users/ian/Dev/openalpr-ios/openalpr-ios/lib/alpr/package/automake.rb:58:in `build_arch'\r\n  /Users/ian/Dev/openalpr-ios/openalpr-ios/lib/alpr/package/base.rb:53:in `block in install'\r\n  /Users/ian/Dev/openalpr-ios/openalpr-ios/lib/alpr/package/base.rb:52:in `each'\r\n  /Users/ian/Dev/openalpr-ios/openalpr-ios/lib/alpr/package/base.rb:52:in `install'\r\n  bin/build_frameworks.rb:69:in `<top (required)>'\r\n\r\n\r\nLooking in the leptonica config.log, I see this:\r\n\r\ndyld: mach-o, but built for simulator (not macOS)\r\n./configure: line 2878: 82300 Abort trap: 6           ./conftest$ac_cv_exeext\r\nconfigure:2880: $? = 134\r\nconfigure:2887: error: in `/Users/ian/Dev/openalpr-ios/openalpr-ios/work/leptonica-1.71':\r\nconfigure:2889: error: cannot run C compiled programs.\r\n\r\n\r\nAny clues appreciated - I'm fairly new to ruby and brew and downloading frameworks.\r\n\r\nThanks, Ian\r\n"},"comment":{"url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/comments/261715977","html_url":"https://github.com/twelve17/openalpr-ios/issues/30#issuecomment-261715977","issue_url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/30","id":261715977,"user":{"login":"wicheda","id":95243,"avatar_url":"https://avatars.githubusercontent.com/u/95243?v=3","gravatar_id":"","url":"https://api.github.com/users/wicheda","html_url":"https://github.com/wicheda","followers_url":"https://api.github.com/users/wicheda/followers","following_url":"https://api.github.com/users/wicheda/following{/other_user}","gists_url":"https://api.github.com/users/wicheda/gists{/gist_id}","starred_url":"https://api.github.com/users/wicheda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wicheda/subscriptions","organizations_url":"https://api.github.com/users/wicheda/orgs","repos_url":"https://api.github.com/users/wicheda/repos","events_url":"https://api.github.com/users/wicheda/events{/privacy}","received_events_url":"https://api.github.com/users/wicheda/received_events","type":"User","site_admin":false},"created_at":"2016-11-19T14:10:25Z","updated_at":"2016-11-19T14:10:25Z","body":"I've been experiencing the exact same issues regarding Sierra, does anyone with a deeper knowledge then me know of a potential solution to get openalpr built? Thanks in advance."}}
{"actor":{"display_login":"wicheda"}}