質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

Docker

Dockerは、Docker社が開発したオープンソースのコンテナー管理ソフトウェアの1つです

Bitcoin

Bitcoinは、インターネット上で流通している電子マネーです。P2Pネットワークを通じた安価な決済コストが実現できる一方、取引時の危険性や闇市場・資金洗浄など不正取引の温床といった法的問題も抱えています。

Q&A

0回答

1610閲覧

ubuntu環境へのOpenAssetのインストール

yukinkosan

総合スコア5

Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

Docker

Dockerは、Docker社が開発したオープンソースのコンテナー管理ソフトウェアの1つです

Bitcoin

Bitcoinは、インターネット上で流通している電子マネーです。P2Pネットワークを通じた安価な決済コストが実現できる一方、取引時の危険性や闇市場・資金洗浄など不正取引の温床といった法的問題も抱えています。

0グッド

0クリップ

投稿2017/12/29 10:14

###前提・実現したいこと
Ubunts(バージョン14.04.5 LTS)にOpenAssetをインストールしようと試みています。

###発生している問題・エラーメッセージ

root@f4e1d94c6524:~# gem install openassets-ruby Building native extensions. This could take a while... ERROR: Error installing openassets-ruby: ERROR: Failed to build gem native extension. current directory: /var/lib/gems/2.4.0/gems/ffi-1.9.18/ext/ffi_c /usr/bin/ruby2.4 -r ./siteconf20171229-494-dxon6r.rb extconf.rb checking for ffi.h... no checking for ffi.h in /usr/local/include,/usr/include/ffi... no checking for shlwapi.h... no checking for rb_thread_blocking_region()... no checking for rb_thread_call_with_gvl()... yes checking for rb_thread_call_without_gvl()... yes checking for ffi_prep_cif_var()... no creating extconf.h creating Makefile current directory: /var/lib/gems/2.4.0/gems/ffi-1.9.18/ext/ffi_c make "DESTDIR=" clean sh: 1: make: not found current directory: /var/lib/gems/2.4.0/gems/ffi-1.9.18/ext/ffi_c make "DESTDIR=" sh: 1: make: not found make failed, exit code 127 Gem files will remain installed in /var/lib/gems/2.4.0/gems/ffi-1.9.18 for inspection. Results logged to /var/lib/gems/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.9.18/gem_make.out

###該当のソースコード

gem install openassets-ruby

###試したこと
こちらのサイトを参考にしてbundlerでインストールしようとしました。

root@f4e1d94c6524:~# git clone https://github.com/haw-itn/openassets-ruby.git Cloning into 'openassets-ruby'... remote: Counting objects: 2395, done. remote: Total 2395 (delta 0), reused 0 (delta 0), pack-reused 2395 Receiving objects: 100% (2395/2395), 439.93 KiB | 400.00 KiB/s, done. Resolving deltas: 100% (1313/1313), done. Checking connectivity... done. root@f4e1d94c6524:~# cd openassets-ruby root@f4e1d94c6524:~/openassets-ruby# bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/........ Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Using rake 10.5.0 Using addressable 2.4.0 Using backports 3.11.0 Using bitcoin-ruby 0.0.14 Using bundler 1.16.1 Using diff-lcs 1.3 Fetching unf_ext 0.0.7.4 Installing unf_ext 0.0.7.4 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /var/lib/gems/2.4.0/gems/unf_ext-0.0.7.4/ext/unf_ext /usr/bin/ruby2.4 -r ./siteconf20171229-605-42f.rb extconf.rb checking for -lstdc++... yes creating Makefile current directory: /var/lib/gems/2.4.0/gems/unf_ext-0.0.7.4/ext/unf_ext make "DESTDIR=" clean sh: 1: make: not found current directory: /var/lib/gems/2.4.0/gems/unf_ext-0.0.7.4/ext/unf_ext make "DESTDIR=" sh: 1: make: not found make failed, exit code 127 Gem files will remain installed in /var/lib/gems/2.4.0/gems/unf_ext-0.0.7.4 for inspection. Results logged to /var/lib/gems/2.4.0/extensions/x86_64-linux/2.4.0/unf_ext-0.0.7.4/gem_make.out An error occurred while installing unf_ext (0.0.7.4), and Bundler cannot continue. Make sure that `gem install unf_ext -v '0.0.7.4'` succeeds before bundling. In Gemfile: openassets-ruby was resolved to 0.6.6, which depends on rest-client was resolved to 1.8.0, which depends on http-cookie was resolved to 1.0.3, which depends on domain_name was resolved to 0.5.20170404, which depends on unf was resolved to 0.1.4, which depends on unf_ext

gem install unf_ext -v '0.0.7.4'という指示があったので実行しましたが、引き続きつまづき、立ち往生しています。

root@f4e1d94c6524:~/openassets-ruby# gem install unf_ext -v '0.0.7.4' Building native extensions. This could take a while... ERROR: Error installing unf_ext: ERROR: Failed to build gem native extension. current directory: /var/lib/gems/2.4.0/gems/unf_ext-0.0.7.4/ext/unf_ext /usr/bin/ruby2.4 -r ./siteconf20171229-679-1rlts8q.rb extconf.rb checking for -lstdc++... yes creating Makefile current directory: /var/lib/gems/2.4.0/gems/unf_ext-0.0.7.4/ext/unf_ext make "DESTDIR=" clean sh: 1: make: not found current directory: /var/lib/gems/2.4.0/gems/unf_ext-0.0.7.4/ext/unf_ext make "DESTDIR=" sh: 1: make: not found make failed, exit code 127 Gem files will remain installed in /var/lib/gems/2.4.0/gems/unf_ext-0.0.7.4 for inspection. Results logged to /var/lib/gems/2.4.0/extensions/x86_64-linux/2.4.0/unf_ext-0.0.7.4/gem_make.out

###補足情報(言語/FW/ツール等のバージョンなど)
ホストOS:Windows10
環境:Docker

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問