When you have a group of rpm's to install, that depend on each other, I think you can get rpm to order them correctly this way. First, put just the rpm's you want to install or upgrade in a directory by themselves. Then cd to that directory, and run: rpm -Uvh *.rpm. At least that's worked for me in the past. Besides letting rpm take care of installing them in the right order, it gives you a longer coffee break while it sorts everything out. ;-)
<br><br>-- <br>Wes Sheldahl<br>Sheldahl Consulting LLC<br><a href="http://www.sheldahlconsulting.com">http://www.sheldahlconsulting.com</a><br><a href="mailto:wes@sheldahlconsulting.com">wes@sheldahlconsulting.com</a><br>
<br>On 10/16/06, <b class="gmail_sendername">Sven Meyer</b> <<a href="mailto:Mongrel-users_RoR_develop@svenmeyer.com">Mongrel-users_RoR_develop@svenmeyer.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Charles<br><br>many, many thanks for pointing that out to me - I really forgot to install<br><br>ruby-devel-1.8.4-1.c4.x86_64.rpm<br><br>- no it's working fine!<br><br>Problem was, I had to reorder the rpm's while installing, because some were dependent of other ones ... and then I must have forgotten one. ... Maybe I could have done that with one command instead and rpm commad would have figured out the right dependencies itself und would have reordered it automatically?
<br><br>Many thanks again,<br><br>Sven<br><br><br><br>Charles Brian Quinn wrote:<br>> I couldn't help but notice that you downloaded the ruby-devel package,<br>> but didn't install it....<br>><br>> unless you didn't include that line above....
<br>><br>> This would include the development (header) files for you, I believe.<br>><br>> Let us know if that helps.<br>><br>> On 10/15/06, Sven Meyer <<a href="mailto:Mongrel-users_RoR_develop@svenmeyer.com">
Mongrel-users_RoR_develop@svenmeyer.com</a>> wrote:<br>><br>>> I tried to install Rails + Mongrel on CentOS4.3 64Bit (my provider only has<br>>> the 64 Bit version available).<br>>> I found out, that I have to install gcc and emacs-common and have to copy
<br>>> the *.h files of the ruby source into a certain directory (see below).<br>>> But finally I get an error messag when I start mongrel and I have no idea<br>>> how to solve that problem:<br>>>
<br>>><br>>> wget<br>>> <a href="http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-1.8.4-1.c4.x86_64.rpm">http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-1.8.4-1.c4.x86_64.rpm</a><br>>> wget
<br>>> <a href="http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-docs-1.8.4-1.c4.x86_64.rpm">http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-docs-1.8.4-1.c4.x86_64.rpm</a><br>>> wget<br>>>
<a href="http://dev.centos.org/centos/4/testing/x86_64/RPMS/ri-1.8.4-1.c4.x86_64.rpm">http://dev.centos.org/centos/4/testing/x86_64/RPMS/ri-1.8.4-1.c4.x86_64.rpm</a><br>>> wget<br>>> <a href="http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-libs-1.8.4-1.c4.x86_64.rpm">
http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-libs-1.8.4-1.c4.x86_64.rpm</a><br>>> wget<br>>> <a href="http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-mode-1.8.4-1.c4.x86_64.rpm">http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-mode-1.8.4-1.c4.x86_64.rpm
</a><br>>> wget<br>>> <a href="http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-tcltk-1.8.4-1.c4.x86_64.rpm">http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-tcltk-1.8.4-1.c4.x86_64.rpm</a><br>>> wget
<br>>> <a href="http://dev.centos.org/centos/4/testing/x86_64/RPMS/irb-1.8.4-1.c4.x86_64.rpm">http://dev.centos.org/centos/4/testing/x86_64/RPMS/irb-1.8.4-1.c4.x86_64.rpm</a><br>>> wget<br>>> <a href="http://dev.centos.org/centos/4/testing/x86_64/RPMS/rdoc-1.8.4-1.c4.x86_64.rpm">
http://dev.centos.org/centos/4/testing/x86_64/RPMS/rdoc-1.8.4-1.c4.x86_64.rpm</a><br>>> wget<br>>> <a href="http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-devel-1.8.4-1.c4.x86_64.rpm">http://dev.centos.org/centos/4/testing/x86_64/RPMS/ruby-devel-1.8.4-1.c4.x86_64.rpm
</a><br>>><br>>> rpm -ivh ruby-libs-1.8.4-1.c4.x86_64.rpm<br>>> rpm -ivh ruby-1.8.4-1.c4.x86_64.rpm<br>>> rpm -ivh ruby-docs-1.8.4-1.c4.x86_64.rpm<br>>> rpm -ivh irb-1.8.4-1.c4.x86_64.rpm
<br>>> rpm -ivh rdoc-1.8.4-1.c4.x86_64.rpm<br>>> rpm -ivh ri-1.8.4-1.c4.x86_64.rpm<br>>> rpm -ivh ruby-tcltk-1.8.4-1.c4.x86_64.rpm<br>>><br>>> yum install emacs-common<br>>><br>>> ...
<br>>><br>>> Installing:<br>>> emacs-common x86_64 21.3-19.EL.4 base 9.7<br>>> M<br>>> ...<br>>><br>>> rpm -ivh ruby-mode-1.8.4-1.c4.x86_64.rpm
<br>>><br>>> wget<br>>> <a href="http://rubyforge.org/frs/download.php/11291/rubygems-0.9.0.tgz">http://rubyforge.org/frs/download.php/11291/rubygems-0.9.0.tgz</a><br>>><br>>> tar -xzvf rubygems-0.9.0.tgz
<br>>><br>>> cd rubygems-0.9.0<br>>><br>>> ruby setup.rb<br>>><br>>> yum install gcc<br>>><br>>> gem install rails --include-dependencies<br>>><br>>> gem update --system
<br>>> gem update rake<br>>> gem update rails<br>>><br>>><br>>> *************************************************<br>>><br>>> # gem install momgrel<br>>><br>>> 1. ...
<br>>><br>>> > 1<br>>> Install required dependency daemons? [Yn] Y<br>>> Install required dependency gem_plugin? [Yn] Y<br>>> Building native extensions. This could take a while...<br>
>> can't find header files for ruby.<br>>><br>>> ERROR: While executing gem ... (RuntimeError)<br>>> ERROR: Failed to build gem native extension.<br>>> Gem files will remain installed in
<br>>> /usr/lib64/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.13.4">0.3.13.4</a> for<br>>> inspection.<br>>><br>>><br>>> Results logged to<br>>> /usr/lib64/ruby/gems/1.8/gems/mongrel-
<a href="http://0.3.13.4/ext/http11/gem_make.out">0.3.13.4/ext/http11/gem_make.out</a><br>>><br>>> *******<br>>><br>>> If you encounter "can't find header files for ruby" problem, first download
<br>>> the ruby src from ruby-lang, then copy *.h especially ruby.h to the result<br>>> of<br>>> Config::CONFIG["archdir"](/usr/lib/ruby/1.8/i586-linux-gnu/<br>>> on my machine). Reinstall mongrel, then it's ok.
<br>>><br>>> <a href="http://www.befittr.com/blog/2006/09/09/configuring-ec2-rails-mongrel-apache-22-and-mysql-5/feed/">http://www.befittr.com/blog/2006/09/09/configuring-ec2-rails-mongrel-apache-22-and-mysql-5/feed/
</a><br>>><br>>> ***************************************************<br>>><br>>> because of the above error I'll grab and copy the *.h files of the ruby<br>>> source<br>>><br>>>
<a href="ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz">ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz</a><br>>><br>>> tar -xzvf ruby-1.8.4.tar.gz<br>>><br>>> cp ruby-1.8.4/*.h /usr/lib64/ruby/1.8/x86_64-linux
<br>>><br>>> gem install daemons gem_plugin mongrel mongrel_cluster<br>>> --include-dependencies<br>>><br>>><br>>><br>>> [rails@centos4364m test1]$ mongrel_rails start -p 8080<br>
>><br>>> /usr/lib64/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.13.4/lib/mongrel/rails.rb:38">0.3.13.4/lib/mongrel/rails.rb:38</a>:<br>>> uninitialized constant Mongrel::HttpHandler (NameError)<br>>> from
<br>>> /usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:27:in<br>>> `require'<br>>> from<br>>> /usr/lib64/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.13.4/bin/mongrel_rails:10">0.3.13.4/bin/mongrel_rails:10
</a><br>>> from /usr/bin/mongrel_rails:18<br>>><br>>><br>>><br>>><br>>> _______________________________________________<br>>> Mongrel-users mailing list<br>>> <a href="mailto:Mongrel-users@rubyforge.org">
Mongrel-users@rubyforge.org</a><br>>> <a href="http://rubyforge.org/mailman/listinfo/mongrel-users">http://rubyforge.org/mailman/listinfo/mongrel-users</a><br>>><br>>><br>>><br>><br>><br>>
<br><br>_______________________________________________<br>Mongrel-users mailing list<br><a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/mongrel-users">
http://rubyforge.org/mailman/listinfo/mongrel-users</a><br></blockquote></div><br><br clear="all"><br><br>