twelve17 / openalpr-ios

Xcode Framework for the openalpr library
GNU General Public License v3.0
116 stars 35 forks source link

bundler: failed to load command: ./bin/build_frameworks.rb (./bin/build_frameworks.rb) #31

Open burf2000 opened 7 years ago

burf2000 commented 7 years ago

A error that seems common but I not seen how to fix it

I run bundle exec ./bin/build_frameworks.rb

options: {} Package opencv2 is already installed. Skipping build. Package leptonica is already installed. Skipping build. Building tesseract for armv7 from /Users/burfies1/openalpr/openalpr-ios/work/tesseract-3.03 make: No rule to make target `clean'. Stop. make: No rule to make target distclean'. Stop. bundler: failed to load command: ./bin/build_frameworks.rb (./bin/build_frameworks.rb) RuntimeError: Child returned: pid 73905 exit 1 /Users/burfies1/openalpr/openalpr-ios/lib/alpr/utils.rb:44:inexecute' /Users/burfies1/openalpr/openalpr-ios/lib/alpr/utils.rb:74:in log_execute' /Users/burfies1/openalpr/openalpr-ios/lib/alpr/package/automake.rb:141:indo_autoconf_build' /Users/burfies1/openalpr/openalpr-ios/lib/alpr/package/automake.rb:58:in build_arch' /Users/burfies1/openalpr/openalpr-ios/lib/alpr/package/base.rb:53:inblock in install' /Users/burfies1/openalpr/openalpr-ios/lib/alpr/package/base.rb:52:in each' /Users/burfies1/openalpr/openalpr-ios/lib/alpr/package/base.rb:52:ininstall' /Users/burfies1/openalpr/openalpr-ios/bin/build_frameworks.rb:76:in `<top (required)>'

I am using latest xcode (8), have xcode command line tools install, cmake, autoconf etc

TheWildHorse commented 7 years ago

Same problem, did you find a fix @burf2000 ?

XiangXu commented 7 years ago

Same problem

emericspiroux commented 7 years ago

🆙

twelve17 commented 7 years ago

@emericspiroux PRs are welcome

GTMYang commented 6 years ago

bundle exec ./bin/build_frameworks.rb options: {} Package opencv2 is already installed. Skipping build. Building leptonica for armv7 from /Users/luoyang/openalpr-ios/work/leptonica-1.71 configure: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used configure: WARNING: using cross tools not prefixed with host triplet bundler: failed to load command: ./bin/build_frameworks.rb (./bin/build_frameworks.rb) RuntimeError: Child returned: pid 46968 exit 2 /Users/luoyang/openalpr-ios/lib/alpr/utils.rb:44:in execute' /Users/luoyang/openalpr-ios/lib/alpr/utils.rb:74:inlog_execute' /Users/luoyang/openalpr-ios/lib/alpr/package/automake.rb:147:in do_autoconf_build' /Users/luoyang/openalpr-ios/lib/alpr/package/automake.rb:58:inbuild_arch' /Users/luoyang/openalpr-ios/lib/alpr/package/base.rb:53:in block in install' /Users/luoyang/openalpr-ios/lib/alpr/package/base.rb:52:ineach' /Users/luoyang/openalpr-ios/lib/alpr/package/base.rb:52:in install' /Users/luoyang/openalpr-ios/bin/build_frameworks.rb:69:in<top (required)>'

federicocappelli commented 5 years ago

Same here :/ (Mojave, xcode 10.1)