this solve yours problems:

install *openssl*:

    ./config --prefix=/usr/local --openssldir=/usr/local/ssl
    make
    make test
    make install  (as root)
    ./config shared --prefix=/usr/local --openssldir=/usr/local/ssl
    make clean
    make
    make install   (as root)
    cd /usr/local/ssl/lib
    cp * /usr/lib

To avoid getting the following error later when you compile OpenSSH:

    configure: error: Your *OpenSSL* headers do
    not match your library

copy all the SSL include files everywhere:

    cd /home/tjnelson/*openssl*/*openssl*-*
    cd include/*openssl*
    cp * /usr/include
    cp * /usr/local/ssl/include
    cp * /usr/local/ssl/include/*openssl*

and then add /usr/local/ssl/lib to /etc/ld.so.conf and type

    ldconfig

Then i returned to ruby-*/ext/*openssl* and ran:

ruby extconf.rb
make clean
make
make install


2009/12/20 Frederick Cheung <[email protected]>

>
>
> On Dec 17, 8:58 pm, Ro <[email protected]> wrote:
> ....
> >
> > Then I have successfully installed openssl (0.9.8) on a RedHat (i686)
> > but when I try to go in ruby/ext/openssl and make a
> >
> > ruby extconf.rb
> > make
> > make install
> >
> > He say things that I don't understand...
>
> Well you could try pasting the error messages here (at a guess you may
> not have the development headers for openssl (if you installed openssl
> via you distro's package management system there may be a separate
> openssl-dev package or something like that))
>
> Fred
> >
> > Any suggestion?
> > thanks in advance, really
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to