ubuntuでのmongrelのインストールトラブル
Ubuntu 6.10 “Edgy Eft” でmongrelを入れる際、
Select which gem to install for your platform (i486-linux) 1. fastthread 1.0 (ruby) 2. fastthread 1.0 (mswin32) 3. fastthread 0.6.4.1 (mswin32) 4. fastthread 0.6.4.1 (ruby) 5. Skip this gem 6. Cancel installation > 1 Building native extensions. This could take a while... ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. ruby extconf.rb install mongrel creating Makefile make gcc -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c fastthread.c In file included from fastthread.c:12: /usr/lib/ruby/1.8/i486-linux/ruby.h:28:21: error: stdlib.h: No such file or directory Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fastthread-1.0 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/fastthread-1.0/ ext/fastthread/gem_make.out
こんなエラーにあいました。
理由は、build-essentialをインストールしてなかったからなのでした。
すっかり忘れてました。
http://www.urbanpuddle.com
英語をどうにか読みながら、ようやく思い出しました。
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments
コメントはまだありません。
コメントする