dmayer / idb

idb is a tool to simplify some common tasks for iOS pentesting and research
MIT License
942 stars 156 forks source link

Error While installing #101

Open zibozeng opened 6 years ago

zibozeng commented 6 years ago
ERROR:  Error installing idb:
    ERROR: Failed to build gem native extension.

    current directory: /Users/sh/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.4
/Users/sh/.rvm/rubies/ruby-2.4.1/bin/ruby -r ./siteconf20180201-73406-4dc1vx.rb extconf.rb

current directory: /Users/sh/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.4
make "DESTDIR=" clean
mkdir ext/build
mkdir bin/2.4
mkdir bin/plugins
mkdir bin/plugins/accessible
mkdir bin/plugins/bearer
mkdir bin/plugins/codecs
mkdir bin/plugins/designer
mkdir bin/plugins/graphicssystems
mkdir bin/plugins/iconengines
mkdir bin/plugins/imageformats
mkdir bin/plugins/phonon_backend
mkdir bin/plugins/qmltooling
mkdir bin/plugins/sqldrivers
mkdir lib/2.4
cd ext/build; rm -rf CMakeFiles
cd ext/build; rm -rf generator
cd ext/build; rm -rf smoke
cd ext/build; rm -rf ruby
cd ext/build; rm *
rm: *: No such file or directory
make: [clean] Error 1 (ignored)

current directory: /Users/sh/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.4
make "DESTDIR="
mkdir ext/build
mkdir: ext/build: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/2.4
mkdir: bin/2.4: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins
mkdir: bin/plugins: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins/accessible
mkdir: bin/plugins/accessible: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins/bearer
mkdir: bin/plugins/bearer: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins/codecs
mkdir: bin/plugins/codecs: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins/designer
mkdir: bin/plugins/designer: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins/graphicssystems
mkdir: bin/plugins/graphicssystems: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins/iconengines
mkdir: bin/plugins/iconengines: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins/imageformats
mkdir: bin/plugins/imageformats: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins/phonon_backend
mkdir: bin/plugins/phonon_backend: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins/qmltooling
mkdir: bin/plugins/qmltooling: File exists
make: [makedirs] Error 1 (ignored)
mkdir bin/plugins/sqldrivers
mkdir: bin/plugins/sqldrivers: File exists
make: [makedirs] Error 1 (ignored)
mkdir lib/2.4
mkdir: lib/2.4: File exists
make: [makedirs] Error 1 (ignored)
cd ext/build; rm -rf CMakeFiles
cd ext/build; rm -rf generator
cd ext/build; rm -rf smoke
cd ext/build; rm -rf ruby
cd ext/build; rm *
rm: *: No such file or directory
make: [clean] Error 1 (ignored)
cd ext/build; \
cmake -DCMAKE_MINIMUM_REQUIRED_VERSION=2.6 \
-G "Unix Makefiles" \
-Wno-dev \
-DRUBY_EXECUTABLE=/Users/sh/.rvm/rubies/ruby-2.4.1/bin/ruby \
..
-- The C compiler identification is AppleClang 9.0.0.9000039
-- The CXX compiler identification is AppleClang 9.0.0.9000039
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindQt4.cmake:1320 (message):
  Found unsuitable Qt version "5.6.2" from /anaconda3/bin/qmake, this code
  requires Qt 4.x
Call Stack (most recent call first):
  generator/CMakeLists.txt:3 (find_package)

-- Configuring incomplete, errors occurred!
See also "/Users/sh/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.4/ext/build/CMakeFiles/CMakeOutput.log".
make: [build] Error 1 (ignored)
cd ext/build; make
make[1]: *** No targets specified and no makefile found.  Stop.
make: *** [build] Error 2

make failed, exit code 2

Gem files will remain installed in /Users/sh/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.4 for inspection.
Results logged to /Users/sh/.rvm/gems/ruby-2.4.1/extensions/x86_64-darwin-16/2.4.0/qtbindings-4.8.6.4/gem_make.out

I got this error when I enter "gem install idb" on the Terminal.

yulanggong commented 6 years ago

CMake Error at /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindQt4.cmake:1320 (message): Found unsuitable Qt version "5.6.2" from /anaconda3/bin/qmake, this code requires Qt 4.x

You may need install Qt 4.8.6