Skip to content

Instantly share code, notes, and snippets.

@sh4869
Created March 11, 2014 06:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sh4869/9480673 to your computer and use it in GitHub Desktop.
Save sh4869/9480673 to your computer and use it in GitHub Desktop.
Bundleでqtbindingsをインストールした際に発生したエラー
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
make
mkdir ext/build
mkdir bin/1.9
mkdir bin/2.0
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/1.9
mkdir lib/2.0
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: `*' を削除できません: そのようなファイルやディレクトリはありません
make: [clean] エラー 1 (無視されました)
cd ext/build; \
cmake \
-G "Unix Makefiles" \
-Wno-dev \
-DENABLE_SMOKE=on \
-DENABLE_QTCORE_SMOKE=on \
-DENABLE_QTNETWORK_SMOKE=on \
-DENABLE_QTDBUS_SMOKE=on \
-DENABLE_QTGUI_SMOKE=on \
-DENABLE_QTSVG_SMOKE=on \
-DENABLE_QTSQL_SMOKE=on \
-DENABLE_QTXML_SMOKE=on \
-DENABLE_QTXMLPATTERNS_SMOKE=on \
-DENABLE_QTOPENGL_SMOKE=on \
-DENABLE_QTWEBKIT_SMOKE=on \
-DENABLE_QTSCRIPT_SMOKE=on \
-DENABLE_QTUITOOLS_SMOKE=on \
-DENABLE_QTTEST_SMOKE=on \
-DENABLE_QTMULTIMEDIA_SMOKE=on \
-DENABLE_QTRUBY=on \
-DENABLE_QTWEBKIT_RUBY=on \
-DENABLE_QTUITOOLS_RUBY=on \
-DENABLE_QTSCRIPT=on \
-DENABLE_QTTEST=on \
..
/bin/sh: 2: cmake: not found
make: [build] エラー 127 (無視されました)
cd ext/build; make
make[1]: ディレクトリ `/var/lib/gems/1.9.1/gems/qtbindings-4.8.5.2/ext/build' に入ります
make[1]: *** ターゲットが指定されておらず, makefile も見つかりません. 中止.
make[1]: ディレクトリ `/var/lib/gems/1.9.1/gems/qtbindings-4.8.5.2/ext/build' から出ます
make: *** [build] エラー 2
Gem files will remain installed in /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.2 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/qtbindings-4.8.5.2/./gem_make.out
An error occurred while installing qtbindings (4.8.5.2), and Bundler cannot continue.
Make sure that `gem install qtbindings -v '4.8.5.2'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment