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> &lt;<a href="mailto:Mongrel-users_RoR_develop@svenmeyer.com">Mongrel-users_RoR_develop@svenmeyer.com</a>&gt; 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>&gt; I couldn't help but notice that you downloaded the ruby-devel package,<br>&gt; but didn't install it....<br>&gt;<br>&gt; unless you didn't include that line above....
<br>&gt;<br>&gt; This would include the development (header) files for you, I believe.<br>&gt;<br>&gt; Let us know if that helps.<br>&gt;<br>&gt; On 10/15/06, Sven Meyer &lt;<a href="mailto:Mongrel-users_RoR_develop@svenmeyer.com">
Mongrel-users_RoR_develop@svenmeyer.com</a>&gt; wrote:<br>&gt;<br>&gt;&gt;&nbsp;&nbsp;I tried to install Rails + Mongrel on CentOS4.3 64Bit (my provider only has<br>&gt;&gt; the 64 Bit version available).<br>&gt;&gt;&nbsp;&nbsp;I found out, that I have to install gcc and emacs-common and have to copy
<br>&gt;&gt; the *.h files of the ruby source into a certain directory (see below).<br>&gt;&gt;&nbsp;&nbsp;But finally I get an error messag when I start mongrel and I have no idea<br>&gt;&gt; how to solve that problem:<br>&gt;&gt;
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;wget<br>&gt;&gt; <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>&gt;&gt;&nbsp;&nbsp;wget
<br>&gt;&gt; <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>&gt;&gt;&nbsp;&nbsp;wget<br>&gt;&gt; 
<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>&gt;&gt;&nbsp;&nbsp;wget<br>&gt;&gt; <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>&gt;&gt;&nbsp;&nbsp;wget<br>&gt;&gt; <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>&gt;&gt;&nbsp;&nbsp;wget<br>&gt;&gt; <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>&gt;&gt;&nbsp;&nbsp;wget
<br>&gt;&gt; <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>&gt;&gt;&nbsp;&nbsp;wget<br>&gt;&gt; <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>&gt;&gt;&nbsp;&nbsp;wget<br>&gt;&gt; <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>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;rpm -ivh ruby-libs-1.8.4-1.c4.x86_64.rpm<br>&gt;&gt;&nbsp;&nbsp;rpm -ivh ruby-1.8.4-1.c4.x86_64.rpm<br>&gt;&gt;&nbsp;&nbsp;rpm -ivh ruby-docs-1.8.4-1.c4.x86_64.rpm<br>&gt;&gt;&nbsp;&nbsp;rpm -ivh irb-1.8.4-1.c4.x86_64.rpm
<br>&gt;&gt;&nbsp;&nbsp;rpm -ivh rdoc-1.8.4-1.c4.x86_64.rpm<br>&gt;&gt;&nbsp;&nbsp;rpm -ivh ri-1.8.4-1.c4.x86_64.rpm<br>&gt;&gt;&nbsp;&nbsp;rpm -ivh ruby-tcltk-1.8.4-1.c4.x86_64.rpm<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;yum install emacs-common<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;...
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;Installing:<br>&gt;&gt;&nbsp;&nbsp; emacs-common&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;x86_64&nbsp;&nbsp;&nbsp;&nbsp; 21.3-19.EL.4&nbsp;&nbsp;&nbsp;&nbsp; base&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;9.7<br>&gt;&gt; M<br>&gt;&gt;&nbsp;&nbsp;...<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;rpm -ivh ruby-mode-1.8.4-1.c4.x86_64.rpm
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;wget<br>&gt;&gt; <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>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;tar -xzvf rubygems-0.9.0.tgz
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;cd rubygems-0.9.0<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;ruby setup.rb<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;yum install gcc<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;gem install rails --include-dependencies<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;gem update --system
<br>&gt;&gt;&nbsp;&nbsp;gem update rake<br>&gt;&gt;&nbsp;&nbsp;gem update rails<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;*************************************************<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;# gem install momgrel<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;1. ...
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&gt; 1<br>&gt;&gt;&nbsp;&nbsp;Install required dependency daemons? [Yn]&nbsp;&nbsp;Y<br>&gt;&gt;&nbsp;&nbsp;Install required dependency gem_plugin? [Yn]&nbsp;&nbsp;Y<br>&gt;&gt;&nbsp;&nbsp;Building native extensions.&nbsp;&nbsp;This could take a while...<br>
&gt;&gt;&nbsp;&nbsp;can't find header files for ruby.<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;ERROR:&nbsp;&nbsp;While executing gem ... (RuntimeError)<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ERROR: Failed to build gem native extension.<br>&gt;&gt;&nbsp;&nbsp;Gem files will remain installed in
<br>&gt;&gt; /usr/lib64/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.13.4">0.3.13.4</a> for<br>&gt;&gt; inspection.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;Results logged to<br>&gt;&gt; /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>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;*******<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;If you encounter &quot;can't find header files for ruby&quot; problem, first download
<br>&gt;&gt;&nbsp;&nbsp;the ruby src from ruby-lang, then copy *.h especially ruby.h to the result<br>&gt;&gt; of<br>&gt;&gt; Config::CONFIG[&quot;archdir&quot;](/usr/lib/ruby/1.8/i586-linux-gnu/<br>&gt;&gt; on my machine). Reinstall mongrel, then it's ok.
<br>&gt;&gt;<br>&gt;&gt; <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>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;***************************************************<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;because of the above error I'll grab and copy the *.h files of the ruby<br>&gt;&gt; source<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;
<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>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;tar -xzvf ruby-1.8.4.tar.gz<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;cp ruby-1.8.4/*.h /usr/lib64/ruby/1.8/x86_64-linux
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;gem install daemons gem_plugin mongrel mongrel_cluster<br>&gt;&gt; --include-dependencies<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;[rails@centos4364m test1]$ mongrel_rails start -p 8080<br>
&gt;&gt;<br>&gt;&gt; /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>&gt;&gt; uninitialized constant Mongrel::HttpHandler (NameError)<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from
<br>&gt;&gt; /usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:27:in<br>&gt;&gt; `require'<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from<br>&gt;&gt; /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>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/bin/mongrel_rails:18<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Mongrel-users mailing list<br>&gt;&gt; <a href="mailto:Mongrel-users@rubyforge.org">
Mongrel-users@rubyforge.org</a><br>&gt;&gt; <a href="http://rubyforge.org/mailman/listinfo/mongrel-users">http://rubyforge.org/mailman/listinfo/mongrel-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;
<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>