めでたく MIT ライセンスでソース公開となった Livedoor Reader の英語版 「Fastladder」 を Fedora 7 にインストール。
追記の手順でほぼインストールできるようですが、Fedora の場合は libfreeimage が無いといって、サーバが起動しませんでした。
libfreeimage を別途コンパイルする必要がありそうです。
というところで suspend 。
インストール手順
yum で以下のパッケージをインストール
# yum install rubygems ruby-devel sqlite-devel
ちなみにコンテンツ・プランナーのサーバでは、各パッケージの依存は次のようでした。
環境によっては Installing for dependencies が増えると思います。
yum deplist rubygems ruby-devel sqlite-devel
で調べてみてください。
Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: ruby-devel i386 1.8.6.111-1.fc7 updates 563 k rubygems noarch 0.9.4-1.fc7 updates 498 k sqlite-devel i386 3.4.2-1.fc7 updates 312 k Installing for dependencies: ruby i386 1.8.6.111-1.fc7 updates 512 k ruby-irb i386 1.8.6.111-1.fc7 updates 70 k ruby-libs i386 1.8.6.111-1.fc7 updates 1.7 M ruby-rdoc i386 1.8.6.111-1.fc7 updates 135 k
続いて gem で以下のパッケージをインストール
多肢選択は “(ruby)” の環境を選び、依存関係は全て “y” を指定します。
# for ff in rails rfeedfinder feed-normalizer opml mongrel sqlite3-ruby ; do echo ==== INSTALL $ff ====; gem install $ff ; done
実行結果は次のようになります。
==== INSTALL rails ==== Install required dependency rake? [Yn] y Install required dependency activesupport? [Yn] y Install required dependency activerecord? [Yn] y Install required dependency actionpack? [Yn] y Install required dependency actionmailer? [Yn] y Install required dependency activeresource? [Yn] y Successfully installed rails-2.0.2 Successfully installed rake-0.8.1 Successfully installed activesupport-2.0.2 Successfully installed activerecord-2.0.2 Successfully installed actionpack-2.0.2 Successfully installed actionmailer-2.0.2 Successfully installed activeresource-2.0.2 Installing ri documentation for rake-0.8.1 Installing ri documentation for activesupport-2.0.2 Installing ri documentation for activerecord-2.0.2 Installing ri documentation for actionpack-2.0.2 Installing ri documentation for actionmailer-2.0.2 Installing ri documentation for activeresource-2.0.2 Installing RDoc documentation for rake-0.8.1 Installing RDoc documentation for activesupport-2.0.2 Installing RDoc documentation for activerecord-2.0.2 Installing RDoc documentation for actionpack-2.0.2 Installing RDoc documentation for actionmailer-2.0.2 Installing RDoc documentation for activeresource-2.0.2 ==== INSTALL rfeedfinder ==== Install required dependency hpricot? [Yn] y Select which gem to install for your platform (i386-linux) 1. hpricot 0.6 (jruby) 2. hpricot 0.6 (ruby) 3. hpricot 0.6 (mswin32) 4. Skip this gem 5. Cancel installation > 2 Building native extensions. This could take a while Install required dependency htmlentities? [Yn] y Successfully installed rfeedfinder-0.9.11 Successfully installed hpricot-0.6 Successfully installed htmlentities-4.0.0 Installing ri documentation for rfeedfinder-0.9.11 Installing ri documentation for hpricot-0.6 Installing ri documentation for htmlentities-4.0.0 Installing RDoc documentation for rfeedfinder-0.9.11 Installing RDoc documentation for hpricot-0.6 Installing RDoc documentation for htmlentities-4.0.0 ==== INSTALL feed-normalizer ==== Need to update 12 gems from http://gems.rubyforge.org complete Install required dependency simple-rss? [Yn] y Install required dependency hoe? [Yn] y Install required dependency rubyforge? [Yn] y Successfully installed feed-normalizer-1.5.1 Successfully installed simple-rss-1.1 Successfully installed hoe-1.5.0 Successfully installed rubyforge-0.4.4 Installing ri documentation for feed-normalizer-1.5.1 Installing ri documentation for simple-rss-1.1 Installing ri documentation for hoe-1.5.0 Installing ri documentation for rubyforge-0.4.4 Installing RDoc documentation for feed-normalizer-1.5.1 Installing RDoc documentation for simple-rss-1.1 Installing RDoc documentation for hoe-1.5.0 Installing RDoc documentation for rubyforge-0.4.4 ==== INSTALL opml ==== Successfully installed opml-1.0.0- ==== INSTALL mongrel ==== Select which gem to install for your platform (i386-linux) 1. mongrel 1.1.3 (java) 2. mongrel 1.1.3 (i386-mswin32) 3. mongrel 1.1.3 (ruby) 4. mongrel 1.1.2 (ruby) 5. mongrel 1.1.2 (mswin32) 6. mongrel 1.1.2 (java) 7. Skip this gem 8. Cancel installation > 3 Install required dependency gem_plugin? [Yn] y Install required dependency daemons? [Yn] y Install required dependency fastthread? [Yn] y Select which gem to install for your platform (i386-linux) 1. fastthread 1.0.1 (mswin32) 2. fastthread 1.0.1 (i386-mswin32) 3. fastthread 1.0.1 (ruby) 4. Skip this gem 5. Cancel installation > 3 Building native extensions. This could take a while Install required dependency cgi_multipart_eof_fix? [Yn] y Building native extensions. This could take a while Successfully installed mongrel-1.1.3 Successfully installed gem_plugin-0.2.3 Successfully installed daemons-1.0.9 Successfully installed fastthread-1.0.1 Successfully installed cgi_multipart_eof_fix-2.5.0 Installing ri documentation for mongrel-1.1.3 Installing ri documentation for gem_plugin-0.2.3 Installing ri documentation for daemons-1.0.9 Installing ri documentation for fastthread-1.0.1 No definition for dummy_dump No definition for dummy_dump No definition for rb_queue_marshal_load No definition for rb_queue_marshal_dump Installing ri documentation for cgi_multipart_eof_fix-2.5.0 Installing RDoc documentation for mongrel-1.1.3 Installing RDoc documentation for gem_plugin-0.2.3 Installing RDoc documentation for daemons-1.0.9 Installing RDoc documentation for fastthread-1.0.1 No definition for dummy_dump No definition for dummy_dump No definition for rb_queue_marshal_load No definition for rb_queue_marshal_dump Installing RDoc documentation for cgi_multipart_eof_fix-2.5.0 ==== INSTALL sqlite3-ruby ==== Select which gem to install for your platform (i386-linux) 1. sqlite3-ruby 1.2.1 (mswin32) 2. sqlite3-ruby 1.2.1 (ruby) 3. sqlite3-ruby 1.2.0 (mswin32) 4. sqlite3-ruby 1.2.0 (ruby) 5. Skip this gem 6. Cancel installation > 2 Building native extensions. This could take a while Successfully installed sqlite3-ruby-1.2.1 Installing ri documentation for sqlite3-ruby-1.2.1 Installing RDoc documentation for sqlite3-ruby-1.2.1
起動してみたところ、libfreeimage が無いとエラーが出てしまいました。yum では探せなかったので、ソースからコンパイルする必要があるかもしれません。
と言うところで一旦中断。